stale-engineer-10188
08/25/2022, 6:00 AMoryd/keto:v0.9.0-alpha.0
? The docs currently state go get <http://github.com/ory/keto/proto/ory/keto/acl/v1alpha1@v0.9.0-alpha.0|github.com/ory/keto/proto/ory/keto/acl/v1alpha1@v0.9.0-alpha.0>
but I couldn't get this to work. I did manage to get this working with rts "<http://github.com/ory/keto/proto/ory/keto/relation_tuples/v1alpha2|github.com/ory/keto/proto/ory/keto/relation_tuples/v1alpha2>"
, however this seems to struggle to install in our CI environment, using https://github.com/gomods/athens as a Go module proxy. We get the error go: <http://github.com/ory/keto/proto@v0.9.0-alpha.0.pre.0|github.com/ory/keto/proto@v0.9.0-alpha.0.pre.0>: reading <http://goproxy.internal.akl.inmusic.dev:3000/github.com/ory/keto/proto/@v/v0.9.0-alpha.0.pre.0.mod>: 404 Not Found
. I've only seen this before with retracted packages.
Keen to get some guidance here. Cheers!steep-lamp-91158
.pre.
are created during our release automation and deleted afterwards
you have to fix the version to be <http://github.com/ory/keto/proto@v0.9.0-alpha.0|github.com/ory/keto/proto@v0.9.0-alpha.0>
steep-lamp-91158
go get <http://github.com/ory/keto/proto/ory/keto/acl/v1alpha1@v0.9.0-alpha.0|github.com/ory/keto/proto/ory/keto/acl/v1alpha1@v0.9.0-alpha.0>
? we should update that one...stale-engineer-10188
08/25/2022, 7:56 AMstale-engineer-10188
08/25/2022, 7:58 AM<http://pkg.go.dev|pkg.go.dev>
FYI https://pkg.go.dev/github.com/ory/keto/proto@v0.9.0-alpha.0.pre.0/ory/keto/relation_tuples/v1alpha2?tab=versionsstale-engineer-10188
08/25/2022, 7:58 AMstale-engineer-10188
08/25/2022, 7:59 AMsteep-lamp-91158
steep-lamp-91158
v0.9.0-alpha.0
and import v1alpha2
stale-engineer-10188
08/25/2022, 8:04 AMpurple-energy-75954
08/26/2022, 9:50 AMgo get <http://github.com/ory/keto/proto@v0.9.0-alpha.0|github.com/ory/keto/proto@v0.9.0-alpha.0>
.
But after I did go mod tidy
, the version changed to <http://github.com/ory/keto/proto/ory/keto/acl/v1alpha1|github.com/ory/keto/proto/ory/keto/acl/v1alpha1> v0.0.0-20210616104402-80e043246cf9
.
How do I import v1alpha2
@steep-lamp-91158?steep-lamp-91158
purple-energy-75954
08/26/2022, 12:07 PMsteep-lamp-91158