sheerlox

sheerlox

If you’ve read me before, you know I’m an automation freak. I have a few posts already on the topic, including one about automating updates to the Elixir docker image with Renovate.

Since businesses are off for the holidays, I used the opportunity to power through some improvements I really felt were needed :tada:

Are any of you using Renovate or something similar, or even just enthusiastic about these kinds of automation? :eyes:

P.S. the draft PRs are ready to go as well, they’re just dependent on the previous ones.

Showing Posts 1 to 10

zachdaniel

zachdaniel

Creator of Ash

You may be interested in something that we’re doing with igniter! We have a drop in replacement for mix deps.update that allows packages to provide update scripts that can intelligently update the users code base to adapt to changes in libraries. For example: igniter/lib/mix/tasks/igniter.upgrade_igniter.ex at v0.5.3 · ash-project/igniter · GitHub

When coupled with something like renovate or dependabot, it’s wildly useful!

zachdaniel

zachdaniel

Creator of Ash

So if you do mix igniter.upgrade … it will also make the suggested changes from the library’s upgrade code. There is a tool to do it in ci where you can specify the old version and the new version directly, so one commit to update deps, and another commit for any updates from the old version and the new version.

We use it in Ash’s CI: ash/.github/workflows/ash-ci.yml at 718ea604a3d3c6851d061900458f45d7a3673f26 · ash-project/ash · GitHub

sheerlox

sheerlox OP

Definitely interested, this is great! I can’t believe you’re always working on something that interesting Zach :laughing:

I’ll be integrating it into my workflows, that’s going to make dependency management even easier. I assume it’s mainly used in Ash projects for now?

Found the “Limitations” section about committing, turns out I’m quite comfortable with the subject from working on Semantic Release, I’ll try to document my approach so we can integrate it in the docs if that can help.

zachdaniel

zachdaniel

Creator of Ash

Yes please! Someone else explained to me that it is possible, but I haven’t had the time to work it out and document it. At the moment Ash is the main user of igniter, but other libraries are adopting it as well, including a pretty large one that I will let make their own announcement about it :smiling_face_with_sunglasses:

mruoss

mruoss

Yes! I’m a big fan of renovate. And automation… Was waiting for lockfile maintenance for a while… :folded_hands:

sheerlox

sheerlox OP

mruoss

mruoss

I already got most repos equipped with renovate (e.g. GitHub - mruoss/kubereq: A Kubernetes Client for Elixir based on Req · GitHub) but I will compare the config, thanks.

BartOtten

BartOtten

I am super sure it will be Ecto with adapter and queries patching and we all go NoSQL in a wink of an eye. No doubt!

Renovate seems like a very interesting project! To bad I’m on a code free period :disappointed_face:

sheerlox

sheerlox OP

Don’t worry, it’ll still be around when you come back :grin: Enjoy the break!

sheerlox

sheerlox OP

The dependency type and range strategy PRs just got deployed to the Mend Renovate app! :rocket:

Here’s the update PR from the screenshot above:

Lockfile maintenance PR is still in review, unfortunately, but I’ll post here once it’s deployed as well :wink:

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