diff --git a/Jenkinsfile b/Jenkinsfile deleted file mode 100644 index 39b34da..0000000 --- a/Jenkinsfile +++ /dev/null @@ -1,11 +0,0 @@ -pipeline { - agent none - stages { - stage('') { - steps { - sh '''echo Test -''' - } - } - } -} \ No newline at end of file diff --git a/Makefile b/Makefile index 347486d..9092fdd 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,8 @@ +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 @@ -10,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 2018 | TZ=CEST HOSTNAME=foo perl ../rem2ics/rem2ics -do -norecur -usetag > output/events.ics + remind -s360 -irem2ics=1 temp/events-ics.rem 1 Jan 2014 | 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 59c0fff..ece1c82 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.rem, a basic remind-script with all events +* events-remind.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 8d04e34..148c1e7 100644 --- a/scripts/csv2ikiwiki.pl +++ b/scripts/csv2ikiwiki.pl @@ -1,26 +1,10 @@ -#!/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: --- -#=============================================================================== +#!/usr/bin/perl +# CSV zu CSV für ikiwiki +# Version 1 + 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 12416ea..16a1299 100644 --- a/scripts/csv2rem-html.pl +++ b/scripts/csv2rem-html.pl @@ -1,27 +1,9 @@ -#!/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: --- -#=============================================================================== +#!/usr/bin/perl +# CSV zu Remind mit HTML für Webseite +# Version 1 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 b8b7024..11de9ee 100644 --- a/scripts/csv2rem-ics.pl +++ b/scripts/csv2rem-ics.pl @@ -1,27 +1,9 @@ -#!/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: --- -#=============================================================================== +#!/usr/bin/perl +# CSV zu Remind +# Version 1 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 e536b9f..ecf41e5 100644 --- a/scripts/csv2rem.pl +++ b/scripts/csv2rem.pl @@ -1,27 +1,10 @@ -#!/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: --- -#=============================================================================== +#!/usr/bin/perl +# CSV zu CSV für ikiwiki +# Version 1 + 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 2b3099c..47fddcc 100644 --- a/source/example.csv +++ b/source/example.csv @@ -1 +1 @@ -10;6;2022;17;9;2022;dOCUMENTA;various;Kassel;Germany;http://www.documenta.de/ +10;6;2017;17;9;2017;dOCUMENTA;various;Kassel;Germany;http://www.documenta.de/