iainelder / dotfiles

Dotfiles and automagic set-up scripts for Linux flavours
https://victoria.dev/verbose/how-to-set-up-a-fresh-ubuntu-desktop-using-only-dotfiles-and-bash-scripts/
3 stars 0 forks source link

Fix Angle Grinder installer #9

Closed iainelder closed 1 week ago

iainelder commented 1 week ago

The installer started to fail on 2024-06-02.

See log from CI run.

++ curl -Ss https://api.github.com/repos/rcoh/angle-grinder/releases/latest
++ command curl --netrc -Ss https://api.github.com/repos/rcoh/angle-grinder/releases/latest
++ curl --netrc -Ss https://api.github.com/repos/rcoh/angle-grinder/releases/latest
++ jq -r '.assets[] | select(.name == "agrind-x86_64-unknown-linux-musl.tar.gz") | .browser_download_url'
+ browser_download_url=
++ curl --silent --show-error --url '' --location --remote-name --write-out '%{filename_effective}'
++ command curl --netrc --silent --show-error --url '' --location --remote-name --write-out '%{filename_effective}'
++ curl --netrc --silent --show-error --url '' --location --remote-name --write-out '%{filename_effective}'
curl: (23) Failed writing received data to disk/application
+ download_filename=
iainelder commented 1 week ago

The release marked latest no longer contains the "musl" variant of the Linux asset.

I created the installer script on 2024-08-30.

The newest release then was v0.19.2 from 2024-06-24. It has three Linux assets:

Today the newest release is v0.19.4 from 2024-06-01. It has two Linux assets:

The latest release is not the newest. It's v0.19.3 also from 2024-06-24. It has one Linux asset:

I don't know why I chose the "musl" variant over the "gnu" variant.

Maybe the easiest way to fix this is to use the "gnu" variant.

I may also report to the maintainer that the latest release is not the newest.

iainelder commented 1 week ago

Using the "gnu" variant fixes the CI.

Latest run.

iainelder commented 1 week ago

Asked about the releases in https://github.com/rcoh/angle-grinder/issues/207