!lZLfSUtSOVjwYTmPbU:nixos.org

nixpkgs-update

93 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.nix32 Servers

Load older messages


SenderMessageTime
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
@sasha:the-apothecary.clubSashanoraa.gay (she/her, ze/zir)It is true that the latest release wasn't the most recent tag, but that's because I tagged the backport releases after the latest one.19:01:00
@sandro:supersandro.deSandro 🐧sounds like a limitation of there platform and nix-update needs semver sorting19:25:49
21 Sep 2024
@luna-null:matrix.orgAutumn joined the room.05:45:26
23 Sep 2024
@asymmetric:matrix.dapp.org.ukasymmetric

hey, i've deployed a bot that allows you to subscribe to build error notifications on matrix. it's at @nixpkgs-update-notify-bot:matrix.org. feel free to try it out by sending help, still beta quality so feel free to send bug reports my way :)

the code is at https://github.com/asymmetric/nixpkgs-update-notifier

11:20:48
@asymmetric:matrix.dapp.org.ukasymmetric *

hey, i've deployed a bot that allows you to subscribe to build error notifications on matrix. it's at @nixpkgs-update-notify-bot:matrix.org. feel free to try it out by sending help.

still beta quality so feel free to send bug reports my way :)

the code is at https://github.com/asymmetric/nixpkgs-update-notifier

11:21:07
@symphorien:xlumurb.eusymphorien
In reply to @asymmetric:matrix.dapp.org.uk

hey, i've deployed a bot that allows you to subscribe to build error notifications on matrix. it's at @nixpkgs-update-notify-bot:matrix.org. feel free to try it out by sending help.

still beta quality so feel free to send bug reports my way :)

the code is at https://github.com/asymmetric/nixpkgs-update-notifier

it's not answering me
14:34:15
@gsaurel:laas.frGuilhem symphorien: did you wait for it to join the room before asking help ? 14:37:05

Show newer messages


Back to Room ListRoom Version: 9