Repository navigation
Harden CI installs, check version copies, add portable settings - #27
Merged
Merged
Conversation
CI: retry apt installs when the Ubuntu mirror is unreachable and cap every job at 60 minutes, after a mirror outage failed or hung three Linux jobs. scripts/version.sh check, run in CI, fails when any of the hand-edited version copies disagrees with Cargo.toml; bump rewrites the plain strings. Windows: a settings.conf beside rufust.exe is used instead of %APPDATA%, so a portable copy can carry its preferences. .gitattributes keeps upstream's unchanged sources and the fixture generator out of GitHub's language statistics. Co-Authored-By: Claude <noreply@anthropic.com>
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.
A mirror outage on GitHub's Ubuntu runners failed or hung three Linux jobs on PR #25 for most of a day, a version bump means hand-editing eleven files with nothing checking them, and the Windows portable exe left its settings behind on each PC.
scripts/ci/apt-install.sh, which retries with backoff, and every job has a 60-minute timeout so a hung install cannot sit for hours.scripts/version.sh checkruns in CI and fails when any version copy or changelog entry disagrees withCargo.toml.scripts/version.sh bump X.Y.Zrewrites the plain strings.settings.confbesiderufust.exeis read and written instead of%APPDATA%\Rufust\settings.conf. Covered by a new test. It ships with the next release; there is no version bump here..gitattributesmarks upstream Rufus's unchanged sources and the test-fixture generator as vendored, so the language bar shows the project's own code.🤖 Generated with Claude Code