Skip to content
New issue

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

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

Already on GitHub? # to your account

(MINOR) Create a ResourceStore for binary assets #180

Merged
merged 20 commits into from
Jan 31, 2023
Merged

Conversation

gpeacock
Copy link
Collaborator

Changes in this pull request

Create a ResourceStore for binary assets in Manifest and Ingredient
Converts Thumbnail fields to ResourceRef values
Direct support for serialize/ deserialize Manifest and Ingredient with JSON
Optionally read/write thumbnail and manifest files to folder for embed and
add Ingredient::from_file_with_resources and ManifestStore::from_file_with_resources
Deserialize ManifestStore to JSON and write all files to folder

Checklist

  • This PR represents a single feature, fix, or change.
  • All applicable changes have been documented.
  • Any TO DO items (or similar) have been entered as GitHub issues and the link to that issue has been included in a comment.

@codecov-commenter
Copy link

codecov-commenter commented Jan 19, 2023

Codecov Report

Merging #180 (41d4b6d) into main (aadbb32) will increase coverage by 0.43%.
The diff coverage is 95.07%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##             main     #180      +/-   ##
==========================================
+ Coverage   77.61%   78.04%   +0.43%     
==========================================
  Files          68       69       +1     
  Lines       16207    16689     +482     
==========================================
+ Hits        12579    13025     +446     
- Misses       3628     3664      +36     
Impacted Files Coverage Δ
sdk/src/lib.rs 100.00% <ø> (ø)
sdk/src/manifest_store_report.rs 81.96% <66.66%> (-0.27%) ⬇️
sdk/src/manifest_store.rs 92.85% <90.00%> (-0.48%) ⬇️
sdk/src/resource_store.rs 93.83% <93.83%> (ø)
sdk/src/ingredient.rs 90.04% <96.12%> (+0.44%) ⬆️
sdk/src/manifest.rs 89.73% <97.05%> (+0.27%) ⬆️
sdk/src/assertion.rs 78.46% <100.00%> (ø)
sdk/src/openssl/ec_signer.rs 86.61% <0.00%> (+1.40%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Collaborator

@mauricefisher64 mauricefisher64 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@gpeacock gpeacock merged commit 84c5528 into main Jan 31, 2023
@gpeacock gpeacock deleted the gpeacock/asset_store branch January 31, 2023 23:25
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants