-
Couldn't load subscription status.
- Fork 100
feat: Store icon references into c2pa.icon assertions for v2 instead of using data_boxes. #1235
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
Conversation
…ison - Enhanced assertion array comparison to report reordering, additions, and removals separately - Added action array comparison for c2pa.actions assertions with same logic - Simplified identifier matching to use only 'label' field for assertions and 'action' field for actions - Both assertion and action comparisons now report: * 'Assertion/Action order changed' when items are reordered * 'Assertion/Action added/removed' when items are added or removed * Individual content changes within matched items - Improved path matching to properly detect actions arrays within assertions - Maintains detailed content comparison for matched items even when reordered
- Fixed duplicate val2.is_null() condition in compare_json_values - Ensured proper detection of content changes within matched assertions/actions - Hash values and other ignorable fields are properly ignored during comparison - Content changes in non-ignorable fields are correctly detected and reported
Update baseline v1
Update known good v2 baseline
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1235 +/- ##
==========================================
- Coverage 79.41% 79.26% -0.16%
==========================================
Files 148 148
Lines 41397 41534 +137
==========================================
+ Hits 32877 32923 +46
- Misses 8520 8611 +91 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
Looks good the only thing I'd say is that we make sure #1234 is merged before this one.
…of using data_boxes. (#1235) * Improve manifest comparison: better assertion and action array comparison - Enhanced assertion array comparison to report reordering, additions, and removals separately - Added action array comparison for c2pa.actions assertions with same logic - Simplified identifier matching to use only 'label' field for assertions and 'action' field for actions - Both assertion and action comparisons now report: * 'Assertion/Action order changed' when items are reordered * 'Assertion/Action added/removed' when items are added or removed * Individual content changes within matched items - Improved path matching to properly detect actions arrays within assertions - Maintains detailed content comparison for matched items even when reordered * Fix null comparison logic in manifest comparison - Fixed duplicate val2.is_null() condition in compare_json_values - Ensured proper detection of content changes within matched assertions/actions - Hash values and other ignorable fields are properly ignored during comparison - Content changes in non-ignorable fields are correctly detected and reported * fix: Enhance manifest comparison, Update baseline v1 * chore: save v1 json results separately * chore: change make_test_images default to v2 claims Update known good v2 baseline * chore: catch changes in remainder of jumbf urls * chore: clean up clippy errors * feat: generate icons as EmbededData assertions instead data_boxes
This is required for 2.2 compliance