-
Notifications
You must be signed in to change notification settings - Fork 502
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
Package up client libs without the entire monorepo #1237
Comments
not enough 👍 in the world for this |
It doesn't seem that there is way to achieve this while |
@ire-and-curses Could you elaborate on what you mean by:
Could you share what command you're running and what error/issue you're running into with go get and the repo? |
@leighmcculloch Thanks for taking this on! Basically: as a Go developer, I would like to be able to download and install the Go SDK libraries (
This gets me the entire monorepo, when really all I wanted was those two libraries. In a language like Python, you upload your library to a distribution server (e.g. Pypi). It gives you a way to clearly separate your released artifacts (and describe your dependencies expliclty) separately from your raw source tree. I'm not super-familiar with Go's packaging options, so this issue was a placeholder to look into what options might be possible to achieve something similar. |
This issue hasn't been very well updated which is on me. In 2019 I started work in #1767 to break up this repo into separate Go Modules, while retaining a single monorepo that holds the modules. That PR included scripts that would help us run all tests, linters, etc for all modules, since the standard Go commands unfortunately do not operate across multiple modules. The work in that PR was closed because of shifting priorities but I hope we can still pursue it. |
It would be great if users didn't have to download the whole monorepo just so they could use
horizonclient
andtxnbuild
. Also would be great if these libraries could be installed with standardgo get
.Look into ways to achieve this given our source control architecture.
The text was updated successfully, but these errors were encountered: