princemaple

princemaple

Elixir 1.14 is great!

However, the new release format seems to be causing trouble.

So far I’ve seen 2 tools that automate around the release assets.

  1. scoop (one of the package management tools on Windows) fails to install 1.14
    It tries to get checksum from the release note (now gone, moved into a release asset)
    It tries to download Precompiled.zip, which now changed to elixir-otp-23.zip, elixir-otp-24.zip, and elixir-otp-25.zip
    Main/bucket/elixir.json at master · ScoopInstaller/Main · GitHub

  2. Renovate (similar to dependabot) fails to update dependencies (when trying to install elixir 1.14)

    ⚠ Artifact update problem
    ....
    Command failed: docker run --rm --name=renovate_sidecar --label=renovate_child -v "/mnt/renovate/gh/princemaple/songri-desk":"/mnt/renovate/gh/princemaple/songri-desk" -v "/tmp/renovate-cache":"/tmp/renovate-cache" -v "/tmp/containerbase":"/tmp/containerbase" -e BUILDPACK_CACHE_DIR -w "/mnt/renovate/gh/princemaple/songri-desk" docker.io/renovate/sidecar bash -l -c "install-tool erlang 24.3.4.0 && install-tool elixir v1.14.0 && mix deps.update phoenix"
    curl: (22) The requested URL returned error: 404 
    Download failed: https://github.com/elixir-lang/elixir/releases/download/v1.14.0/Precompiled.zip
    

Showing Posts 1 to 8

webuhu

webuhu

For scoop you just need to change "url": "https://github.com/elixir-lang/elixir/releases/download/v1.14.0/elixir-otp-25.zip" upstream.

And the autoupdate should be something like:

"autoupdate": {
   "url": "https://github.com/elixir-lang/elixir/releases/download/v$version/elixir-otp-25.zip"
   "hash": {
      "url": "$baseurl/elixir-otp-25.zip.sha256sum"
    }
 }

For Renovate it’s probably also just changing the URL somewhere upstream?

princemaple

princemaple OP

I’m afraid changing that would cause previous versions not installable.

webuhu

webuhu

You’re right. I’ve missed the feature of installing different versions in scoop completely.
For this scenario I don’t have a solution for scoop beside having two manifests (latest, pre_v1.14).

princemaple

princemaple OP

Yup. That’s the one suggestion I got from scoop community. Was hoping we can have an aliased release asset, i.e. Precompiled.zip which is the same as lowest OTP version.

Like what elixir-ls has. Releases · elixir-lsp/elixir-ls · GitHub
elixir-ls.zip is the same as elixir-ls-1.11-22.3.zip

And maybe have the checksums back in the release notes, if that’s not too much…

webuhu

webuhu

That’s nothing I can answer.

princemaple

princemaple OP

:wink: was hoping someone from the core team would see this and agree with me.

princemaple

princemaple OP

Scoop is fixed now. @wingyplus fixed it by switching to builds published on repo.hex.pm

josevalim

josevalim

Creator of Elixir

Yes, please report upstream and suggest the repo.hex.pm URLs. :slight_smile:

— All posts loaded —

Where Next? Top

Trending in Discussions Top

AstonJ
As the title says, please share what you’ve been up to with Elixir. Whether that’s been learning it, looking into it, making stuff with i...
2977 92995 915
New
AstonJ
The obligatory hello world thread! Who are you and where are you from? :stuck_out_tongue:
4616 55835 594
New
caslu
I want to open this thread for you all to discuss and help those who really like Ash but are still hesitant to use it in a real project. ...
New
arcanemachine
I was working on an Ecto migration and I needed a timestamp. So, for the nth time, I looked up the different data types for timestamps, a...
New
alexslade
Fly’s CEO posted this recently - Turn And Face The Strange · The Fly Blog It says that Fly is going all-in on sprites, which is a worry ...
New
Herve37
We’re evaluating API mocking tools for OpenAPI-based projects and would love to hear what other teams are using. We’re particularly inte...
New
matt-savvy
Is there a word for the ~> symbol used in Version strings? Do you also just call it a Squiggle Arrow™ ?!
New

Other Trending Topics Top

garrison
Hobbes is a low-level distributed database for the Elixir programming language. Hobbes provides a simple, safe, and scalable storage lay...
New
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
wintermeyer
There are three potential reasons for members of this forum to have a look at https://vutuv.de You are tired or annoyed of LinkedIn. Yo...
New
webofbits
Aludel - LLM Evaluation Workbench Aludel is an embeddable Phoenix LiveView dashboard for evaluating and comparing LLM prompts across mult...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews