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

Support for enterprise use with all http calls through internal mirrors/caches #1574

Open
scr-oath opened this issue Jun 8, 2023 · 3 comments

Comments

@scr-oath
Copy link

scr-oath commented Jun 8, 2023

Is your feature request related to a problem? Please describe

It would be really great to support internal mirroring of the asdf plugins as well as the download of the tools so that an enterprise wishing to build things could not make any external requests beyond the mirrors.

Some of the ideas would be

  1. configuration - .asdfrc? some global location?
  2. mirroring - the ability to mirror all or parts of the plugins and tools
  3. ensuring that every download or query examines the mirror

Describe the proposed solution

  1. Add configuration to ~/.asdfrc or possibly a global location as well (when using docker images, would be nice to configure all access regardless of the user) that configures locations of mirror or mirrors for various pieces - plugins, tools
  2. Ensure that mirroring is possible and documented for an organization to either mirror regularly or "passthrough cache"

Describe similar asdf features and why they are not sufficient

I don't see similar features

Describe other workarounds you've considered

Possibly setting up a proxy of some sort could cache - like a squid proxy, but would require forcing asdf to use it.

@scr-oath scr-oath changed the title Support for enterprise mirroring Support for enterprise use with all http calls through internal mirrors/caches Jun 8, 2023
@sgtsquiggs
Copy link

sgtsquiggs commented Sep 5, 2023

👍

we'd love to see this work with artifactory

thinking about how to make that work - a modified asdf could download the binaries/archives for X,Y,Z platform/architecture and then mirror them to artifactory. the same modified asdf could allow for an artifactory (http/ftp/whatever) to be configured as mirrors for all things.

@janderssonse
Copy link

janderssonse commented Jan 29, 2024

Would Love to see this. it would allow asdf to reach developers in places which have strict security policies regarding origins, while pleasing any internal plat/sec-team

@scr-oath
Copy link
Author

Artifactory can have read through caches (easier than full-fledged mirror) so if asdf could have some config file that altered the URL, that could be enough

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

No branches or pull requests

3 participants