-
Notifications
You must be signed in to change notification settings - Fork 37
allows clients to output manifest report to specified directory #91
Conversation
Codecov Report
@@ Coverage Diff @@
## main #91 +/- ##
==========================================
+ Coverage 72.88% 78.79% +5.91%
==========================================
Files 4 5 +1
Lines 295 382 +87
==========================================
+ Hits 215 301 +86
- Misses 80 81 +1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
- supports `detailed` flag when writing - organizes thumbnails in a directory named for the manifest in which it appears - updates manifest extension to `.json`
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good. I requested a couple of changes.
PS can add PSD and other ingredient types that will have different thumbnails formats than the ingredient. Also, if a PNG ingredient doesn't have transparency, we will use a jpeg thumbnail since it is smaller.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like your idea of simplifying things, so it would be nice to merge that, otherwise it looks good go.
…entauth/c2patool#91) * allows clients to output manifest report to specified directory * appeases clippy * implements feedback * supports `detailed` flag when writing * organizes thumbnails in a directory named for the manifest in which it appears * updates manifest extension to `.json` * accounts for thumbnail title having different extension from thumbnail data * simplifies add extension to ingredient thumbnail file name Co-authored-by: Dylan Ross <[email protected]>
Changes in this pull request
This PR allows clients to output the manifest report, including its various thumbnails, to a user specified directory on the file system. This will be especially useful for clients who want to extract the thumbnails from the manifest. Here's an example of the new functionality:
The above command will write the manifest and its thumbnail contents to the
report
directory. Here's an example of the output:I went back on forth on a few different ways to organize all the thumbnails. Let me know if you have any suggestions on the directory structure!
Checklist
TO DO
items (or similar) have been entered as GitHub issues and the link to that issue has been included in a comment.