Skip to content

Improve our automatic updates #469

@aldoborrero

Description

@aldoborrero

Context

No response

Description

Currently, we have our flake-inputs Github Action for updating the flake packages. We have discovered that the current solution is not great as each package may have different needs or update mechanisms while the current action only uses nix-update.

A better mechanism should be the introduction of passthru.updateScript and customizing, where necessary, how the package might want to update itself. This is the approach that nixpkgs currently uses, and ideally, we should explore a similar solution (if not using the same tooling).

So far, we should explore:

  • How we can integrate from nixpkgs both maintainers/{update.nix,update.py} scripts into this flake.
  • If not possible, adapt it to meet our needs.
  • Update our repository Github Actions to run effectively the update mechanism.

Before submitting

  • I have verified that my idea is a change request and not a bug report

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions