Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output reports for CLI operations #43

Closed
scossu opened this issue Apr 8, 2018 · 1 comment
Closed

Output reports for CLI operations #43

scossu opened this issue Apr 8, 2018 · 1 comment
Milestone

Comments

@scossu
Copy link
Owner

scossu commented Apr 8, 2018

Key Requirements

  • Direct relevant output to a specific report file for CLI operations that expect it, e.g. migration or integrity checks

Implementation

  • Create configuration option to specify an output file
  • If no output file is specified, a file with a default prefix and a unique serial number is used
  • Direct specific output to this file (e.g. by using a custom log level and handler)
  • Use a machine-parsable format for the output
  • Make this feature available for CLI operations expecting some sort of reporting: check_fixity (not yet implemented), check_refint, migrate.
    • N.B. stats may not need a report file since its output is predictably contained and may be more likely used for piping console output directly
@scossu scossu added this to the alpha.13 milestone Apr 8, 2018
@scossu
Copy link
Owner Author

scossu commented Apr 14, 2018

Report for check_refint only. migrate is not relevant enough.

@scossu scossu closed this as completed Apr 14, 2018
@scossu scossu mentioned this issue Apr 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant