Skip to content

Conversation

@alextrnnn
Copy link
Contributor

Changes in this pull request

Renames metadata to assertion_metadata to open up metadata for c2pa.metadata assertion and clarify confusion

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.

@alextrnnn alextrnnn requested review from gpeacock and ok-nick July 25, 2025 20:16
@alextrnnn alextrnnn marked this pull request as ready for review July 25, 2025 20:17
Copy link
Contributor

@ok-nick ok-nick left a comment

Choose a reason for hiding this comment

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

This makes sense to me if we plan to introduce a new Metadata assertion. If not this, and we plan to introduce a MetadataAssertion struct, then it would only make sense to suffix the other assertions with Assertion – which also might not be a bad idea.

Copy link
Collaborator

@gpeacock gpeacock left a comment

Choose a reason for hiding this comment

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

We have all the assertions in the assertions crate, so they are already prefixed with assertions::Actions &etc. The label for this is c2pa.assertion.metadata so it just makes sense to call it AssertionMetadata. I don't think the actual user impact of the change will be much, given all the other changes there are for v2.

@alextrnnn alextrnnn merged commit c6b6a59 into main Jul 30, 2025
36 checks passed
@alextrnnn alextrnnn deleted the alextrnnn/rename-metadata-assertion branch July 30, 2025 04:02
@caiopensrc caiopensrc mentioned this pull request Jul 30, 2025
@crandmck crandmck added the needs-doc Any change that affects user documentation label Jul 30, 2025
@caiopensrc caiopensrc mentioned this pull request Aug 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-doc Any change that affects user documentation safe to test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants