!djTaTBQyWEPRQxrPTb:nixos.org

Nixpkgs Architecture Team

227 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
9 Jun 2023
@infinisil:matrix.orginfinisilI guess it's solving the problem of naming though, because then you don't even have a name anymore lol18:34:28
@k900:0upti.meK900That's the idea, yeah18:36:38
@k900:0upti.meK900It's sorted first18:36:41
@k900:0upti.meK900And it's explicitly not a name18:36:43
@k900:0upti.meK900And it hopefully looks temporary18:36:50
@hexa:lossy.networkhexathere were arguments against a temporary name, like that moving things around breaks lots of assumptions about backports and out-of-tree usage18:37:29
@infinisil:matrix.orginfinisilHmm I don't think it should be intended to be temporary. Yes we hope to migrate to something else at some point, but this might also never happen or we completely change the direction. And this is in the scale of perhaps years18:38:34
@infinisil:matrix.orginfinisilRedacted or Malformed Event18:50:36
@roberthensing:matrix.orgRobert Hensing (roberth) I don't think we've considered pkgs/by-name yet? 19:14:03
@infinisil:matrix.orginfinisil Robert Hensing (roberth): I just thought of pkgs/by-prefix a couple minutes ago :o 19:14:40
@infinisil:matrix.orginfinisil Should definitely consider, reminds me of /dev/disk/by-* 19:15:09
@roberthensing:matrix.orgRobert Hensing (roberth) yeah, I don't think we'll have many views into the same "structure" like dev has, but I don't think that's an objection 19:16:08
@infinisil:matrix.orginfinisilI guess it's also focusing on the structure of it, not the contents, which I don't think is great19:16:22
@roberthensing:matrix.orgRobert Hensing (roberth)that's kind of the point though, because we can't agree on what the contents should be19:16:52
@roberthensing:matrix.orgRobert Hensing (roberth)and we've already acknowledged that we may want to use it for more than packages19:17:09
@roberthensing:matrix.orgRobert Hensing (roberth) and pkgs/by-name does suggest "packages", so that's actually covered 19:17:35
@roberthensing:matrix.orgRobert Hensing (roberth) like unit it lends itself to a transposition like by-name/<shard+name>/package. It's really quite similar 19:18:54
@infinisil:matrix.orginfinisilTrue that's not bad. I'm not sure if we'd want to keep such a name in a future with more than just packages in these directories though. But that's not a strong argument19:21:23
@roberthensing:matrix.orgRobert Hensing (roberth) not by-attr because we allow usage that doesn't strictly follow that; all-packages.nix may reuse the path-based name for attributes that have a different name, such as mypkg_unstable and whatnot 19:22:21
@infinisil:matrix.orginfinisil Hmm, that's not great though, by-name has the same problem 19:23:26
@roberthensing:matrix.orgRobert Hensing (roberth) pkgs/software; just a catch-all category. Even plain data is software according to some definitions 19:23:39
@k900:0upti.meK900 Also, if I may throw in a nit, it would actually be nice to have it as _by-name or similar 19:23:48
@roberthensing:matrix.orgRobert Hensing (roberth) I think we can add that to the list of considered but rejected quite easily (software) 19:24:00
@k900:0upti.meK900So it's sorted first 19:24:00
@k900:0upti.meK900 Also, I don't think mypkg-unstable breaks by-prefix? 19:24:16
@k900:0upti.meK900It is the same prefix after all 19:24:21
@k900:0upti.meK900 Now unstable-mypkg would 19:24:35
@k900:0upti.meK900But that's a different story 19:24:39
@infinisil:matrix.orginfinisil If we have a single directory containing all the shards then I don't think it needs to be sorted at the beginning. Or at least I wouldn't want to add a _ just for that 19:24:51
@roberthensing:matrix.orgRobert Hensing (roberth)Right, I think in a few cases we might have soft forks with different names though19:24:59

Show newer messages


Back to Room ListRoom Version: 9