Feature ideas and to dos - mcclatchy/mccelections GitHub Wiki

  • tests
  • writing exceptions that send errors to Slack instead of having things fail silently
  • fabfile for deployment
  • creating ways to execute CLI commands via the admin (e.g. download_elections and election_auto)
  • how to more efficiently bake and handle static files? just require front-end code to check S3 and, if not present, default to mccelections API? (Update 4/5/17: I have a solution for this already written, but it's too slow to use for sizeable elections. I recently devised a way to do this more efficiently.)
  • snapshot AP data to S3
  • update all file paths to relative references
  • update nginx CORS to accept a list of domains instead of a single domain
  • add admin support for relevant commands that must currently run on CLI
  • ingestion script for AP test calendar
  • progress indicator for archive loading (Update 4/5/17: won't be necessary after S3 baking is implemented)
  • upgrade to Django 1.10
  • upgrade to Python 3.X (requires changing to Django REST Framework? A good bit of DRF is already in the code, btu commented out)
  • upgrade to Ubuntu 16
  • better way of handling manual entry in admin (e.g. not needing to be sequential for steps 7 and 8) (we don't plan to use the admin because of the complexity involved and going forward we'll most likely only use the Google Sheet import method for manual entry)
  • better abstract pieces of XXXX_auto scripts and use **kwargs to pass in necessary vars