Skip to content

v1.11.1 - #78

Merged
acebmxer merged 4 commits into
mainfrom
dev
Oct 24, 2026
Merged

acebmxer merged 4 commits into
mainfrom
dev

Conversation

@acebmxer

Copy link
Copy Markdown
Owner

Summary

Release 1.11.1: under WSL 2, every run that changed something now offers to restart WSL at the end, so apps installed, updated or removed in the distro show in the Windows Start menu. Also corrects CONTRIBUTING.md, the README and the PR template to say pull requests target dev.

Type of change

  • New utility installer
  • New install profile
  • Bug fix (existing installer or TUI logic)
  • Enhancement to an existing installer
  • Tests
  • Documentation / shell completions
  • Other:

Checklist

  • This pull request targets the dev branch (not main)
  • bash tests/test_linux_util.sh passes with 0 failures
  • ShellCheck reports no errors (shellcheck -x linux_util.sh lib/**/.sh lib/installers/.sh)
  • New/changed installer handles all four distro families (debian, fedora|rhel, arch, suse) or has a *) fallback with a helpful message
  • Downloads are verified with verify_download / _verify_not_empty_or_html before installing
  • New utility name is added to completions/linux_util.bash and completions/_linux_util (if applicable)
  • register_utility / register_system_task line added to lib/installers.sh in alphabetical order (if applicable)
  • CHANGELOG.md has an entry under ## [Unreleased] (add it under ### Added / ### Changed / ### Fixed, creating the subsection if needed)
  • README.md utility table and UTILITY_DESCRIPTION updated (if a utility was added or renamed)
  • CONTRIBUTING.md guidelines followed (indentation, quoting, [[ ]], $(), info/warn/error for output)

Testing done

CI on dev: unit tests 443 passed, 0 failed, 2 skipped; ShellCheck -S error clean on the main script, lib/ and lib/installers/. The WSL restart offer was run on a Fedora 44 WSL 2 install (WSLg 1.0.79): a three-item run ending in Flatpak Setup offered the restart, Y restarted WSL, and the apps then showed in the Start menu. Other WSL distros were not run. Outside WSL the end-of-run prompt is unchanged (covered by unit tests).

Safe to merge: yes. Nothing changes outside WSL 2.
Upgrade needs: nothing.

Related issues

Fixes #76
Fixes #77

Under WSL 2, apps installed, updated or removed in the distro show up
correctly in the Windows Start menu only after WSL restarts. Previously
the end-of-run reboot offer only appeared for System Tasks, Docker and
Drivers.

- Extract reboot decision into _task_wants_reboot(); under WSL 2 any
  item that changed something now sets needs_reboot (exit code 3 still
  skips the prompt)
- Move _is_wsl2 from the Firecracker installer to _shared.sh so it can
  be reused, with an optional version-file argument for testing
- Use WSL-specific prompt and messages (restart WSL, 'wsl --shutdown')
- Add unit tests for _is_wsl2 and _task_wants_reboot (441 total)
- Require PRs to target dev: update CONTRIBUTING and PR template
- Update CHANGELOG and test count badge
Copilot AI balanced review requested due to automatic review settings October 24, 2026 03:38

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

Update unique cloners badge to 85 and unit test count to 443.
@acebmxer
acebmxer merged commit 250978f into main Oct 24, 2026
16 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

2 participants