Compare commits
6 commits
Author | SHA1 | Date | |
---|---|---|---|
|
70fb07999e | ||
|
4200d89775 | ||
|
4d4b4acc55 | ||
|
3c1b2e1401 | ||
|
80dcedc5dc | ||
|
319a8bd1c0 |
8 changed files with 97 additions and 22 deletions
11
Jenkinsfile
vendored
Normal file
11
Jenkinsfile
vendored
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
pipeline {
|
||||||
|
agent none
|
||||||
|
stages {
|
||||||
|
stage('') {
|
||||||
|
steps {
|
||||||
|
sh '''echo Test
|
||||||
|
'''
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
7
Makefile
7
Makefile
|
@ -1,8 +1,3 @@
|
||||||
github:
|
|
||||||
git add .
|
|
||||||
git commit -a -m "automatic commit"
|
|
||||||
git push origin master
|
|
||||||
|
|
||||||
sense:
|
sense:
|
||||||
cat source/*.csv > temp/stage1-from-csv.csv
|
cat source/*.csv > temp/stage1-from-csv.csv
|
||||||
cat source/*.rem > temp/stage1.rem
|
cat source/*.rem > temp/stage1.rem
|
||||||
|
@ -15,5 +10,5 @@ sense:
|
||||||
# outputs
|
# outputs
|
||||||
perl scripts/csv2ikiwiki.pl temp/stage3.csv > output/events-ikiwiki.csv
|
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 -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
|
perl scripts/csv2rem.pl temp/stage3.csv > output/events.rem
|
||||||
|
|
|
@ -42,7 +42,7 @@ I also use remind here as processor for the html-calendar and for the ics.
|
||||||
Output
|
Output
|
||||||
======
|
======
|
||||||
* events-ikiwiki.csv, use it with events.mdwn in ikiwikis table directive https://ikiwiki.info/ikiwiki/directive/table/
|
* 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.ics, import it to your calendar
|
||||||
* events.html, a html calendar
|
* events.html, a html calendar
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,26 @@
|
||||||
#!/usr/bin/perl
|
#!/usr/bin/env perl
|
||||||
# CSV zu CSV für ikiwiki
|
#===============================================================================
|
||||||
# Version 1
|
#
|
||||||
|
# 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 strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
|
use utf8;
|
||||||
|
|
||||||
my $file = $ARGV[0] or die "Need to get CSV file on the command line\n";
|
my $file = $ARGV[0] or die "Need to get CSV file on the command line\n";
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,27 @@
|
||||||
#!/usr/bin/perl
|
#!/usr/bin/env perl
|
||||||
# CSV zu Remind mit HTML für Webseite
|
#===============================================================================
|
||||||
# Version 1
|
#
|
||||||
|
# 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 strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
|
use utf8;
|
||||||
|
|
||||||
use DateTime;
|
use DateTime;
|
||||||
|
|
||||||
my $file = $ARGV[0] or die "Need to get CSV file on the command line\n";
|
my $file = $ARGV[0] or die "Need to get CSV file on the command line\n";
|
||||||
|
|
|
@ -1,9 +1,27 @@
|
||||||
#!/usr/bin/perl
|
#!/usr/bin/env perl
|
||||||
# CSV zu Remind
|
#===============================================================================
|
||||||
# Version 1
|
#
|
||||||
|
# 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 strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
|
use utf8;
|
||||||
|
|
||||||
use DateTime;
|
use DateTime;
|
||||||
|
|
||||||
my $file = $ARGV[0] or die "Need to get CSV file on the command line\n";
|
my $file = $ARGV[0] or die "Need to get CSV file on the command line\n";
|
||||||
|
|
|
@ -1,10 +1,27 @@
|
||||||
#!/usr/bin/perl
|
#!/usr/bin/env perl
|
||||||
# CSV zu CSV für ikiwiki
|
#===============================================================================
|
||||||
# Version 1
|
#
|
||||||
|
# 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 strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
|
use utf8;
|
||||||
|
|
||||||
|
|
||||||
my $file = $ARGV[0] or die "Need to get CSV file on the command line\n";
|
my $file = $ARGV[0] or die "Need to get CSV file on the command line\n";
|
||||||
|
|
||||||
|
|
|
@ -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/
|
||||||
|
|
|
Loading…
Add table
Add a link
Reference in a new issue