!lZLfSUtSOVjwYTmPbU:nixos.org

nixpkgs-update

147 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
20 Nov 2024
@asymmetric:matrix.dapp.org.ukasymmetric
In reply to @zowoq:matrix.org
r-ryantm is fine but it is throttled because of the load on ofborg.
what's the relationship between r-ryantm and ofborg? like, why does high load on ofborg result in r-ryantm being throttled?
22:06:20
@asymmetric:matrix.dapp.org.ukasymmetricare they running on the same infra?22:06:57
21 Nov 2024
@zowoq:matrix.orgzowoqNo, they don't run on the same infra. It gets throttled to keep the PR eval queue wait time reasonable, unfortunately ofborg seems to be kinda broken at the moment and the eval queue just keeps getting worse. Ofborg is being replaced with github actions so hopefully won't need to throttle it. https://github.com/NixOS/nixpkgs/issues/35584702:18:11
@karlericsson:matrix.orgkarlericsson joined the room.10:27:01
22 Nov 2024
@numinit:matrix.orgMorgan (@numinit) joined the room.17:49:25
25 Nov 2024
@asymmetric:matrix.dapp.org.ukasymmetric looking at this, it seems like the package that's printed in the logs is [generic.nix](
https://github.com/NixOS/nixpkgs
/tree/master/pkgs/data/sgml+xml/schemas/xml-dtd/docbook/generic.nix) rather than [4.5.nix](
https://github.com/NixOS/nixpkgs
/tree/master/pkgs/data/sgml+xml/schemas/xml-dtd/docbook/4.5.nix), which imports it. is that a bug?
12:19:45
@asymmetric:matrix.dapp.org.ukasymmetric * looking at this, it seems like the package that's printed in the logs is generic.nix rather than [4.5.nix](
https://github.com/NixOS/nixpkgs/tree/master/pkgs/data/sgml+xml/schemas/xml-dtd/docbook/4.5.nix), which imports it. is that a bug?
12:20:08
@asymmetric:matrix.dapp.org.ukasymmetric * looking at this, it seems like the package that's printed in the logs is generic.nix rather than 4.5.nix, which imports it. is that a bug? 12:20:19
@asymmetric:matrix.dapp.org.ukasymmetric *

looking at this, it seems like the package that's printed in the logs is generic.nix rather than 4.5.nix, which imports it.

then nixpkgs-update can't find 4.5 in the package, and doesn't file an update PR to 5.1.

is that a bug?

12:20:58
26 Nov 2024
@zowoq:matrix.orgzowoq

It looks in generic.nix because of meta.position:

❯ EDITOR=echo nix edit -f. docbook_xml_dtd_45
/home/zowoq/src/nixpkgs/pkgs/data/sgml+xml/schemas/xml-dtd/docbook/generic.nix

doesn't file an update PR to 5.1.

Sorry, I don't understand this. If the bot did file that PR, wouldn't it be incorrect?

04:16:53
27 Nov 2024
@jopejoe1:matrix.orgjopejoe1 (4094@GPN23) changed their display name from jopejoe1 to jopejoe1 [4094].18:17:37
1 Dec 2024
@shawn8901:matrix.orgshawn8901 left the room.00:10:18
@shawn8901:matrix.orgshawn8901 joined the room.00:10:55
@codgician:matrix.codgician.mecodgician joined the room.08:33:26
2 Dec 2024
@pyrox:pyrox.devdish [Fox/It/She] changed their profile picture.19:59:30
8 Dec 2024
@asymmetric:matrix.dapp.org.ukasymmetric

yes i guess you're right it shouldn't file that pr, my bad

who/what sets meta.position? i couldn't find mention of it in meta.chapter.md or lib/meta.nix

16:33:32
@asymmetric:matrix.dapp.org.ukasymmetric one more thing: i get pinged for jitsi updates, even though i'm not a maintainer since this got merged. any idea why? 16:34:32
@shawn8901:matrix.orgshawn8901 set a profile picture.19:21:35
9 Dec 2024
@zowoq:matrix.orgzowoqIIRC it is set by mkDerivation. You were pinged by the bot when it opened the PR but not in the next comment when it updated the PR?00:17:49
@asymmetric:matrix.dapp.org.ukasymmetric ah sorry, i overlooked that the pr was created a long time ago, and only merged now. all good 09:49:49
10 Dec 2024
@perchun:matrix.orgPerchun Pak [don't ping; dm instead] joined the room.18:11:23
@perchun:matrix.orgPerchun Pak [don't ping; dm instead]

hey, we would want to automate updates of vimPlugins.*. we already have a script that does that and after https://github.com/NixOS/nixpkgs/pull/364001 it can be run by a bot

what would it take to run nix-build -A vimPluginsUpdater && ./result/bin/vim-plugins-updater update using r-ryantm every month?

18:15:39
@perchun:matrix.orgPerchun Pak [don't ping; dm instead](i am just asking for now)18:15:57
@perchun:matrix.orgPerchun Pak [don't ping; dm instead] *

hey, we would want to automate updates of vimPlugins.*. we already have a script that does that and it can be run by a bot

what would it take to run nix-build -A vimPluginsUpdater && ./result/bin/vim-plugins-updater update using r-ryantm every month?

19:09:56
@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

Show newer messages


Back to Room ListRoom Version: 9