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

toolchain: Enable bootstrapping into a different Forklift version #237

Open
ethanjli opened this issue Jun 13, 2024 · 0 comments
Open

toolchain: Enable bootstrapping into a different Forklift version #237

ethanjli opened this issue Jun 13, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@ethanjli
Copy link
Member

ethanjli commented Jun 13, 2024

Currently, the only way to run a specific version of Forklift is to manually download it. It would be nice if we could use a downloaded Forklift binary to download and switch into a different Forklift version. This way, we could perform in-place updates of the Forklift binary installed on a system. This would be analogous to how Go 1.21 added functionality to select a specific Go toolchain version, or to how Aqua's installer can bootstrap into a different version of Aqua. The implementation of this would probably be to make the Forklift CLI be able to act instead as a shim for another Forklift binary stored in /var/lib/forklift/bin or in ~/.local/share/forklift/bin; it would select the version to shim for by checking a config file (and also checking the Forklift version declared in the stage store and local pallet, if they exist), and it would attempt to automatically download the version if it's missing.

@ethanjli ethanjli added the enhancement New feature or request label Jun 13, 2024
@ethanjli ethanjli self-assigned this Jun 14, 2024
@ethanjli ethanjli changed the title Enable bootstrapping into a different Forklift version toolchain: Enable bootstrapping into a different Forklift version Jun 14, 2024
@ethanjli ethanjli added this to the Backlog milestone Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant