Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

github: automatically update flake.lock every week #2458

Merged
merged 1 commit into from
Nov 3, 2023

Conversation

thoughtpolice
Copy link
Member

Summary: Keeping the flake.lock up to date and 'fresh' is nice for all the same reasons that apply to things like Cargo, Poetry, etc.

Unfortunately, dependabot doesn't have support for Nix flakes. There is also no mechanism to add 'out of band' updates through dependabot, at least not yet. Instead, we use the update-flake-lock action from Determinate Systems, which can paper over it for us.

This updates once a week on Sunday, which is pretty fine, I think.

A theoretical downside of this approach is that we can't group updates together like dependabot does; but dependabot only groups 'related' updates together, i.e. updates to Cargo dependencies. If it also detected updates for e.g. Poetry or Nix, it would make separate PRs for those.

Change-Id: I6f447deffc545da77fb320519abcf437

@thoughtpolice thoughtpolice self-assigned this Oct 28, 2023
@thoughtpolice thoughtpolice force-pushed the aseipp/push-lpzowppsnxks branch from c30f6c1 to 85a88f4 Compare October 28, 2023 17:34
thoughtpolice added a commit that referenced this pull request Oct 28, 2023
Summary: Hopefully #2458 will take over this job in the future.

Signed-off-by: Austin Seipp <[email protected]>
Change-Id: I68a85a5b73a896e16a6e32014022820a
thoughtpolice added a commit that referenced this pull request Oct 29, 2023
Summary: Hopefully #2458 will take over this job in the future.

Signed-off-by: Austin Seipp <[email protected]>
Change-Id: I68a85a5b73a896e16a6e32014022820a
Summary: Keeping the flake.lock up to date and 'fresh' is nice for
all the same reasons that apply to things like Cargo, Poetry, etc.

Unfortunately, dependabot doesn't have support for Nix flakes. There is also
no mechanism to add 'out of band' updates through dependabot, at least not yet.
Instead, we use the `update-flake-lock` action from Determinate Systems, which
can paper over it for us.

This updates once a week on Sunday, which is pretty fine, I think.

A theoretical downside of this approach is that we can't group updates together
like dependabot does; but dependabot only groups 'related' updates together,
i.e. updates to Cargo dependencies. If it also detected updates for e.g. Poetry
or Nix, it would make separate PRs for those.

Signed-off-by: Austin Seipp <[email protected]>
Change-Id: I6f447deffc545da77fb320519abcf437
@thoughtpolice thoughtpolice force-pushed the aseipp/push-lpzowppsnxks branch from 85a88f4 to 8eb9a03 Compare October 30, 2023 02:42
@thoughtpolice thoughtpolice merged commit c1b6f2c into main Nov 3, 2023
14 checks passed
@thoughtpolice thoughtpolice deleted the aseipp/push-lpzowppsnxks branch November 3, 2023 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants