Skip to content

fix(catalog): follow the difftastic and byobu release naming changes - #150

Merged
CybotTM merged 2 commits into
mainfrom
fix/byobu-difftastic-release-names
Sep 22, 2026
Merged

CybotTM merged 2 commits into
mainfrom
fix/byobu-difftastic-release-names

Conversation

@CybotTM

@CybotTM CybotTM commented Sep 21, 2026

Copy link
Copy Markdown
Member

Summary

After merge, difftastic and byobu can be upgraded again. Both upstreams changed their release naming, and each change broke one installer.

  • difftastic 0.71.0 names its assets difft-0.71.0-x86_64-unknown-linux-gnu.tar.gz. Up to 0.70.0 the name had no version (difft-x86_64-unknown-linux-gnu.tar.gz). The catalog URL template now includes {version}. Before this change the upgrade stopped with "Download failed".
  • Since the trustmux rename, byobu tags each release twice: 7.19 and trustmux-v7.19. The trustmux-v* tags and their release candidates fill the whole first page of the tags API, and the installer accepted only plain version tags. It stopped with "Invalid stable version: ". get_target_tag now accepts both forms and prefers the plain tag when the versions are equal. The archive URL uses the tag, and the version check uses the number. An explicit install_byobu.sh install 7.20 tries the plain tag first, then trustmux-v7.20.

Type of change

  • Bug fix (fix:)

Test plan

  • uv run pytest tests/ --ignore=tests/integration: 793 passed, 1 skipped
  • ./scripts/test_smoke.sh: exit 0
  • New byobu case with the real first page of tags (trustmux-v7.20rc5, trustmux-v7.19, …). It fails when the old tag filter is restored.
  • Manual: make upgrade-difftastic and make upgrade-byobu from this branch (results in a comment below)

Checklist

  • Conventional Commits
  • Commits signed
  • CHANGELOG.md updated

Assisted by claude-code:claude-opus-5 — Session

difftastic 0.71.0 names its release files difft-0.71.0-<arch>-...;
0.70.0 used difft-<arch>-.... The download URL template now includes
{version}, so the upgrade stopped failing with "Download failed".

byobu tags releases as trustmux-v7.19 as well as 7.19 since the
trustmux rename. The trustmux-v tags fill the first page of the tags
API, and the installer only accepted plain version tags, so it stopped
with "Invalid stable version: <none>". get_target_tag now accepts both
forms, prefers the plain tag for equal versions, and the archive URL
uses the tag while the version check uses the number.

Assisted-by: claude-code:claude-opus-5
Agent-Session: https://claude.ai/code/session_017qjwSFFBZpMj3uw5bPdrnD
Agent-Host: 0493f0
Signed-off-by: Sebastian Mendel <sebastian.mendel@netresearch.de>
Copilot AI lite review requested due to automatic review settings September 21, 2026 10:24
@coderabbitai

coderabbitai Bot commented Sep 21, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 24 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: b5a73e7c-8beb-4cce-b14b-4ae3e3a3e137

📥 Commits

Reviewing files that changed from the base of the PR and between 772d504 and b734c05.

📒 Files selected for processing (5)
  • CHANGELOG.md
  • catalog/difftastic.json
  • scripts/install_byobu.sh
  • tests/test_catalog_and_collectors.py
  • tests/test_install_gh_fallback.py

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@CybotTM

CybotTM commented Sep 21, 2026

Copy link
Copy Markdown
Member Author

Manual run from this branch: install_tool.sh difftastic update → before 0.70.0, after 0.71.0. install_tool.sh byobu update → downloaded archive/refs/tags/trustmux-v7.19.tar.gz, before 7.17, after 7.19. Both exit 0.

Copilot AI left a comment

Copy link
Copy Markdown

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 reached their quota limit.

@github-actions

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

Review findings:

- install_byobu.sh install 7.20 built the URL from the plain tag only.
  If a release exists only as trustmux-v7.20, the download failed; and
  "install trustmux-v7.19" failed the version check. The installer now
  strips the prefix for the version check, and for a plain version it
  tries the plain tag first, then trustmux-v<version>.
- difftastic asset_pattern is documented as a regex
  (docs/CATALOG_GUIDE.md); use difft-.*-x86_64-... instead of a
  {version} placeholder. No code reads the field today.

Assisted-by: claude-code:claude-opus-5
Agent-Session: https://claude.ai/code/session_017qjwSFFBZpMj3uw5bPdrnD
Agent-Host: 0493f0
Signed-off-by: Sebastian Mendel <sebastian.mendel@netresearch.de>
@sonarqubecloud

Copy link
Copy Markdown

Copilot AI left a comment

Copy link
Copy Markdown

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 reached their quota limit.

@CybotTM

CybotTM commented Sep 22, 2026

Copy link
Copy Markdown
Member Author

Self-review: b734c05

The bot review this pull request demands is unsatisfiable (Copilot quota wall or repeated bot failures on this head). The diff on this head was reviewed by the PR author; this comment is the on-the-record attestation the merge gate reads back. It stops matching on the next push.

@CybotTM
CybotTM merged commit f9ed4a3 into main Sep 22, 2026
25 of 26 checks passed
@CybotTM
CybotTM deleted the fix/byobu-difftastic-release-names branch September 22, 2026 06:05
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