Skip to content

v1.2.0

Compare
Choose a tag to compare
@gordonje gordonje released this 07 Jul 17:10
· 478 commits to main since this release
  • Enhancements to tracking models
    • Zero pad datetime parts of the archive directory for better sorting
    • Calculate and store load_columns_count and load_records_count in the RawDataFile model.
    • Added error_count and error_log_archive fields to RawDataFile in order to track bad line parses during the cleancalaccessrawfile command.
    • Added download_file_size and clean_file_size fields to the RawDataFile model.
  • Enhancements to CAL-ACCESS models
    • Added "inactive" models group for CAL-ACCESS tables that are empty or apparently no longer in use.
    • Added a CalAccessMetaClass to automatically configure meta attributes common to all models.
    • Added a custom admin for every model.
    • Model verbose names are pre-fixed with model groups
    • Edits to model doc strings.
  • Enhancements to management commands
    • Added standard logging to the header, log and success methods.
    • Added a logger.info to the end of the updatecalaccessrawdata command to allow sending of emails when finished
    • Edits to command doc strings.
  • More tests
    • Test to confirm that any field included in a model's UNIQUE_KEY attribute actually exists on the model.
    • Test to confirm that every model has a custom admin.
    • Added flake8_docstrings plugin to the testing routine
    • New unittest modules providing 100% coverage to most of the app's components
  • Bug fixes
    • Fixed numbers in clean_records_count for the RawDataFile model.
    • Fixed line numbers logged in errors.csv files.
    • reportcalaccessrawdata now writes output to the data directory instead of REPO_DIR.
  • Distribution now packaged in wheel format