Skip to content

chore: store provenance asset info #975

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

Open
wants to merge 5 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
@benmss benmss force-pushed the 819-store-provenance-asset-info branch from ede14d0 to e708d81 Compare April 27, 2025 23:53
@benmss benmss linked an issue Apr 30, 2025 that may be closed by this pull request
@benmss benmss requested a review from behnazh-w May 19, 2025 02:34
benmss added 3 commits May 21, 2025 10:06
Signed-off-by: Ben Selwyn-Smith <benselwynsmith@googlemail.com>
Signed-off-by: Ben Selwyn-Smith <benselwynsmith@googlemail.com>
Signed-off-by: Ben Selwyn-Smith <benselwynsmith@googlemail.com>
@benmss benmss force-pushed the 819-store-provenance-asset-info branch from e708d81 to 25bf1c1 Compare May 21, 2025 00:11
benmss added 2 commits May 21, 2025 10:52
Signed-off-by: Ben Selwyn-Smith <benselwynsmith@googlemail.com>
Signed-off-by: Ben Selwyn-Smith <benselwynsmith@googlemail.com>
Copy link
Member

@behnazh-w behnazh-w left a comment

Choose a reason for hiding this comment

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

It would be good to add an integration test that checks the values stored in the Provenance and ProvenanceAvailableFacts tables.

if not provenance_info or not provenance_info.provenance_payload or inferred:
return CheckResultData(
result_tables=[
ProvenanceAvailableFacts(
Copy link
Member

Choose a reason for hiding this comment

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

Looks like we are not storing any useful info, so I think we can skip this? Or am I missing something here? 🤔

# for free to join this conversation on GitHub. Already have an account? # 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.

Store information about the provenance asset
2 participants