From 319a8bd1c0717073628914d8b59999863c6870d0 Mon Sep 17 00:00:00 2001 From: TabTwo Date: Mon, 25 Aug 2014 20:21:35 +0200 Subject: [PATCH 1/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ece1c82..59c0fff 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ I also use remind here as processor for the html-calendar and for the ics. Output ====== * events-ikiwiki.csv, use it with events.mdwn in ikiwikis table directive https://ikiwiki.info/ikiwiki/directive/table/ -* events-remind.rem, a basic remind-script with all events +* events.rem, a basic remind-script with all events * events.ics, import it to your calendar * events.html, a html calendar From 80dcedc5dc96bd92849412babee566cf36169d6f Mon Sep 17 00:00:00 2001 From: "Ralph J.Mayer" Date: Fri, 5 Sep 2014 22:22:02 +0200 Subject: [PATCH 2/6] beautify perl headers --- scripts/csv2ikiwiki.pl | 24 ++++++++++++++++++++---- scripts/csv2rem-html.pl | 24 +++++++++++++++++++++--- scripts/csv2rem-ics.pl | 24 +++++++++++++++++++++--- scripts/csv2rem.pl | 25 +++++++++++++++++++++---- 4 files changed, 83 insertions(+), 14 deletions(-) diff --git a/scripts/csv2ikiwiki.pl b/scripts/csv2ikiwiki.pl index 148c1e7..8d04e34 100644 --- a/scripts/csv2ikiwiki.pl +++ b/scripts/csv2ikiwiki.pl @@ -1,10 +1,26 @@ -#!/usr/bin/perl -# CSV zu CSV für ikiwiki -# Version 1 - +#!/usr/bin/env perl +#=============================================================================== +# +# FILE: csv2ikiwiki.pl +# +# USAGE: ./csv2ikiwiki.pl +# +# DESCRIPTION: +# +# OPTIONS: --- +# REQUIREMENTS: --- +# BUGS: --- +# NOTES: --- +# AUTHOR: Ralph J.Mayer (rm), +# ORGANIZATION: +# VERSION: 1.0 +# CREATED: 05.09.2014 22:19:18 +# REVISION: --- +#=============================================================================== use strict; use warnings; +use utf8; my $file = $ARGV[0] or die "Need to get CSV file on the command line\n"; diff --git a/scripts/csv2rem-html.pl b/scripts/csv2rem-html.pl index 16a1299..12416ea 100644 --- a/scripts/csv2rem-html.pl +++ b/scripts/csv2rem-html.pl @@ -1,9 +1,27 @@ -#!/usr/bin/perl -# CSV zu Remind mit HTML für Webseite -# Version 1 +#!/usr/bin/env perl +#=============================================================================== +# +# FILE: csv2rem-html.pl +# +# USAGE: ./csv2rem-html.pl +# +# DESCRIPTION: +# +# OPTIONS: --- +# REQUIREMENTS: --- +# BUGS: --- +# NOTES: --- +# AUTHOR: Ralph J.Mayer (rm), +# ORGANIZATION: +# VERSION: 1.0 +# CREATED: 05.09.2014 22:20:20 +# REVISION: --- +#=============================================================================== use strict; use warnings; +use utf8; + use DateTime; my $file = $ARGV[0] or die "Need to get CSV file on the command line\n"; diff --git a/scripts/csv2rem-ics.pl b/scripts/csv2rem-ics.pl index 11de9ee..b8b7024 100644 --- a/scripts/csv2rem-ics.pl +++ b/scripts/csv2rem-ics.pl @@ -1,9 +1,27 @@ -#!/usr/bin/perl -# CSV zu Remind -# Version 1 +#!/usr/bin/env perl +#=============================================================================== +# +# FILE: csv2rem-ics.pl +# +# USAGE: ./csv2rem-ics.pl +# +# DESCRIPTION: +# +# OPTIONS: --- +# REQUIREMENTS: --- +# BUGS: --- +# NOTES: --- +# AUTHOR: Ralph J.Mayer (rm), +# ORGANIZATION: +# VERSION: 1.0 +# CREATED: 05.09.2014 22:20:45 +# REVISION: --- +#=============================================================================== use strict; use warnings; +use utf8; + use DateTime; my $file = $ARGV[0] or die "Need to get CSV file on the command line\n"; diff --git a/scripts/csv2rem.pl b/scripts/csv2rem.pl index ecf41e5..e536b9f 100644 --- a/scripts/csv2rem.pl +++ b/scripts/csv2rem.pl @@ -1,10 +1,27 @@ -#!/usr/bin/perl -# CSV zu CSV für ikiwiki -# Version 1 - +#!/usr/bin/env perl +#=============================================================================== +# +# FILE: csv2rem.pl +# +# USAGE: ./csv2rem.pl +# +# DESCRIPTION: +# +# OPTIONS: --- +# REQUIREMENTS: --- +# BUGS: --- +# NOTES: --- +# AUTHOR: Ralph J.Mayer (rm), +# ORGANIZATION: +# VERSION: 1.0 +# CREATED: 05.09.2014 22:21:15 +# REVISION: --- +#=============================================================================== use strict; use warnings; +use utf8; + my $file = $ARGV[0] or die "Need to get CSV file on the command line\n"; From 3c1b2e14017e00a1c28c3d80f455b3deab609f6b Mon Sep 17 00:00:00 2001 From: "Ralph J.Mayer" Date: Sun, 28 Jan 2018 16:38:12 +0100 Subject: [PATCH 3/6] Added Jenkinsfile --- Jenkinsfile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..39b34da --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,11 @@ +pipeline { + agent none + stages { + stage('') { + steps { + sh '''echo Test +''' + } + } + } +} \ No newline at end of file From 4d4b4acc55912df96873d845f90d50583863f14e Mon Sep 17 00:00:00 2001 From: "Ralph J.Mayer" Date: Thu, 1 Feb 2018 18:15:23 +0100 Subject: [PATCH 4/6] Change date --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9092fdd..2cea1c3 100644 --- a/Makefile +++ b/Makefile @@ -15,5 +15,5 @@ sense: # outputs perl scripts/csv2ikiwiki.pl temp/stage3.csv > output/events-ikiwiki.csv remind -m -p36 temp/events-html.rem | perl ../rem2html/rem2html --nomini --title Events > output/events.html - remind -s360 -irem2ics=1 temp/events-ics.rem 1 Jan 2014 | TZ=CEST HOSTNAME=foo perl ../rem2ics/rem2ics -do -norecur -usetag > output/events.ics + remind -s360 -irem2ics=1 temp/events-ics.rem 1 Jan 2018 | TZ=CEST HOSTNAME=foo perl ../rem2ics/rem2ics -do -norecur -usetag > output/events.ics perl scripts/csv2rem.pl temp/stage3.csv > output/events.rem From 4200d897750c10f9c3399d83f7fa0415d93abd78 Mon Sep 17 00:00:00 2001 From: "Ralph J.Mayer" Date: Thu, 1 Feb 2018 18:15:55 +0100 Subject: [PATCH 5/6] Update makefile --- Makefile | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Makefile b/Makefile index 2cea1c3..347486d 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,3 @@ -github: - git add . - git commit -a -m "automatic commit" - git push origin master - sense: cat source/*.csv > temp/stage1-from-csv.csv cat source/*.rem > temp/stage1.rem From 70fb07999ecb83608661d3f65c26b5a78e46dd7e Mon Sep 17 00:00:00 2001 From: "Ralph J.Mayer" Date: Thu, 1 Feb 2018 18:30:11 +0100 Subject: [PATCH 6/6] update dates --- source/example.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/example.csv b/source/example.csv index 47fddcc..2b3099c 100644 --- a/source/example.csv +++ b/source/example.csv @@ -1 +1 @@ -10;6;2017;17;9;2017;dOCUMENTA;various;Kassel;Germany;http://www.documenta.de/ +10;6;2022;17;9;2022;dOCUMENTA;various;Kassel;Germany;http://www.documenta.de/