-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
CLI is not go install-able #1389
Comments
AFAIK, we are just focussing on being a command line program, and not a library/dependency/module for any external program, so |
@AliabbasMerchant just FYI I wasn't trying to use it as a library or dependency. Go get is a common way to download and install Go programs that are executed as a binary |
Oh. Okay 👍 |
The repo is already forked but there is another issue: cli/shurcooL-graphql@89ab2a8. The added I created a pull request to get this fixed as referenced above. Directly trying to push these kinds of changes upstream is already in progress, see: |
This issue prevents
Given that it looks like the |
@rogpeppe You are right; our upstream changes to graphql package are unlikely to get merged and we should hard-fork this dependency instead. |
It would be nice to be able to simply install it from
|
It seems like the origin of this problem might finally be solved and this can be rectified here after this gets merged: |
Linking threads, this now appears to be blocked on #4731. |
This issue should also be retitled to something like: "CLI is not go install-able" because the de facto means of installing a Go program outside of a module context is now:
(as mentioned in a couple of comments above) |
@myitcv I renamed the issue. Also, the only replace statement I see the crypto library which at this point should also be hard-forked as I think that would make for a much better experience. |
Great works, thanks all! |
This issue seems to be resolved/no longer valid: Tested on Fedora 40 via a task in Ansible:
Would you accept a small PR to document this installation method, even if marked as "officially unsupported"? |
Due to the
replace
clause in the go.mod file of this repository,go get
fails with the following errors:I highly recommend either removing this replace clause here either by contributing the changes upstream or forking the repo and changing the import path.
Thanks!
The text was updated successfully, but these errors were encountered: