!djTaTBQyWEPRQxrPTb:nixos.org

Nixpkgs Architecture Team

228 Members
https://github.com/nixpkgs-architecture, weekly public meetings on Wednesday 15:00-16:00 UTC at https://meet.jit.si/nixpkgs-architecture53 Servers

Load older messages


SenderMessageTime
12 Sep 2023
@infinisil:matrix.orginfinisilI think the github UI allows either rebasing or merging10:37:29
@qyliss:fairydust.spaceAlyssa Ross we don't currently have merge commits everywhere 10:37:47
@infinisil:matrix.orginfinisil (by default rebase should be good, but as Profpatsch hints at, merging sometimes makes sense) 10:37:55
@qyliss:fairydust.spaceAlyssa Rosswe have a combination of all kinds of merges, based on what each committer thinks is best at the time10:38:12
@piegames:matrix.org@piegames:matrix.orgWhat would be needed here IMO is rebase + merge with trivial merge commit. 10:38:19
@qyliss:fairydust.spaceAlyssa Rossyeah we definitely want merge for e.g. staging-next10:38:21
@qyliss:fairydust.spaceAlyssa Ross what would be the point of the merge commit? 10:38:35
@qyliss:fairydust.spaceAlyssa Rossalso, if git can figure out renames on rebasing, I think it should be able to figure them out on merging too/10:38:53
@piegames:matrix.org@piegames:matrix.org
In reply to @qyliss:fairydust.space
what would be the point of the merge commit?
To associate the individual commits with the PR
10:39:06
@qyliss:fairydust.spaceAlyssa Rossthat's not something we do today10:39:19
@qyliss:fairydust.spaceAlyssa Ross(across the board, at least)10:39:31
@infinisil:matrix.orginfinisilI'm still thinking just ripping the band-aid off with a single commit is probably easiest tbh :) (and it is what's in the RFC fyi)10:39:36
@piegames:matrix.org@piegames:matrix.orghm, didn't know that10:39:39
@qyliss:fairydust.spaceAlyssa Rossyou can look up the PR for a commit using the API / GitHub web anyway10:39:53
@qyliss:fairydust.spaceAlyssa Rosseven if it was "Rebase and Merge"d10:39:58
@infinisil:matrix.orginfinisilBtw I created an RFC 140 milestone: https://github.com/NixOS/nixpkgs/milestone/2510:41:47
@infinisil:matrix.orginfinisilWas a bit hard to keep track of all the PRs/issues10:42:21
@profpatsch:augsburg.oneprofpatschstaging-next should probably just receive a separate formatting commit10:50:38
@profpatsch:augsburg.oneprofpatschAt least in my mind formatting is deterministic, so no further merge conflicts10:51:03
@infinisil:matrix.orginfinisil(this isn't about formatting though)10:51:40
@infinisil:matrix.orginfinisil * (this isn't about formatting fyi)10:51:47
@profpatsch:augsburg.oneprofpatschoh, then disregard :)10:52:40
@profpatsch:augsburg.oneprofpatschI read “the automatic migration” and made an ass out of u & me10:53:05
@infinisil:matrix.orginfinisilHaha nah all good10:53:27
@keiichi:matrix.orgtetoI watched the pkgs/by-name nix-con talk . At some point it was mentioned that package sets like haskellPackages / luaPackages were out of scope and I was curious if there was work started regarding those package sets (yet). I have some related questions such as "shall we keep everything in one generated.nix file or explode those in xx/PACKAGE/default.nix"11:15:07
@keiichi:matrix.orgtetoone of my main problem is that one package that can't be updated (because wrong src etc) will block the generation of the whole package set. I have started working on a workaround with pytreesitter to replace AST nodes when successful but having per-package files has advantages (but I wonder if the sheer number of new files doesn't make it a no-go anyway)11:17:11
@infinisil:matrix.orginfinisil teto: No concrete plans yet. Quick thoughts regarding single vs multiple files: I think multiple files should be preferred regarding git, it should lead to a smaller repo size and make conflicts less frequent 11:31:00
@infinisil:matrix.orginfinisil

Check pkgs/by-name / check (pull_request_target) Successful in 46s

Why does this check seem to take longer now 🙃

14:54:20
@infinisil:matrix.orginfinisilOh damn, looks like the actions/checkout@v4 is slower: https://github.com/NixOS/nixpkgs/actions/runs/6160467816/job/16717506688?pr=25442314:54:54
@infinisil:matrix.orginfinisilOr it could be https://github.com/NixOS/nixpkgs/pull/25437114:58:35

Show newer messages


Back to Room ListRoom Version: 9