!lZLfSUtSOVjwYTmPbU:nixos.org

nixpkgs-update

84 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.nix29 Servers

Load older messages


SenderMessageTime
9 Sep 2024
@zoriot:tchncs.deZoriot left the room.13:47:53
@hexa:lossy.networkhexaI'm getting lots of duplicates in the last few weeks16:52:27
@hexa:lossy.networkhexa

python312Packages.sentry-sdk_2: 2.13.0 -> 2.14.0 #340812
python312Packages.sentry-sdk_2: 2.13.0 -> 2.14.0 #340817

16:52:55
@hexa:lossy.networkhexaand16:53:17
@hexa:lossy.networkhexa

ctranslate2: 4.3.1 -> 4.4.0 #340794
ctranslate2: 4.3.1 -> 4.4.0 #340795

16:53:31
@hexa:lossy.networkhexajust today16:53:32
@zowoq:matrix.orgzowoqThe bot checks for duplicates before it starts an update, looks like it would need to do another check before it opens a PR to catch those.23:47:50
10 Sep 2024
@hexa:lossy.networkhexathat explains it10:45:14
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.meK900 ⚡️Just draft the PR13:17:35
@k900:0upti.meK900 ⚡️And 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
@sasha:the-apothecary.clubSashanoraa.gay (she/her, ze/zir)
In reply to @sandro:supersandro.de
"bug", more that upstream is not tagging things properly and nix-update does no semver comparison, so it could be more a feature request
How is upstream not tagging things properly? In the case of Stargazer, I am upstream as well, so if I could be doing something better I'd like to know about it.
18:57:33
@sandro:supersandro.deSandro 🐧IIRC the project did tag a release as latest which wasn't really latest18:58:01
@sandro:supersandro.deSandro 🐧so I would think avoid mixing releases and tags, too18:58:21
@sasha:the-apothecary.clubSashanoraa.gay (she/her, ze/zir)I use Sourcehut which doesn't have "releases" like Github does18:58:58
@sasha:the-apothecary.clubSashanoraa.gay (she/her, ze/zir)I also don't think there's a way to specificy which release is the "latest". At least not that I'm aware of.18:59:31

Show newer messages


Back to Room ListRoom Version: 9