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

More user friendly output from filepack verify #78

Open
mebious-dev opened this issue Nov 10, 2024 · 3 comments
Open

More user friendly output from filepack verify #78

mebious-dev opened this issue Nov 10, 2024 · 3 comments

Comments

@mebious-dev
Copy link

Printing the manifest on successful verification doesn't provide much utility in communicating the output and can be extremely lengthy with larger directory trees.

A possible alternative is to print a summary listing the total number of hashed files, the number of verified files and (if verification has failed) a number of unverified files.

@casey
Copy link
Owner

casey commented Nov 11, 2024

--print is intended to both verify the manifest and print JSON so it can be used in a pipeline and guarantee that you're only using validated data:

$ filepack verify --print | some-other-function

That being said, I'd like to support more user friendly output for filepack verify, so I'll hijack this issue title to reflect that.

@casey casey changed the title Replace --print option for filepack verify with user-friendly output More user friendly output from filepack verify Nov 11, 2024
@mebious-dev
Copy link
Author

In the meantime additional documentation to clarify the usage of --print would be ideal, whether it is documented in man pages or in external documentation.

@casey
Copy link
Owner

casey commented Nov 17, 2024

Makes sense! Added some docs in #79.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants