]> Wikimedia Canada | Git repositories - eccc_to_commons.git/log
eccc_to_commons.git
4 years agoLicence change
Pierre Choffet [Thu, 5 Mar 2020 22:01:39 +0000 (17:01 -0500)]
Licence change

While in theory weather data is in canadian public domain due to they are no more than facts, ECCC has chosen to distribute them in OGL. Publishing as CC0 - especially for international distribution - would be illegal due to it has no attribution requirements. However, OGL is known to be compatible with CC BY 4.0 so have to stick with it for now.

4 years agoFix wikicode field name
Pierre Choffet [Wed, 4 Mar 2020 23:26:52 +0000 (18:26 -0500)]
Fix wikicode field name

4 years agoAdd script to perform the upload
Pierre Choffet [Thu, 6 Feb 2020 20:49:57 +0000 (15:49 -0500)]
Add script to perform the upload

It's a generic Mediawiki batch upload script that takes files in a directory (recursively) and uploads them in a Mediawiki while keeping their tree.

Also add login_password into .gitignore to actively prevent contributors to shoot themselves in the foot.

4 years agoAdd missing almanac to commons stylesheet
Pierre Choffet [Thu, 6 Feb 2020 20:25:09 +0000 (15:25 -0500)]
Add missing almanac to commons stylesheet

4 years agoSwitch from station id to climate id
Pierre Choffet [Tue, 4 Feb 2020 22:39:39 +0000 (17:39 -0500)]
Switch from station id to climate id

4 years agoAdd required scripts to generate almanac JSONs
Pierre Choffet [Fri, 24 Jan 2020 20:38:29 +0000 (15:38 -0500)]
Add required scripts to generate almanac JSONs

4 years agoFix indentation
Pierre Choffet [Fri, 24 Jan 2020 20:13:28 +0000 (15:13 -0500)]
Fix indentation

4 years agoAdd missing dependency
Pierre Choffet [Thu, 23 Jan 2020 22:17:56 +0000 (17:17 -0500)]
Add missing dependency

4 years agoComplete process from ECCC website to Commons files generation
Pierre Choffet [Wed, 22 Jan 2020 18:49:27 +0000 (13:49 -0500)]
Complete process from ECCC website to Commons files generation

4 years agoAdd transformation to fix ECCC XML files
Pierre Choffet [Wed, 23 Oct 2019 23:52:16 +0000 (19:52 -0400)]
Add transformation to fix ECCC XML files

The monthly files are provided with an error on the root element. The eccc_fixer.xslt fixes it so it can be validated before processing.