Skip to content

Harden CI installs, check version copies, add portable settings - #27

Merged
NitroDiesel merged 1 commit into
mainfrom
maintenance
Nov 13, 2026
Merged

NitroDiesel merged 1 commit into
mainfrom
maintenance

Conversation

@NitroDiesel

Copy link
Copy Markdown
Owner

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.

  • CI installs apt packages through 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 check runs in CI and fails when any version copy or changelog entry disagrees with Cargo.toml. scripts/version.sh bump X.Y.Z rewrites the plain strings.
  • On Windows, a settings.conf beside rufust.exe is 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.
  • .gitattributes marks 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

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>
@NitroDiesel
NitroDiesel merged commit 931e75e into main Nov 13, 2026
11 checks passed
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.

1 participant