Conversation
…ed v prefix
The downloadUrlTemplate had a hardcoded `v` prefix (`v${version}`) in the
release download path. This broke installations when the GitHub repository
used release tags without the `v` prefix (e.g., `18.3.0` instead of
`v18.3.0`), resulting in a 404 error on the constructed download URL.
Fix: Add a `github_get_tag_for_version` function that looks up the actual
release tag (preserving any `v` prefix or lack thereof), and use `${releaseTag}`
in the URL template instead of the hardcoded `v${version}`.
Affected features: atuin.sh (reported), btop, charmbracelet-gum, chezmoi.io,
jj-vcs.dev, opencode.ai, smallstep.com, starship.rs, zyedidia-eget, zellij.dev
Co-authored-by: sebst <592313+sebst@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix atuin installation in devcontainer configuration
fix: look up actual GitHub release tag instead of assuming Mar 16, 2026
v prefix in download URL
sebst
requested changes
Mar 16, 2026
Member
sebst
left a comment
There was a problem hiding this comment.
All of the affected features (atuin.sh, btop, charmbracelet-gum, chezmoi.io, jj-vcs.dev, opencode.ai, smallstep.com, starship.rs, zyedidia-eget, zellij.dev) need a version bump in their respective devcontainer-feature.json
…atures Co-authored-by: sebst <592313+sebst@users.noreply.github.com>
Contributor
Author
Done — bumped patch versions in all 10 affected
|
sebst
added a commit
that referenced
this pull request
Mar 16, 2026
…i, atuin.sh, and btop (#79) * Initial plan * fix: remove gettext-base/envsubst dependency from astral.sh-uv and opencode.ai Co-authored-by: sebst <592313+sebst@users.noreply.github.com> * fix: remove gettext-base/envsubst dependency from btop and atuin; fix btop URL format Co-authored-by: sebst <592313+sebst@users.noreply.github.com> * fix: sync asdf-vm.com with main branch updates (PRs #80-#83) Co-authored-by: sebst <592313+sebst@users.noreply.github.com> * fix: resolve merge conflicts - incorporate main's changes and remove envsubst dependency Co-authored-by: sebst <592313+sebst@users.noreply.github.com> * Update branch Co-authored-by: sebst <592313+sebst@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: sebst <592313+sebst@users.noreply.github.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.
Some GitHub releases use tags without a
vprefix (e.g.,18.3.0instead ofv18.3.0). All feature install scripts hardcodedv${version}in the download URL path, causing 404s when the actual tag had nov.Root cause
github_list_releasesstripsvfrom tags to return clean semver strings. The URL template then unconditionally re-adds it — correct when tags usev, broken when they don't.Changes
New
github_get_tag_for_versionfunction — queries the GitHub releases API and returns the actual tag name for a given version, preserving whatever prefix (or lack thereof) the project uses:URL template updated —
v${version}→${releaseTag}in the download path for all affected featuresError guard added — exits with a clear message if no matching tag is found (e.g., API unreachable or version doesn't exist)
Affected features
atuin.sh,btop,charmbracelet-gum,chezmoi.io,jj-vcs.dev,opencode.ai,smallstep.com,starship.rs,zyedidia-eget,zellij.devWarning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/repos/atuinsh/atuin/releases/usr/bin/curl curl -s REDACTED(http block)https://api.github.com/repos/atuinsh/atuin/releases/latest/usr/bin/curl curl -s --max-time 10 REDACTED(http block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
atuin#52🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.