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 diff --git a/Makefile b/Makefile index 9092fdd..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 @@ -15,5 +10,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 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 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"; 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/