Jonathan Golder
3a46ea8ddc
Add update frequenzy in days to job
Check against timestamp of latest file revision
6 years ago
Jonathan Golder
e874804591
Store current job in bot object
For not having to provide it for each dependend method as param
6 years ago
Jonathan Golder
776950d990
Use UploadRobot directly from pywikibot.specialbots
Remove unneccessary import roundtrip via pywikibot/scripts/upload
6 years ago
Jonathan Golder
93827e9f3b
Log if new input file is downloaded
6 years ago
Jonathan Golder
206917ed6d
Implement file upload
6 years ago
Jonathan Golder
b14c0fa3a7
Set correct mtime of zip file
Since we are writing the zip file with python, the original mdate, on
which is_zip_uptodate() relies gets lost. Therefore overwrite it with
value of "Last-Modified" HTTP header
6 years ago
Jonathan Golder
111fc38881
Filenames for gnuplot via env-vars
To not have hardcoded filenames in gnuplot script
https://wiki.ubuntuusers.de/Gnuplot/#Stapelverarbeitung-Zugriff-auf-Umgebungsvariablen
6 years ago
Jonathan Golder
5e7f718b45
gnuplot_scripts: Remove download of data
We do this in python script
6 years ago
Jonathan Golder
05b6a78bc0
gnuplot_scripts: Basic version obtained from wiki
Source https://commons.wikimedia.org/w/index.php?title=File:Euro_exchange_rate_to_TRY_-_Turkish_Currency_and_Debt_Crisis_2018.svg&oldid=320846888
6 years ago
Jonathan Golder
ad325a0afe
Implement basic gnuplot call
6 years ago
Jonathan Golder
d2aa47899a
First steps of job handling
6 years ago
Jonathan Golder
5dd52e3ac5
Implement download, extracting and update of data
Make sure we have always the most recent data version
6 years ago
Jonathan Golder
29c5d725f1
Add initialisation of working dir
6 years ago
Jonathan Golder
506400a528
Basic structure for jogobot bot
6 years ago
Jonathan Golder
e2f57dc670
Basic structure, init repo
6 years ago