Skip to content

CLI stabilization effort #7701

Open
Open
@tomberek

Description

This is a DRAFT
Tracking for the stabilizing effort:

Tasks

  1. consider feature mappings with legacy CLI (not expected to be 1-1)
  2. review correctness of command
  3. do all --help options make sense
  4. create any issues or PRs to resolve the above, we will link it here for tracking
  5. verify "ready for stabilization"

The goal isn't to stabilize the whole CLI at once. A bunch of less-frequent commands can wait for a bit while we focus on the most important ones.

First batch of stabilization

To be discussed

Stuff that hasn't been processed yet

Global concerns

Blocked on installables

To stabilise in a later batch

These are low priority and have more involved background issues we have to clarify first

  • nix store cat
  • nix store ls
  • nix store copy-log
  • nix store copy-sigs
  • nix store diff-closures
  • nix store make-content-addressed
  • nix store path-from-hash-part
  • nix store prefetch-file
  • nix store repair
  • nix store verify
    • document the defaults for the options
    • ensure that sigs-needed only takes into account the cryptographic portion of the key, not the name
  • nix store sign
    • see previous: Unsigned derivations uploaded to S3 #6960 (comment)
    • QUESTION: sign only until other signatures encountered (limited -r)
    • --key-file - to read key from stdin, exclusive with --stdin, but then how to pass both via pipe?
    • QUESTION: add a --pipe FD for which --stdin is alias for --pipe /dev/fd/0?

References

CLI Guidelines
legacy CLI mapping

Metadata

Assignees

Labels

RFCRelated to an accepted RFCnew-cliRelating to the "nix" command

Type

No type

Projects

  • Status

    In discussion

Relationships

None yet

Development

No branches or pull requests

Issue actions