!lZLfSUtSOVjwYTmPbU:nixos.org

nixpkgs-update

185 Members
Keeping nixpkgs up to date. r-ryantm bot. https://github.com/ryantm/nixpkgs-update and https://github.com/nix-community/infra/blob/master/build02/nixpkgs-update.nix57 Servers

Load older messages


SenderMessageTime
16 Sep 2024
@sasha:the-apothecary.clubSashanoraa.gay (she/her, ze/zir)nixpkgs-update keeps trying open PRs downgrading my package stargazer https://github.com/NixOS/nixpkgs/pull/34226913:11:54
@sasha:the-apothecary.clubSashanoraa.gay (she/her, ze/zir)I believe this is because 1.1.3 is technically the most recent release. However, it's a backport release. How do I make nixpkgs-update looks for updates with a larger semver version, not just one that's newer?13:13:41
@k900:0upti.meK900Just draft the PR13:17:35
@k900:0upti.meK900And it won't reopen13:17:38
@sandro:supersandro.deSandro 🐧there is also a comment you can apply to ignore it entirely if you like16:15:12
@silentlurker:matrix.orgsilentlurker joined the room.20:02:32
@sasha:the-apothecary.clubSashanoraa.gay (she/her, ze/zir)
In reply to @sandro:supersandro.de
there is also a comment you can apply to ignore it entirely if you like
I'd prefer if the bot did run but actually pick up the correct release.
21:21:42
@rick:matrix.ciphernetics.nlMindaviI think the scripts just look at the date, but see here: https://github.com/NixOS/nixpkgs/tree/master/pkgs/common-updater21:25:50
@rick:matrix.ciphernetics.nlMindaviMaybe there's a way to put in some feature for only considering semver upgrades, I've seen more PRs drafted due to being downgrades lately 21:26:30
@rick:matrix.ciphernetics.nlMindavihttps://nix-community.github.io/nixpkgs-update/nixpkgs-maintainer-faq/ Version not newer If Nix's builtins.compareVersions does not think the "new" version is newer, it will not update.21:28:37
@rick:matrix.ciphernetics.nlMindaviMaybe the builtin is broken, or the documentation outdated 21:29:01
17 Sep 2024
@sasha:the-apothecary.clubSashanoraa.gay (she/her, ze/zir)
In reply to @rick:matrix.ciphernetics.nl
https://nix-community.github.io/nixpkgs-update/nixpkgs-maintainer-faq/

Version not newer

If Nix's builtins.compareVersions does not think the "new" version is newer, it will not update.

builtins.compareVersions "1.1.3" "1.3.1" returns -1 indicating that 1.1.3 is older than 1.3.1. So that's not the problem.

13:18:46
@sasha:the-apothecary.clubSashanoraa.gay (she/her, ze/zir)This appears to be a nix-update bug https://github.com/Mic92/nix-update/issues/27113:22:48
@jfly:matrix.orgJeremy Fleischman (jfly) I'm confused: what's the relationship between nixpkgs-update and nix-update? They seem like 2 completely independent tools? 19:48:22
@gsaurel:laas.frGuilhem

If I understand correctly:

  • nix-update is a tool that takes a package inside nixpkgs and try to find a newer upstream version
  • nixpkgs-update a bot which run nix-update or other update scripts for you and open PR on nixpkgs
20:49:36
@tomherbers:matrix.orgTom (deprecated) joined the room.21:04:40
18 Sep 2024
@sandro:supersandro.deSandro 🐧
In reply to @sasha:the-apothecary.club
This appears to be a nix-update bug https://github.com/Mic92/nix-update/issues/271
"bug", more that upstream is not tagging things properly and nix-update does no semver comparison, so it could be more a feature request
09:23:13

There are no newer messages yet.


Back to Room ListRoom Version: 9