Skip to content
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

Impossible to pin version (and install afterwards) via "tools.go trick" #2437

Closed
vdobler opened this issue Jan 11, 2024 · 2 comments
Closed

Comments

@vdobler
Copy link

vdobler commented Jan 11, 2024

We'd like to pin all our development tooling via the standard tools.go trick.
Unfortunately cmd/atlas seems to be deliberately set up to disallow pinning its
version via go get ariga.io/atlas/cmd/atlas@v0.17.0and installing it afterwards
via go install ariga.io/atlas/cmd/atlas. This is a major inconvenience for us
without any obvious underlying technical reason.

Could you just allow this normal and standard way of installing a tagged and
thus released version? We understand that you would like to have us download
your prepacked release via https://atlasgo.sh but this requires extra tooling and
extra network connectivity.

@a8m
Copy link
Member

a8m commented Jan 11, 2024

Hey @vdobler 👋

Thank you for your feedback. However, we no longer maintain the cmd/atlas package as an executable - mainly for technical and time reasons. Atlas is used by various programming languages, like Python and Java, and the binary we distribute includes additional capabilities.

This is a major inconvenience for us without any obvious underlying technical reason.

Our cmd/atlas package uses replace to avoid adding all cmd/atlas dependencies for projects that use the root package - ariga.io/atlas (e.g., entgo.io). There's no way to go get such packages - we previously used go.work for this purpose, but it introduced different pains, and I decided to remove it.

@a8m
Copy link
Member

a8m commented Jan 11, 2024

Closing, but feel free to join our Discord and send me a message in case you need additional help with this 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants