summary refs log tree commit diff
path: root/pkgs/common-updater/unstable-updater.nix
AgeCommit message (Collapse)AuthorFilesLines
2022-09-04unstableGitUpdater: fix inaccurate commentsAlyssa Ross1-2/+2
It used to use src.url, but when that was changed the comments weren't updated. Fixes: 7aae279ad9a ("unstableGitUpdater: fix updating fetchzip-based sources")
2022-05-24unstableGitUpdater: fix updating fetchzip-based sourcesJan Tojnar1-1/+1
a67950f20b97a293b2fefeecc349c6b785321e4b added `url` attribute from `fetchurl` and therefore also from `fetchzip`. We previously relied on `url` from fetchgit-based fetchers to find the repo URL but now it will just return tarballs in the case of `fetchFrom{GitHub,GitLab}`. Let’s add an attribute to `fetch{git,FromGitHub,FromGitLab}` to expose a repo URL consistently.
2022-02-18unstableGitUpdater: Allow using stable versionsJan Tojnar1-3/+36
It is important to keep the version as parsed by `builtins.parseDrvName` monotonic for packages that often switch between stable and unstable versions, for nix-env to be able to update them reliably. Let’s optionally use the version format described by RFC 107: https://github.com/NixOS/rfcs/pull/107 The downside is that it requires fetching more commits to be able to determine the latest tag.
2022-02-18unstableGitUpdater: Use single derivation for all branchesJan Tojnar1-5/+37
This will reduce the number of build when updating a large number of packages at the same time (e.g. when updating all packages of a maintainer).
2022-02-18unstableGitUpdater: Fix support for fetchFromGit{Hub,Lab}Jan Tojnar1-1/+1
When `fetchFromGitHub` uses `fetchzip` instead of `fetchgit` internally, which is the most common use case, there is no `src.url` attribute so the update will fail. Let’s fix that by falling back to `src.meta.homepage`, which these fetchers set to the repository URL.
2021-06-17unstable-updater.nix now understands a branch argumentAttila Lendvai1-2/+6
2021-01-25treewide: remove stdenv where not neededPavol Rusnak1-2/+1
2020-11-21unstableUpdater: initFrancesco Gazzetta1-0/+44