-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
import latest v2.7.0 argo version in go project #2602
Comments
We had a PR to fix this, #1375 ? Can you do go get github.com/argoproj/argo? |
But got
not v2.7.0 |
Referring to golang/go#35732.
It will get latest argo version.
not https://github.com/argoproj/argo/blob/master/go.mod#L1 |
Would you like to submit a PR to fix this ? |
@tcolgate FYI |
Yes, my previous PR fixes this, but it's a big change and is very invasive (also has implications for future v3 updates, and people should probably discuss if the related kube CRD resource version should be taken into consideration). |
It does't look possible to to migrate to Gomodules using v2 because you must either use "branch" or "subdirectory": https://stackoverflow.com/questions/53344471/taking-a-repository-to-v2 Both these solutions have downsides that mean we could not use them without making changes that are too time consuming and risky. Marking as "won't fix". I'd love to understand why Gomodules makes this impractical - or better still - someone show me I've misunderstood and there's a much easier way. |
@alexec Since the bug is not going to be fixed then the supported installation method becomes using Users could add the version number as a comment in the go.mod file to keep track of what version they are on as a workaround. That is likely what my company will end up doing for our projects since
or
|
I'd like to +1 that @blkperl, just spent a lot of time trying to figure out how to get the argo downloaded properly without a bunch of errors popping up (it kept fetching the 2.5 incompatible releases) |
I think we should document this. |
hey I know I'm running here very late but I think the problem that you guys ran into was that if you're opting into modules at a version later than major v0 or v1, you must release this as a new major version of the library. |
Ok. We cannot support Gomodules because awful. Instead, get the specific tag related:
Patch version? E.g. v2.11.1?
Minor version? E.g. v2.11
Major version. E.g. v2
|
Summary
How can I import latest argo in go project?
Motivation
Why do you need to know this, any examples or use cases you could include?
when I want import argo v2.7.0 in my project
But I got error
How to fix it?
The text was updated successfully, but these errors were encountered: