-
Notifications
You must be signed in to change notification settings - Fork 535
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
Add tags for go mod compatibility #456
Comments
@smarterclayton @mfojtik since you've recently touched this, are we planning to start doing it? I think that applies not only to our API but every other one as well (client-go, library-go, etc). |
IMHO this is a serious outstanding interoperability issue that requires urgent attention. Please tag. Thanks. |
+1 our old dependent builds are failing now:
|
Were tags used here before? |
It looks like the openshift/api project deleted all of their tags, so now the following error is thrown any time we run e.g. a `go mod tidy` in any project that depends on it: ``` go: github.com/openshift/api@v3.9.1-0.20190924102528-32369d4db2ad+incompatible: invalid pseudo-version: preceding tag (v3.9.0) not found ``` For this change, all I did was remove the entries in "require" and "replace" in the go.mod, and ran `go mod tidy`. See openshift/api#456 for more info on the issue.
It looks like the openshift/api project deleted all of their tags, so now the following error is thrown any time we run e.g. a `go mod tidy` in any project that depends on it: ``` go: github.com/openshift/api@v3.9.1-0.20190924102528-32369d4db2ad+incompatible: invalid pseudo-version: preceding tag (v3.9.0) not found ``` For this change, all I did was remove the entries in "require" and "replace" in the go.mod, manually added the new "replace" and ran `go mod tidy`. See openshift/api#456 for more info on the issue.
It looks like the openshift/api project deleted all of their tags, so now the following error is thrown any time we run e.g. a go mod tidy in any project that depends on it: ``` go: github.com/operator-framework/operator-sdk@v0.12.1-0.20191112211508-82fc57de5e5b requires github.com/operator-framework/operator-lifecycle-manager@v0.0.0-20190605231540-b8a4faf68e36 requires github.com/openshift/api@v3.9.1-0.20190424152011-77b8897ec79a+incompatible: invalid pseudo-version: preceding tag (v3.9.0) not found ``` For this change, all I did was set an override in the "replace" section of the go.mod, and ran `go mod tidy` (which changed a bunch of other things...). See openshift/api#456 for more info on the issue.
It looks like the openshift/api project deleted all of their tags, so now the following error is thrown any time we run e.g. a go mod tidy in any project that depends on it: ``` go: github.com/operator-framework/operator-sdk@v0.12.1-0.20191112211508-82fc57de5e5b requires github.com/operator-framework/operator-lifecycle-manager@v0.0.0-20190605231540-b8a4faf68e36 requires github.com/openshift/api@v3.9.1-0.20190424152011-77b8897ec79a+incompatible: invalid pseudo-version: preceding tag (v3.9.0) not found ``` For this change, all I did was set an override in the "replace" section of the go.mod, and ran `go mod tidy` (which changed a bunch of other things...). See openshift/api#456 for more info on the issue.
It looks like the openshift/api project deleted all of their tags, so now the following error is thrown any time we run e.g. a go mod tidy in any project that depends on it: ``` go: github.com/operator-framework/operator-sdk@v0.12.1-0.20191112211508-82fc57de5e5b requires github.com/operator-framework/operator-lifecycle-manager@v0.0.0-20190605231540-b8a4faf68e36 requires github.com/openshift/api@v3.9.1-0.20190424152011-77b8897ec79a+incompatible: invalid pseudo-version: preceding tag (v3.9.0) not found ``` For this change, all I did was set an override in the "replace" section of the go.mod, and ran go mod tidy (which changed a bunch of other things...). See openshift/api#456 for more info on the issue.
This also seems to be related: operator-framework/operator-sdk#2394 |
You can use:
To bump the openshift/api in your project. It will resolve to a commit and it is harder to track in go.mod. We are looking into automatic tagging for some repos, but it is not trivial as it might seem. |
@mfojtik adding the following to .bashrc also seems to work for the meanwhile |
Thanks folks! @HubertStefanski's workaround is sufficient for me for the moment, but @mfojtik's plan to have tags again in future sounds like a better eventual solution (some people may not be able to use proxy.golang.org for one reason or another). |
It looks like the openshift/api project deleted all of their tags, so now the following error is thrown any time we run e.g. a `go mod tidy` in any project that depends on it: ``` go: github.com/openshift/api@v3.9.1-0.20190924102528-32369d4db2ad+incompatible: invalid pseudo-version: preceding tag (v3.9.0) not found ``` For this change, all I did was remove the entries in "require" and "replace" in the go.mod, manually added the new "replace" and ran `make vendor`. See openshift/api#456 for more info on the issue.
It looks like the openshift/api project deleted all of their tags, so now the following error is thrown any time we run e.g. a `go mod tidy` in any project that depends on it: ``` go: github.com/openshift/api@v3.9.1-0.20190924102528-32369d4db2ad+incompatible: invalid pseudo-version: preceding tag (v3.9.0) not found ``` For this change, all I did was remove the entries in "require" and "replace" in the go.mod, manually added the new "replace" and ran `make vendor`. See openshift/api#456 for more info on the issue.
It looks like the openshift/api project deleted all of their tags, so now the following error is thrown any time we run e.g. a `go mod tidy` in any project that depends on it: ``` go: github.com/openshift/api@v3.9.1-0.20190924102528-32369d4db2ad+incompatible: invalid pseudo-version: preceding tag (v3.9.0) not found ``` For this change, all I did was remove the entries in "require" and "replace" in the go.mod, manually added the new "replace" and ran `make vendor`. See openshift/api#456 for more info on the issue.
The openshift/api project deleted their tags at some point, because of which we get the following error for go commands: ``` go: github.com/openshift/api@v3.9.1-0.20190924102528-32369d4db2ad+incompatible: invalid pseudo-version: preceding tag (v3.9.0) not found ``` There is at least one more project which is referencing the tag(Noobaa) which makes it harder to change the require line right now. Therefore, I have modified the requirement through a replace line. For more information refer to openshift/api#456 Signed-off-by: Raghavendra Talur <raghavendra.talur@gmail.com>
The openshift/api project deleted their tags at some point, because of which we get the following error for go commands: ``` go: github.com/openshift/api@v3.9.1-0.20190924102528-32369d4db2ad+incompatible: invalid pseudo-version: preceding tag (v3.9.0) not found ``` There is at least one more project which is referencing the tag(Noobaa) which makes it harder to change the require line right now. Therefore, I have modified the requirement through a replace line. For more information refer to openshift/api#456 Signed-off-by: Raghavendra Talur <raghavendra.talur@gmail.com>
The openshift/api project deleted their tags at some point, because of which we get the following error for go commands: ``` go: github.com/openshift/api@v3.9.1-0.20190924102528-32369d4db2ad+incompatible: invalid pseudo-version: preceding tag (v3.9.0) not found ``` There is at least one more project which is referencing the tag(Noobaa) which makes it harder to change the require line right now. Therefore, I have modified the requirement through a replace line. For more information refer to openshift/api#456 Signed-off-by: Raghavendra Talur <raghavendra.talur@gmail.com>
…owing error: ``` go: github.com/openshift/api@v3.9.1-0.20190924102528-32369d4db2ad+incompatible: invalid pseudo-version: preceding tag (v3.9.0) not found ``` See: [openshift/api#456|openshift/api#456]
The openshift/api project deleted their tags, and now we get the following error: ``` go: github.com/openshift/api@v3.9.1-0.20190924102528-32369d4db2ad+incompatible: invalid pseudo-version: preceding tag (v3.9.0) not found ``` See: [openshift/api#456|openshift/api#456]
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
Rotten issues close after 30d of inactivity. Reopen the issue by commenting /close |
@openshift-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
API does not have tags, only release branches.
Using tags is more friendly with
go mod
-based projects.fyi @openshift/api-reviewers @openshift/api-approvers
The text was updated successfully, but these errors were encountered: