diff --git a/scripts/README b/scripts/README new file mode 100644 index 0000000..b7bd405 --- /dev/null +++ b/scripts/README @@ -0,0 +1,6 @@ +This directory contains scripts that are (or were once) used to maintain the +database. Most of them will not work any more, since whatever they did was +already done. They're included here for reference, should something similar be +needed again. + +Make sure you know what you are doing when running these. diff --git a/scripts/add-bw-locations.py b/scripts/add-bw-locations.py index 5f031a0..4b38c86 100755 --- a/scripts/add-bw-locations.py +++ b/scripts/add-bw-locations.py @@ -1,4 +1,8 @@ #!/usr/bin/env python2 +""" +This is an unmaintained one-shot script, only included in the repo for +reference. +""" from codecs import open diff --git a/scripts/migration-i18n.py b/scripts/migration-i18n.py index 4c1f99c..724034f 100644 --- a/scripts/migration-i18n.py +++ b/scripts/migration-i18n.py @@ -9,6 +9,9 @@ Creates autoincrement-style IDs when missing Sets text language to 9 (en), except when it sets to 1 (jp) And looks good doing it! + +This is an unmaintained one-shot script, only included in the repo for +reference. """ import csv