asdf
asdf copied to clipboard
Support for enterprise use with all http calls through internal mirrors/caches
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
- configuration - .asdfrc? some global location?
- mirroring - the ability to mirror all or parts of the plugins and tools
- ensuring that every download or query examines the mirror
Describe the proposed solution
- Add configuration to
~/.asdfrcor 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 - 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.
👍
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.
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
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