summaryrefslogtreecommitdiffstats
path: root/python/fatcat_cleanup.py
Commit message (Collapse)AuthorAgeFilesLines
* lint (flake8) top-level python filesBryan Newbold2020-07-011-1/+3
|
* add missing sentry/raven tagsBryan Newbold2020-01-101-0/+6
| | | | | | Good to have exceptions tracked and stored even for commands run from the command line. But in particular the importer runs as a kafka worker and should be tracking excpetions.
* improve argparse usageBryan Newbold2019-12-111-4/+6
| | | | | | | | | | | | | | Use --fatcat-api-url instead of (ambiguous) --host-url for commands that aren't deployed/running via systemd. TODO: update the other --host-url usage, and either roll-out change consistently or support the old arg as an alias during cut-over Use argparse.ArgumentDefaultsHelpFormatter (thanks Martin!) Add help messages for all sub-commands, both as documentation and as a way to get argparse to print available commands in a more readable format.
* new cleanup python tool/frameworkBryan Newbold2019-10-081-0/+59