vendor: github.com/in-toto/in-toto-golang v0.5.0#3415
Conversation
|
Looks like fixes are needed somewhere to make sure BuildKit is compatible with their current release; |
|
@thaJeztah the culprit is that types been moved to a common subpackage https://pkg.go.dev/github.com/in-toto/in-toto-golang@v0.5.0/in_toto/slsa_provenance/common |
5396d12 to
eb42040
Compare
|
Thanks for digging, @errordeveloper ! I updated the PR; let's see if it's happy now 😅 |
switch to a tagged release. Also renamed the alias to slsa02 to match what the project itself uses. in-toto/in-toto-golang@fa494aa...v0.5.0 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
| slsacommon "github.com/in-toto/in-toto-golang/in_toto/slsa_provenance/common" | ||
| slsa "github.com/in-toto/in-toto-golang/in_toto/slsa_provenance/v0.2" |
There was a problem hiding this comment.
Looks like the project itself uses slsa02 as alias; let me update it here as well to stay consistent and prevent confusion.
eb42040 to
e83fc5c
Compare
|
🎉 looks like it's green now; I just pushed the last change to rename the aliases, but this should be good for review 👍 |
jedevc
left a comment
There was a problem hiding this comment.
Thanks @thaJeztah ❤️
PTAL @tonistiigi
| "strconv" | ||
|
|
||
| slsa "github.com/in-toto/in-toto-golang/in_toto/slsa_provenance/v0.2" | ||
| slsa02 "github.com/in-toto/in-toto-golang/in_toto/slsa_provenance/v0.2" |
There was a problem hiding this comment.
Why the prefix numbers? That is not the real pkg name anyway.
tonistiigi
left a comment
There was a problem hiding this comment.
Looks like vendor changes are only in comments. But not sure why we are making it less readable with the pkg name numbers.
@tonistiigi I picked that alias to match what they use in their repo #3415 (comment). Overall it's a bit weird to version packages like that within a module, but 🤷♂️ "github.com/in-toto/in-toto-golang/in_toto/slsa_provenance/common"
slsa01 "github.com/in-toto/in-toto-golang/in_toto/slsa_provenance/v0.1"
slsa02 "github.com/in-toto/in-toto-golang/in_toto/slsa_provenance/v0.2" |
|
@thaJeztah I can see how this is required when both versions are included but we never import v1 at all. |
|
Not saying I like the |
switch to a tagged release.
in-toto/in-toto-golang@fa494aa...v0.5.0