!lZLfSUtSOVjwYTmPbU:nixos.org

nixpkgs-update

146 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.nix42 Servers

Load older messages


SenderMessageTime
10 Dec 2024
@zowoq:matrix.orgzowoq

https://nixpkgs-update-logs.nix-community.org/vimPluginsUpdater/

The bot has already picked up vimPluginsUpdater because it is python which has a default updateScript, need to change it so it uses itself as the updateScript and pass the update command. The bot is running other package updates in parallel so would be good to not saturate the connection to github. Because of ofborg problems updates have been slow for the last couple of months, once the backlog clears it'll be running every week, approximately.

23:53:56
@zowoq:matrix.orgzowoq
diff --git a/pkgs/applications/editors/vim/plugins/updater.nix b/pkgs/applications/editors/vim/plugins/updater.nix
index 41413a5b4c66..8f04ecc8f0dd 100644
--- a/pkgs/applications/editors/vim/plugins/updater.nix
+++ b/pkgs/applications/editors/vim/plugins/updater.nix
@@ -9,6 +9,9 @@
 
   # optional
   neovim-unwrapped,
+
+  writeShellScript,
+  vimPluginsUpdater,
 }:
 buildPythonApplication {
   pname = "vim-plugins-updater";
@@ -49,4 +52,9 @@ buildPythonApplication {
   '';
 
   meta.mainProgram = "vim-plugins-updater";
+
+  passthru.updateScript = writeShellScript "updateScript" ''
+    # don't saturate the update bot connection
+    ${lib.getExe vimPluginsUpdater} --proc 2 update
+  '';
 }
23:54:12
15 Dec 2024
@sersorrel:matrix.orgsorrel is there any way to examine how quickly nixpkgs-update is making its way through the queue? (e.g. "~N items are processed per day, so (say) fflogs at position 5269 will be processed in ~M days") 21:25:52
16 Dec 2024
@zowoq:matrix.orgzowoqNo, not at the moment. An approximate version of the queue is public, I'll probably get around to making it more accurate in the next few weeks, should be able to add "~N items are processed per day" at the same time. I don't think "will be processed in ~M days" is feasible, some days the bot may only process a few hundred updates, other days it will process thousands.00:22:55
@zowoq:matrix.orgzowoq * No, not at the moment. An approximate version of the queue is public, I'll probably get around to making it more accurate in the next few weeks, should be able to add "~N items are processed per day" at the same time (and show 48 hours and a week as well). I don't think "will be processed in ~M days" is feasible, some days the bot may only process a few hundred updates, other days it will process thousands.00:25:01
19 Dec 2024
@.symphonysimper:matrix.orgSymphonySimper joined the room.07:48:00
@.symphonysimper:matrix.orgSymphonySimper

Hello, I tried to use nixpkgs-update to update svelte-language-server from version 0.17.7 to 0.17.8. But I couldn't figure out why its not making commit of the changes.
I am not using hub, instead I have set GITHUB_TOKEN with token from gh auth token. And here is the log.

Thank you for your time!

08:00:02
@.symphonysimper:matrix.orgSymphonySimper *

Hello, I tried to use nixpkgs-update to update svelte-language-server from version 0.17.7 to 0.17.8(nixpkgs-update update "svelte-language-server 0.17.7 0.17.8" ). But I couldn't figure out why its not making commit of the changes.
I am not using hub, instead I have set GITHUB_TOKEN with token from gh auth token. And here is the log.

Thank you for your time!

08:05:31
@.symphonysimper:matrix.orgSymphonySimper changed their display name from symphonysimper to SymphonySimper.16:30:11
@perchun:matrix.orgPerchun Pak [don't ping; dm instead] why this update didn't work (there is a new version since april)? running locally nix-update python312Packages.eval-type-backport works
https://nixpkgs-update-logs.nix-community.org/python312Packages.eval-type-backport/2024-12-15.log
17:49:34
@perchun:matrix.orgPerchun Pak [don't ping; dm instead] *

why this update didn't work (there is a new version since april)? running locally nix-update python312Packages.eval-type-backport works
https://nixpkgs-update-logs.nix-community.org/python312Packages.eval-type-backport/2024-12-15.log

EDIT: looks like this update causes some build failures, weird that it is not displayed in the log

18:08:21
20 Dec 2024
@zowoq:matrix.orgzowoq Sorry, I don't know what the problem is. nixpkgs-update isn't particularly easy to set up or use, I'd suggest nix-shell maintainers/scripts/update.nix or nix-update instead. 04:47:20
@zowoq:matrix.orgzowoq Not sure why but the package updateScript thinks the current version is the newest version. 04:56:30
@.symphonysimper:matrix.orgSymphonySimperThanks a ton!, other methods do seem easy compared to nixpkgs-update.05:03:33
@.symphonysimper:matrix.orgSymphonySimper* Thanks a ton! other methods do seem easy compared to nixpkgs-update.05:03:43
@perchun:matrix.orgPerchun Pak [don't ping; dm instead]
In reply to @zowoq:matrix.org
Not sure why but the package updateScript thinks the current version is the newest version.
Isn't it a bug?
07:24:50
@zowoq:matrix.orgzowoqIt isn't a nixpkgs-update bug.09:27:36
22 Dec 2024
@dimitarnestorov:matrix.orgDimitar joined the room.04:58:13
23 Dec 2024
@xiaoxiangmoe:matrix.org🐰 xiaoxiangmoe joined the room.17:00:54
@xiaoxiangmoe:matrix.org🐰 xiaoxiangmoeIs there any way to trigger r-ryantm bot manually if I know some package has a update recently? 17:02:17
@zowoq:matrix.orgzowoqNo, it can't be triggered manually.22:20:35
24 Dec 2024
@xiaoxiangmoe:matrix.org🐰 xiaoxiangmoeWhat should I do if I known some package can update?18:07:32
@xiaoxiangmoe:matrix.org🐰 xiaoxiangmoe* What should I do if I know some package can update?18:08:38
@perchun:matrix.orgPerchun Pak [don't ping; dm instead]
In reply to @xiaoxiangmoe:matrix.org
What should I do if I know some package can update?
You can run its passthru.updateScript manually. Just look at what its value using repl
18:13:06
25 Dec 2024
@cathal_mullan:matrix.orgCathal joined the room.14:39:38
@xiaoxiangmoe:matrix.org🐰 xiaoxiangmoe It seems that nix-update-script will not update GIT_REVISION 15:57:14
@xiaoxiangmoe:matrix.org🐰 xiaoxiangmoeimage.png
Download image.png
15:58:09
@xiaoxiangmoe:matrix.org🐰 xiaoxiangmoeI need get GIT_REVISION in compile15:58:22
@xiaoxiangmoe:matrix.org🐰 xiaoxiangmoeHere16:02:45
@xiaoxiangmoe:matrix.org🐰 xiaoxiangmoe* Here is my pkg definition16:02:56

Show newer messages


Back to Room ListRoom Version: 9