Skip to content

Support more configuration options/levers when building from source #25

@MetricMike

Description

@MetricMike

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions