9 Sep 2024 |
zowoq | The 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 | that explains it | 10:45:14 |
16 Sep 2024 |
Sashanoraa.gay (she/her, ze/zir) | nixpkgs-update keeps trying open PRs downgrading my package stargazer https://github.com/NixOS/nixpkgs/pull/342269 | 13:11:54 |
Sashanoraa.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 | Just draft the PR | 13:17:35 |
K900 | And it won't reopen | 13:17:38 |
Sandro 🐧 | there is also a comment you can apply to ignore it entirely if you like | 16:15:12 |
| silentlurker joined the room. | 20:02:32 |
Sashanoraa.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 |
Mindavi | I think the scripts just look at the date, but see here: https://github.com/NixOS/nixpkgs/tree/master/pkgs/common-updater | 21:25:50 |
Mindavi | Maybe 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 |
Mindavi | 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. | 21:28:37 |
Mindavi | Maybe the builtin is broken, or the documentation outdated | 21:29:01 |
17 Sep 2024 |
Sashanoraa.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 |
Sashanoraa.gay (she/her, ze/zir) | This appears to be a nix-update bug https://github.com/Mic92/nix-update/issues/271 | 13:22:48 |
Jeremy 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 |
Guilhem | 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 |
| Tom (deprecated) joined the room. | 21:04:40 |
18 Sep 2024 |
Sandro 🐧 | 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 |
Sashanoraa.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 🐧 | IIRC the project did tag a release as latest which wasn't really latest | 18:58:01 |
Sandro 🐧 | so I would think avoid mixing releases and tags, too | 18:58:21 |
Sashanoraa.gay (she/her, ze/zir) | I use Sourcehut which doesn't have "releases" like Github does | 18:58:58 |
Sashanoraa.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 |
Sashanoraa.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 🐧 | sounds like a limitation of there platform and nix-update needs semver sorting | 19:25:49 |
21 Sep 2024 |
| luna-null joined the room. | 05:45:26 |
23 Sep 2024 |
asymmetric | 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 | * 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 | 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 |