Repository navigation
chore: remove internal host names from scripts and comments - #5
Merged
Merged
Conversation
- scripts/set-env.sh and scripts/set-bot-token.sh take the env file path from TORO_AUTH_ENV and the compose service name from AUTH_SERVICE. Both are required and the scripts fail with a message when unset. - Comments, the README title, test temp directory names and the docker build example no longer use the internal name. - Crate name, binary name and Dockerfile artifact paths are unchanged.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
scripts/set-env.sh:TORO_AUTH_ENV(env file path) is now required (no default path).scripts/set-bot-token.sh:TORO_AUTH_ENVandAUTH_SERVICE(compose service name) are now required. Both fail with an explicit message when unset.CARGO_PKG_NAME(output unchanged).Operations note
Run the scripts with
TORO_AUTH_ENV=<path> AUTH_SERVICE=<service> ....Tests
cargo fmt, clippy, cargo test pass except two oauth timing tests (
login_continues_while_used_and_ends_after_idling,refreshing_keeps_the_grant_alive_without_other_use) that fail identically on unmodified main in a local Windows environment.