-
Notifications
You must be signed in to change notification settings - Fork 508
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
Use Athens as repository in private (offline) network #1506
Comments
@RonAmihai can you check out our documentation on pre-filling the disk cache and let me know if that will work for you? |
Thank you for this very helpful information. I'll give it a try in the next few days and share the results here |
@RonAmihai great. I'm going to leave this issue open for now 😄 |
Are there convenient alternatives to pacmod for this method? Pacmod doesn't seem to support packaging with all dependencies. (By the way, maybe Athens should have support for this case of uploading/deployment archive with many packages. I'll be happy to help in this section) |
Hi, So, my questions:
Thank you for a great project, we sure want to use it in our offline dev environment! |
There's a discussion going on about this in #1532 🙂
Currently |
Adding to @praseodym, in an untrusted environment that deals with private code, it would be ideal (in my opinion) if Athens could serve checksums for that private code. I don't know if there is such a thing as an untrusted environment that deals with private code, though. More importantly, it is impossible to have I think the docs at https://docs.gomods.io/configuration/sumdb/ describe what I'm talking about pretty clearly. That could be my bias though! So please let me know if something remains unclear by filing issues. |
@RonAmihai we threw a lot of information in this issue, so I'm wondering if your original question got drowned out. Can you let me know if things are still not working for you, and if you still have questions? |
I'm working in an offline environment which consists of private (offline) network.
I can bring packages (3rd party) which I've downloaded in an online machine (moving them to the offline network over USB media storage), but the machines in the offline network don't have direct access to the worldwide internet.
In Node/JavaScript project, I'm using [Verdaccio] (https://github.com/verdaccio/verdaccio) as private repository running in my private offline network.
In an online machine I'm downloading packages with it's dependencies using the npm-offline-packager tool, then moving the downloaded tarball files to my private offline network. Afterwards I'm using npm-offline-packager or npm-publish to publish the packages to my Verdaccio.
In Python projects, I don't have proxy/repository solution (like JFrog Artifactory), so what I'm doing is to download packages+dependencies online using the "pip download", than moving the files to our offline private network, than installing the files locally using "pip install --no-index --find-links <path_to_packages_folder>".
I'm looking for applying one of the above approaches with Go project.
In this case - Athens should act similarly to Verdaccio, and I need a tool to download Go packages with all of it's dependencies online, then moving files to the offline network and publish them to Athens in my offline private network.
Is this approach possible? Does there any tool that can download go packages+dependencies (even from a list of packages) online and than publish them to Athens in an offline environment?
The text was updated successfully, but these errors were encountered: