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

feat: support app-specific force install #1377

Merged
merged 5 commits into from
Aug 28, 2024
Merged

feat: support app-specific force install #1377

merged 5 commits into from
Aug 28, 2024

Conversation

mistydemeo
Copy link
Contributor

This supports a new app-specific force install environment variable. We use the app's name, uppercased and with - replaced by _. For example, if the app name is akaikatana-repack, the new force install environment variable becomes AKAIKATANA_REPACK_FORCE_INSTALL_DIR.

This supports the new variable alongside the old one. In the longterm, we could consider removing the old one after a transition period where both are supported.

An axolotlsay PR to use the new environment variable is here: axodotdev/axoupdater#169

refs #1375.

@mistydemeo mistydemeo requested a review from Gankra August 28, 2024 00:38
Copy link
Contributor

@Gankra Gankra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm increasingly feel like we should be computing this env-var up in rust code and passing it down... jinja and rust disagreeing is a spooky prospect -- also this way we can also shove it in a dist-manifest.json or something.

@mistydemeo mistydemeo force-pushed the alt_env_var_force branch 2 times, most recently from 981150e to 711faef Compare August 28, 2024 17:03
mistydemeo and others added 3 commits August 28, 2024 10:08
This supports a new app-specific force install environment variable.
We use the app's name, uppercased and with `-` replaced by `_`.
For example, if the app name is `akaikatana-repack`, the new force install
environment variable becomes `AKAIKATANA_REPACK_FORCE_INSTALL_DIR`.

This supports the new variable alongside the old one. In the longterm, we
could consider removing the old one after a transition period where both are
supported.

An axolotlsay PR to use the new environment variable is here:
axodotdev/axoupdater#169

refs #1375.
@mistydemeo mistydemeo force-pushed the alt_env_var_force branch 3 times, most recently from 80ccefc to e0b6b6a Compare August 28, 2024 18:15
@mistydemeo mistydemeo merged commit 6572c42 into main Aug 28, 2024
16 checks passed
@mistydemeo mistydemeo deleted the alt_env_var_force branch August 28, 2024 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants