asdf-awscli icon indicating copy to clipboard operation
asdf-awscli copied to clipboard

Support more configuration options/levers when building from source

Open MetricMike opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe.

Plugin currently hard codes most options when building from source. We can be friendlier by exposing these options to the plugin users, a la https://github.com/asdf-vm/asdf-nodejs#configuration

Describe the solution you'd like https://docs.aws.amazon.com/cli/latest/userguide/getting-started-source-install.html#source-getting-started-install-config

  • [ ] review all options available at ./configure --help
  • [ ] --with-download-deps
    • some users (especially in an airgapped setting) may want to bring their dependencies separately. with-download-deps should probably be the default though
  • [ ] --with-install-type=system-sandbox
    • this couples the installation to the python selected at build time, similar to the v1 bundled installers. It's super quick and lightweight, but will break often if the python updates frequently (like if it's the ASDF python). Maybe also include a warning if the python isn't "stable" / installed-from-yum/apt?

Out of scope, will not support options

  • --prefix --libdir --bindir
    • ASDF requires these to be set to specific locations so it doesn't make sense to expose them

MetricMike avatar May 01 '23 19:05 MetricMike