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
The obligatory hello world thread! Who are you and where are you from? :stuck_out_tongue:
4663 61218 595
New
cblavier
Hey there, It’s been more than a year since we started using LiveView as our main UI library and building a whole library of UI componen...
515 12931 101
New
wmnnd
Hey folks, I wanted to share with you a project I’ve been working on for a while: It’s an Open Source (AGPLv3) newsletter tool. Think Ma...
New
raa-ziq
Hi everyone :waving_hand: I wanted to share something I’ve been building — NowBlind, a random chat app designed to help people discover ...
New
sntran
In my third year of college, around 2010, I found Erlang. A few years later, I found Elixir. I liked the ideas at once: many small proces...
New
gtcode
I’ve been tinkering with Lynx (by José) via hold_ledger. I used AI to write the code, a separate specification, the tests, and the Lean p...
New
Ganna
Hi everyone, I have 8 years of production experience with Erlang/OTP and I’m just starting to get to know Elixir. What would you learn f...
New

Other Trending Topics Top

dominicletz
Hey there, I haven’t seen a list of useful Elixir specific skills for the popular AI tools yet so I’m starting one here with my first. ...
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
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
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
kip
Localize is the next generation localisation library for Elixir. Think of it as ex_cldr version 3.0. The first version will be released ...
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

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews