| Left: | ||
| Right: |
| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # update-copyright | |
| 2 | |
| 3 A script that opens each repo listed on [hg.adblockplus.org](https://hg.adblockp lus.org/) and updates the copyrights on each page to the current year. | |
| 4 | |
| 5 ## Usage | |
| 6 | |
| 7 Runs the deault script: | |
| 8 $ python3 update_copyright.py | |
| 9 | |
| 10 Specify which Mercurial URL site to scrape | |
| 11 $ python3 update_copyright.py -u https://hg.adblockplus.org/ | |
| 12 | |
| 13 Specify which Mercurial URL site to scrape and which remote repo to push to | |
| 14 $ python3 update_copyright.py -u https://hg.adblockplus.org/ -p ssh://hg@hg. adblockplus.org/ | |
| 15 | |
| 16 ## Testing | |
| 17 | |
| 18 The tests can be run via [Tox](http://tox.readthedocs.org/) | |
| OLD | NEW |