!djTaTBQyWEPRQxrPTb:nixos.org

Nixpkgs Architecture Team

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

You have reached the beginning of time (for this room).


SenderMessageTime
9 Jun 2023
@syphoxy:matrix.org@syphoxy:matrix.org *

those are excellent points. I don't personally have anything to add to that but I do agree they are minor.

if we had to go the subdirectory route, I would vote on "shards" or "sharded" though I have very little interest in contributing to the naming discussion more than I already have.

(I am avoiding pkgs/unit here or pkgs/shards not as a statement but to focus the sharding structure.) regarding GitHub's UI, my only potentially naive rumination on the directory structure is that something like pkgs/A/B/${name}/package.nix or pkgs/A/B/C/${name}/packages.nix could be adopted instead of pkgs/AB/${name}/packages.nix or pkgs/AB/CD/${name}/packages.nix. having one letter levels would enforce that each level has a maximum of 26+10+2 directories. GitHub could surely be agreeable to that experience. given that there's a very large group of packages with the lib prefix it might even be appealing to have pkgs/A/B/C/D/${name}/package.nix

18:23:43
@infinisil:matrix.orginfinisilBtw it's technically a bit more than just 26, because numbers, _ and - are also allowed :P18:24:11
@syphoxy:matrix.org@syphoxy:matrix.orghaha. yeah. I ninja edited that change just now.18:24:30
@infinisil:matrix.orginfinisil I think the biggest argument against such multi-level structures in general is that they cause ambiguities when the package name is too short. E.g. In a pkgs/A/B structure, where would a itself go? 18:25:27
@infinisil:matrix.orginfinisilThere are solutions to this, but it's an extra special case that needs to be explained and implemented.18:25:59
@infinisil:matrix.orginfinisil However, with only pkgs/A/B, there's only very few packages that would cause such problems, so it's very minor 18:26:28
@raitobezarius:matrix.orgraitobezariusthe pkgs/AB/CD is a classical thing BTW18:26:54
@syphoxy:matrix.org@syphoxy:matrix.orgoh. that's an excellent point. I guess if we used underscores..18:27:31

Show newer messages


Back to Room ListRoom Version: 9