Skip to content

Add manifest digest field to repo commit#1877

Merged
unmultimedio merged 2 commits intomainfrom
jfigueroa/bsr-1536-add-manifest-digest-field
Mar 3, 2023
Merged

Add manifest digest field to repo commit#1877
unmultimedio merged 2 commits intomainfrom
jfigueroa/bsr-1536-add-manifest-digest-field

Conversation

@unmultimedio
Copy link
Member

Represent new manifest digest content in a new proto field for repository commits.

// presented or cannot be classified into a known license.
string spdx_license_id = 10;
// The manifest digest of the commit. Populated via Tamper Proofing.
string manifest_digest = 11;
Copy link
Member

Choose a reason for hiding this comment

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

We should go ahead and mark digest as deprecated and we also will want to update module_resolver.go to use the manifest_digest as the digest when creating the ModulePin instead of the digest.

Copy link
Member Author

Choose a reason for hiding this comment

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

About the deprecation, I prefer to do that at the same time we mark as deprecated the old Push/Download rpcs. For now since everything is backwards compatible, no need for that additional warning.

For the module_resolver and other CLI code changes let's do in an upcoming PR? I'd like this to be schema change only.

@unmultimedio unmultimedio marked this pull request as ready for review March 3, 2023 14:20
@unmultimedio unmultimedio requested a review from twilly March 3, 2023 15:10
@unmultimedio unmultimedio merged commit c7d1770 into main Mar 3, 2023
@unmultimedio unmultimedio deleted the jfigueroa/bsr-1536-add-manifest-digest-field branch March 3, 2023 21:30
Monirul1 pushed a commit to Monirul1/buf that referenced this pull request Apr 30, 2023
Represent new manifest digest content in a new proto field for
repository commits.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants