!djTaTBQyWEPRQxrPTb:nixos.org

Nixpkgs Architecture Team

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

Load older messages


SenderMessageTime
8 Mar 2024
@jade_:matrix.org@jade_:matrix.orgyeah20:59:39
@infinisil:matrix.orginfinisil jade_: An idea I like is to limit yourself to writing something for e.g. 1 hour. Stop after that and ask for feedback before continuing 21:00:20
@infinisil:matrix.orginfinisilThis makes it more iterative but still keeps it asynchronous21:00:56
@jade_:matrix.org@jade_:matrix.org

another side thing is, we have:

  • guide level user docs for nixpkgs (nix.dev)
  • reference level user/developer docs for nixpkgs (manual)

and then we have ...... sorta:

  • one very busy page of guide-level developer docs that people read once (CONTRIBUTING.md)

so it's not clear where to put our norms?

21:01:03
@jade_:matrix.org@jade_:matrix.orgThinking about https://rustc-dev-guide.rust-lang.org/21:01:42
@infinisil:matrix.orginfinisilI'd like for these to all be rendered in a more unified way, but I think the distinction makes sense to a degree21:02:01
@qyriad:katesiria.orgQyriadImo the Nixpkgs manual is actually a good place for "this is how the sausage gets made" in absence of a more dedicated place21:02:06
@infinisil:matrix.orginfinisilI'd like more automatic cross-links21:02:07
@jade_:matrix.org@jade_:matrix.org
In reply to @qyriad:katesiria.org
Imo the Nixpkgs manual is actually a good place for "this is how the sausage gets made" in absence of a more dedicated place
yeah, it's reference level though, which is the difficulty imo
21:02:19
@infinisil:matrix.orginfinisil This is becoming a documentation discussion, how about moving to #docs:nixos.org? 21:02:53
@jade_:matrix.org@jade_:matrix.orgsure, but it is somewhat a question of the architecture team having a place to write21:03:10
@infinisil:matrix.orginfinisilThe architecture team never really tried to give a direction for these things, and it's also dissolved now. 21:04:07
@infinisil:matrix.orginfinisilI do have an opinion on this though :)21:04:29
@infinisil:matrix.orginfinisil(I guess I'm also on the docs team, my opinion mainly comes from consensus there)21:04:48
@jade_:matrix.org@jade_:matrix.orgit's dissolved? news to me, we should write that in the topic and on the website :P21:04:51
@qyriad:katesiria.orgQyriad
In reply to@jade_:matrix.org
yeah, it's reference level though, which is the difficulty imo
It definitely is, yeah. We try to think of it as describing the roles that things fill, at least as the primary focus. "makeScoope is used to create a package set with these properties" is easier to think about than trying to reverse engineer all the pre- and post- assumptions of a poorly documented behavior
21:04:54
@infinisil:matrix.orginfinisil

In short:

  • The manuals are for reference docs only
  • nix.dev is for all tutorials and guides
  • CONTRIBUTING.md and README.md's throughout the source code are for docs exclusive to contributing
21:05:27
@jade_:matrix.org@jade_:matrix.orgthe last category is extremely unfit for purpose imo: there is no way of searching all of them cleanly21:06:05
@qyriad:katesiria.orgQyriad It definitely is, yeah. We try to think of it as describing the roles that things fill, at least as the primary focus. "makeScoope is used in these places to create a package set with these properties" is easier to think about than trying to reverse engineer all the pre- and post- assumptions of a poorly documented behavior 21:06:07
@infinisil:matrix.orginfinisilAgreed, I'd be in favor of making the contributor docs use some better rendering21:06:28
@infinisil:matrix.orginfinisilI don't think it should be in the Nixpkgs manual though, this is where it was before https://github.com/NixOS/nixpkgs/pull/24524321:06:54
@jade_:matrix.org@jade_:matrix.org(also, the nixpkgs issue tracker is unusable for these kinds of meta issues ime because they get buried; is there some trick y'all use for actually putting these bugs somewhere they aren't lost?)21:07:39
@infinisil:matrix.orginfinisil jade_: Labels are somewhat effective. I'll soon create an "architecture" label, but I also created the "significant" label with decent success 21:08:59
@infinisil:matrix.orginfinisilHonestly at some point I'd like Nixpkgs to be split into two repos, where one is the builders repo and the other is the package collection21:10:34
@jade_:matrix.org@jade_:matrix.orgthese things wind up really squishy tho21:10:49
@infinisil:matrix.orginfinisilYeah.. needs a lot of thought. But it would make issue tracking much better21:11:11
@jade_:matrix.org@jade_:matrix.orgthere's a lot of surface area where it is not obviously one or the other. like, haskell or such. I really think the github issue tracker and our tooling is the issues problem21:11:26
@infinisil:matrix.orginfinisilOr maybe we just need better issue/PR filtering links/support21:11:28
@jade_:matrix.org@jade_:matrix.orgyeah21:11:31
@jade_:matrix.org@jade_:matrix.orgI think we need a better issue search tool21:11:39

Show newer messages


Back to Room ListRoom Version: 9