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

budgie
A little off-topic, but I feel like people here have a good head on their shoulders. I used to be quite good at making software. Was luc...
New
juhalehtonen
There has been a thread to discuss the Stack Overflow Developer Survey on this forum every year since 2018, so here’s yet another one for...
New
axelson
Hi there! :wave: @frigidcode and I (but mostly him) have been running an Elixir Book club, we’re almost done with Designing Elixir Syste...
New
achempion
I’ve been using Emacs as my main code editor for more than a two years. It’s a custom build version although I’ve tried doom emacs and sp...
New
budgie
I love Elixir. It’s one of 2 programming languages I’ve ever fallen in love with. But I don’t use it anymore. Serverless was the promis...
New
jtormey
Lately I’ve been thinking about how to organize components as a LiveView application grows. One of the pain points I’ve found (for myself...
New
Null-logic-0
What IDE or editor are you using for Elixir development? Personally, I use Zed, and I really like it, but sometimes I wish there were a ...
New

Other Trending Topics Top

KristerV
Hey. Is there anyone here who creates agents in their apps? Not talking about using agents, but creating them. I’m finding it pretty diff...
New
mudasobwa
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
ausimian
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New
kip
In 2021 I started a new library called Tempo with the objective of modelling time as a set of intervals - not as instants. In 2022 I gave...
New
OndrejValenta
(I just needed to vent somewhere and LinkedIn is full of hope, or hype, I’m not sure which exactly) AI dream has many faces, but general...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews