Attendees: @edolstra @tomberek @roberth @fricklerhandwerk @Ericson2314
Agenda
- start out on CLI stabilization effort · Issue #7701 · NixOS/nix · GitHub with
nix store gc
(60 min)
Results
- observations:
- design considerations around global options (such as
--print-build-logs
) are issues orthogonal to the individual commands
- design considerations around global options (such as
- decisions:
- we will draft a formal announcement of our plan for stabilisation, publish it, and ask for feedback and reviews
- the currently envisioned stabilisation process is sketched as follows:
- formally stabilise the “hierarchical command line structure” first, without any commands in it
- stabilise the global options and settings relevant to currently experimental commands
- those apply to multiple commands and effectively can’t be changed after stabilisation - stabilise separate commands once all requirements (to be determined in more detail) are met
- as a working assumption, do not consider part of the stable interface of the command in question
- collect issues on global options and settings as we inspect the new commands, and deal with all of them separately before the first command itself is declared stable
-
nix store gc
should only operate on garbage collection roots- we will consider a
nix gc
command that would also clean up profile generations
- we will consider a
- the configuraton options
min-free
andmax-free
(subject to renaming) will be used to determine limits on the garbage collection run, instead of a dedicated flag- there will be a new, separate option to enable automatic garbage collection during builds
- update command documentation accordingly
- there will be no output on
stdout
- complete discussion
We conclude that this was a highly productive meeting, and all feel good about the progress made.