!sBfrWMVsLoSyFTCkNv:nixos.org

OfBorg

168 Members
Number of builds and evals in queue: <TBD>60 Servers

Load older messages


SenderMessageTime
1 May 2023
@entheogenesis:matrix.orgentheogenesisIs OfBorg having trouble?23:42:14
@entheogenesis:matrix.orgentheogenesisScreenshot 2023-05-01 at 19.52.46.png
Download Screenshot 2023-05-01 at 19.52.46.png
23:52:54
2 May 2023
@emilytrau:matrix.org@emilytrau:matrix.org joined the room.10:19:59
@hexa:lossy.networkhexayes, too few aarch64-darwin builders12:05:09
4 May 2023
@raitobezarius:matrix.orgraitobezarius cole-h: do you know if I can run ofborg on a commit or delta locally? 17:42:20
@cole-h:matrix.orgcole-hDepends on what you want to run17:42:33
@raitobezarius:matrix.orgraitobezariusI want to compute impacted maintainers17:42:43
@raitobezarius:matrix.orgraitobezarius also would be interested into bringing the a{1,2,3,...} syntax for globbing in commit messages 17:43:31
@raitobezarius:matrix.orgraitobezariushm I guess I would need to bring nixos modules support in the play to be able to parse the commit messages adequately17:46:15
@cole-h:matrix.orgcole-hLook at this: https://github.com/NixOS/ofborg/blob/released/ofborg/src/maintainers.nix18:00:27
@raitobezarius:matrix.orgraitobezariusYeah I read it18:00:38
@raitobezarius:matrix.orgraitobezariusBut I don't understand well the format of the input JSON18:00:43
@cole-h:matrix.orgcole-hhttps://github.com/NixOS/ofborg/blob/0f34038feb9b0ae9959c865608700c91d57b2590/ofborg/src/maintainers.rs#L51 It's a json list of file paths and separate attrpaths I believe18:02:00
@cole-h:matrix.orgcole-h ("separate" as in pkgs.hello.world -> ["pkgs" "hello" "world"]) 18:02:14
@raitobezarius:matrix.orgraitobezariusthanks20:56:45
@raitobezarius:matrix.orgraitobezariusI guess it won't be enough for modules20:56:49
@raitobezarius:matrix.orgraitobezariusBecause they're not really attrspaths20:56:59
@raitobezarius:matrix.orgraitobezarius Right now, what I'm doing is that I am adding touched_modules to track nixos/activation: ... or stuff like that 20:57:15
@raitobezarius:matrix.orgraitobezariusthen transform touched modules into a proper list of affected modules ideally20:57:25
@raitobezarius:matrix.orgraitobezariusby checking also the changed paths20:57:31
@raitobezarius:matrix.orgraitobezariusthe most annoying thing though is it's unclear I can do ./test-pr $pr-number and run the whole nixpkgs eval logic on it without setting everything20:58:05
@raitobezarius:matrix.orgraitobezarius I'm wondering how hackable a thin wrapper to create this test-pr would require given the presence of a full fledged AMQP broker in this thing 20:58:22
@raitobezarius:matrix.orgraitobezariusthe code is full of easter eggs21:00:22
@raitobezarius:matrix.orgraitobezarius
    // FIXME: remove with rust/cargo update
    #[allow(clippy::cognitive_complexity)]
21:01:58
@raitobezarius:matrix.orgraitobezariusI wonder if the easiest thing is to extract the logic that makes sense in a general way into a separate crate and test it then rewire it in ofborg21:03:09
@hexa:lossy.networkhexa raitobezarius: you did see the call that was posted into the related issue? 21:38:18
@hexa:lossy.networkhexa

nix-instantiate --eval '<nixpkgs/nixos>' --arg configuration '{}' -A config.meta.maintainers --strict --json

21:38:35
@raitobezarius:matrix.orgraitobezarius Yeah I know about nix-instantiate --eval '<nixpkgs/nixos>' --arg configuration '{}' -A config.meta.maintainers --strict --json 21:38:50
@hexa:lossy.networkhexaok, just making sure21:38:58
@raitobezarius:matrix.orgraitobezariusI'm trying to understand the options21:39:07

Show newer messages


Back to Room ListRoom Version: 6