Skip to content

chore: store provenance asset info #975

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

benmss
Copy link
Member

@benmss benmss commented Feb 3, 2025

This PR adds provenance asset info to the database alongside the provenance it identifies. This was previously removed during refactoring.

Closes #819

@benmss benmss self-assigned this Feb 3, 2025
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Feb 3, 2025
@benmss benmss marked this pull request as ready for review February 4, 2025 00:16
@benmss benmss force-pushed the 819-store-provenance-asset-info branch from 7ced4d8 to 03ae1b2 Compare March 12, 2025 01:17
@benmss benmss changed the base branch from staging to main April 8, 2025 06:39
@benmss benmss force-pushed the 819-store-provenance-asset-info branch from 03ae1b2 to ede14d0 Compare April 8, 2025 07:13

#: The URL of the provenance asset.
provenance_asset_url: Mapped[str] = mapped_column(String, nullable=True)

Copy link
Member

Choose a reason for hiding this comment

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

Since you are adding these two columns, I was thinking to revisit this ORM mapping. Do you think

    #: The release tag commit sha.
    release_commit_sha: Mapped[str] = mapped_column(String, nullable=True)
    #: The release tag.
    release_tag: Mapped[str] = mapped_column(String, nullable=True)

could be redundant since the commit_sha: Mapped[str] = mapped_column(String, nullable=True) should be the same as release tag?

benmss added 3 commits April 28, 2025 09:50
Signed-off-by: Ben Selwyn-Smith <[email protected]>
Signed-off-by: Ben Selwyn-Smith <[email protected]>
@benmss benmss force-pushed the 819-store-provenance-asset-info branch from ede14d0 to e708d81 Compare April 27, 2025 23:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants