2 Aug 2024 |
asymmetric | In reply to @hexa:lossy.network better yet, the url to the project repo π * but naming is so hard π nixpkgs-update-notify-bot? nun (nixpkgs-update-notifier)? π
| 07:38:56 |
shawn8901 | Is there a way how to disable r-ryantm to update a specific package? I was trying to disable vmagent for being updated (as we build it out of VictoriaMetrics package via override). I was trying to add # nixpkgs-update: no auto update being added as comment. https://github.com/r-ryantm/nixpkgs/blob/a9e94032782cc6f89c5fabcf5d9433b45578cad1/pkgs/by-name/vm/vmagent/package.nix#L5 Thus it did still create a PR ( https://github.com/NixOS/nixpkgs/pull/331673 ). I would have assumed that I would just create a PR for VictoriaMetrics now, does somebody know what is wrong? | 10:40:08 |
shawn8901 | * Is there a way how to disable r-ryantm to update a specific package if it's build out of another? I was trying to disable vmagent for being updated (as we build it out of VictoriaMetrics package via override). I was trying to add # nixpkgs-update: no auto update being added as comment. https://github.com/r-ryantm/nixpkgs/blob/a9e94032782cc6f89c5fabcf5d9433b45578cad1/pkgs/by-name/vm/vmagent/package.nix#L5 Thus it did still create a PR ( https://github.com/NixOS/nixpkgs/pull/331673 ). I would have assumed that I would just create a PR for VictoriaMetrics now, does somebody know what is wrong? | 10:46:37 |
Mindavi | In reply to @asymmetric:matrix.dapp.org.uk but naming is so hard π nixpkgs-update-notify-bot? nun (nixpkgs-update-notifier)? π
I like nixpkgs-update-notifier | 13:52:12 |
asymmetric | In reply to @hexa:lossy.network better yet, the url to the project repo π done | 14:06:52 |
hexa | π | 14:07:07 |
3 Aug 2024 |
zowoq | In reply to @shawn8901:matrix.org
Is there a way how to disable r-ryantm to update a specific package if it's build out of another? I was trying to disable vmagent for being updated (as we build it out of VictoriaMetrics package via override). I was trying to add # nixpkgs-update: no auto update being added as comment. https://github.com/r-ryantm/nixpkgs/blob/a9e94032782cc6f89c5fabcf5d9433b45578cad1/pkgs/by-name/vm/vmagent/package.nix#L5 Thus it did still create a PR ( https://github.com/NixOS/nixpkgs/pull/331673 ). I would have assumed that I would just create a PR for VictoriaMetrics now, does somebody know what is wrong? If you want the comment to work need to fix meta.position:
β― nix eval -f. vmagent.meta.position
"/Users/zowoq/src/nixpkgs/pkgs/by-name/vi/victoriametrics/package.nix:87"
diff --git a/pkgs/by-name/vm/vmagent/package.nix b/pkgs/by-name/vm/vmagent/package.nix
index f31526026319..612144762d6f 100644
--- a/pkgs/by-name/vm/vmagent/package.nix
+++ b/pkgs/by-name/vm/vmagent/package.nix
@@ -3,7 +3,7 @@
# This package is build out of the victoriametrics package.
# so no separat update prs are needed for vmagent
# nixpkgs-update: no auto update
-lib.addMetaAttrs { mainProgram = "vmagent"; } (
+lib.addMetaAttrs { mainProgram = "vmagent"; position = toString ./package.nix + ":1"; } (
victoriametrics.override {
withServer = false;
withVictoriaLogs = false;
β― nix eval -f. vmagent.meta.position
"/Users/zowoq/src/nixpkgs/pkgs/by-name/vm/vmagent/package.nix:1"
Could add it to the skiplist instead: https://github.com/nix-community/nixpkgs-update/blob/main/src/Skiplist.hs
| 05:36:45 |
shawn8901 | In reply to @zowoq:matrix.org
If you want the comment to work need to fix meta.position:
β― nix eval -f. vmagent.meta.position
"/Users/zowoq/src/nixpkgs/pkgs/by-name/vi/victoriametrics/package.nix:87"
diff --git a/pkgs/by-name/vm/vmagent/package.nix b/pkgs/by-name/vm/vmagent/package.nix
index f31526026319..612144762d6f 100644
--- a/pkgs/by-name/vm/vmagent/package.nix
+++ b/pkgs/by-name/vm/vmagent/package.nix
@@ -3,7 +3,7 @@
# This package is build out of the victoriametrics package.
# so no separat update prs are needed for vmagent
# nixpkgs-update: no auto update
-lib.addMetaAttrs { mainProgram = "vmagent"; } (
+lib.addMetaAttrs { mainProgram = "vmagent"; position = toString ./package.nix + ":1"; } (
victoriametrics.override {
withServer = false;
withVictoriaLogs = false;
β― nix eval -f. vmagent.meta.position
"/Users/zowoq/src/nixpkgs/pkgs/by-name/vm/vmagent/package.nix:1"
Could add it to the skiplist instead: https://github.com/nix-community/nixpkgs-update/blob/main/src/Skiplist.hs
Let me try the position first :) thx! | 07:25:21 |
shawn8901 | In reply to @zowoq:matrix.org
If you want the comment to work need to fix meta.position:
β― nix eval -f. vmagent.meta.position
"/Users/zowoq/src/nixpkgs/pkgs/by-name/vi/victoriametrics/package.nix:87"
diff --git a/pkgs/by-name/vm/vmagent/package.nix b/pkgs/by-name/vm/vmagent/package.nix
index f31526026319..612144762d6f 100644
--- a/pkgs/by-name/vm/vmagent/package.nix
+++ b/pkgs/by-name/vm/vmagent/package.nix
@@ -3,7 +3,7 @@
# This package is build out of the victoriametrics package.
# so no separat update prs are needed for vmagent
# nixpkgs-update: no auto update
-lib.addMetaAttrs { mainProgram = "vmagent"; } (
+lib.addMetaAttrs { mainProgram = "vmagent"; position = toString ./package.nix + ":1"; } (
victoriametrics.override {
withServer = false;
withVictoriaLogs = false;
β― nix eval -f. vmagent.meta.position
"/Users/zowoq/src/nixpkgs/pkgs/by-name/vm/vmagent/package.nix:1"
Could add it to the skiplist instead: https://github.com/nix-community/nixpkgs-update/blob/main/src/Skiplist.hs
it seems that setting the position fixes my overall issue. Tho not being on the ignored list but complaining before that the old version is not defined in the master derivation (as those are defined on the overriden ones). I suspect that nixpkgs-update might should check for ignores first, and then for sanity [as it would at least in this case not result in a faulty error log]. Tho it still fine for my result. ill keep the ignore comment still, so that the initial intention is clear why meta.position is added. | 19:07:56 |
shawn8901 | * it seems that setting the position fixes my overall issue. Tho not being on the ignored list but complaining before that the old version is not defined in the master derivation (as those are defined on the overriden ones). I suspect that nixpkgs-update might should check for ignores first, and then for sanity [as it would at least in this case not result in a faulty error log]. Tho it still fine for my result. ill keep the ignore comment still, so that the initial intention is clear why meta.position is added. Or do you have other suggestions for that? π | 19:22:18 |
shawn8901 | * it seems that setting the position fixes my overall issue. Tho not being on the ignored list but complaining before that the old version is not defined in the master derivation (as those are defined on the overriden ones). I suspect that nixpkgs-update might should check for ignores first, and then for sanity [as it would at least in this case not result in a faulty error log]. Tho it still fine for my result. ill could keep the ignore comment still, so that the initial intention is clear why meta.position is added. Tho i start to feel that adding it to nixpkgs-updates internal skiplist is kind of more understandable. Or do you have other suggestions for that? π | 19:29:43 |
5 Aug 2024 |
| bumperboat joined the room. | 12:35:12 |
bumperboat | https://github.com/NixOS/nixpkgs/pull/330788 there is a later release that came out shortly after this one with further fixes -- does the bot need to be manually ran again? | 12:36:33 |
pbsds | it'll get around to it and force-push the pr | 23:11:07 |
6 Aug 2024 |
zowoq | In reply to @bumperboat:matrix.org https://github.com/NixOS/nixpkgs/pull/330788 there is a later release that came out shortly after this one with further fixes -- does the bot need to be manually ran again? I commented on the PR. | 00:25:43 |
zowoq |
Or do you have other suggestions for that?
No. This is is known issue with the bot: https://github.com/nix-community/nixpkgs-update/issues/315. There is a plan to fix it but it hasn't been finished yet: https://github.com/nix-community/nixpkgs-update/issues/315.
| 00:32:18 |
8 Aug 2024 |
| Alyssa Ross set a profile picture. | 18:48:34 |
10 Aug 2024 |
| Austin Horstman changed their display name from Khaneliman to Austin Horstman. | 03:50:11 |
11 Aug 2024 |
GaΓ©tan Lepage | Is there a way to manually trigger the update bot on a specific package ?
For tinymist, it seems that the check happens every ~10 days. | 12:20:43 |
hexa | no | 13:17:25 |
16 Aug 2024 |
GaΓ©tan Lepage | Redacted or Malformed Event | 11:21:18 |
17 Aug 2024 |
| Sashanoraa.gay (she/her, ze/zir) joined the room. | 22:21:17 |
20 Aug 2024 |
| benwebb changed their display name from benjaminedwardwebb to benwebb. | 12:44:09 |
21 Aug 2024 |
asymmetric | what are the semantics of the log table in this db? https://nixpkgs-update-logs.nix-community.org/~supervisor/state.db | 16:20:44 |
asymmetric | i guess it represents a snapshot of the latest run of nixpkgs-update -- so no historical information, correct? | 16:21:45 |
asymmetric | if so, how often does it get updated? i'm trying to use it to catch new build errors | 16:22:16 |
asymmetric | looks like the code that creates that db isn't at https://github.com/nix-community/nixpkgs-update, btw. any idea where to look? | 16:31:37 |
asymmetric | In reply to @asymmetric:matrix.dapp.org.uk looks like the code that creates that db isn't at https://github.com/nix-community/nixpkgs-update, btw. any idea where to look? https://github.com/nix-community/infra/blob/34b98fceb279a2f3916583d58b5a3342ba014390/hosts/build02/supervisor.py | 16:39:07 |
23 Aug 2024 |
| benwebb left the room. | 18:57:18 |
27 Aug 2024 |
| aloisw left the room. | 17:20:51 |