Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start cross-referencing experimental features #8174

Merged
merged 1 commit into from Apr 14, 2023

Conversation

Ericson2314
Copy link
Member

@Ericson2314 Ericson2314 commented Apr 6, 2023

  • Create a glossary entry for experimental features.

  • Have the man page experimental feature notice link nix-commmand.

    (Eventually this should be programmed, based on whether the command is experimental, and if so what experimental feature does it depend on.)

  • Document which installables depend on which experimental features.

    I tried to use the same style (bold warning and block quote) that the top of the man page uses.

Motivation

We want to make clear what parts of the CLI are unstable and why.

If per draft RFC NixOS/rfcs#136 we end up stabilizing the CLI before flakes, it is especially important to document flakes things as such so they aren't confused with any new CLI bits that are newly stable.

Context

depnds on #7798

Checklist for maintainers

Maintainers: tick if completed or explain if not relevant

  • agreed on idea
  • agreed on implementation strategy
  • tests, as appropriate
    • functional tests - tests/**.sh
    • unit tests - src/*/tests
    • integration tests - tests/nixos/*
  • documentation in the manual
  • documentation in the internal API docs
  • code and comments are self-explanatory
  • commit message explains why the change was made
  • new feature or incompatible change: updated release notes

Priorities

Add 👍 to pull requests you find important.

Copy link
Contributor

@fricklerhandwerk fricklerhandwerk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some wording suggestions, otherwise let's wait for the base PR to be merged.

doc/manual/src/glossary.md Outdated Show resolved Hide resolved
doc/manual/src/glossary.md Outdated Show resolved Hide resolved
doc/manual/src/glossary.md Outdated Show resolved Hide resolved
src/nix/nix.md Outdated Show resolved Hide resolved
@Ericson2314 Ericson2314 force-pushed the gloss-xp-features-note-installables branch 2 times, most recently from 9159e7e to 69c0000 Compare April 10, 2023 15:33
@Ericson2314 Ericson2314 changed the title Document which installables depend on which experimental features Start cross-referencing experimental features Apr 10, 2023
Ericson2314 added a commit to obsidiansystems/nix that referenced this pull request Apr 10, 2023
Fix NixOS#8162

This is somewhat hard to observe until NixOS#8174 is merged, fixing the
accidental hiding of experimental features that aren't currently
enabled, but the fix is technically orthogonal.
@Ericson2314 Ericson2314 changed the base branch from master to 0.5-release April 11, 2023 13:49
@Ericson2314 Ericson2314 changed the base branch from 0.5-release to master April 11, 2023 13:49
@Ericson2314 Ericson2314 marked this pull request as ready for review April 11, 2023 13:49
@github-actions github-actions bot added the new-cli Relating to the "nix" command label Apr 11, 2023
Ericson2314 added a commit to obsidiansystems/nix that referenced this pull request Apr 11, 2023
Fix NixOS#8162

This is somewhat hard to observe until NixOS#8174 is merged, fixing the
accidental hiding of experimental features that aren't currently
enabled, but the fix is technically orthogonal.
@Ericson2314 Ericson2314 force-pushed the gloss-xp-features-note-installables branch from 69c0000 to 4ab7055 Compare April 11, 2023 16:22
Copy link
Contributor

@fricklerhandwerk fricklerhandwerk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good stuff. Just a few presentational issues.

src/nix/nix.md Outdated Show resolved Hide resolved
doc/manual/src/language/advanced-attributes.md Outdated Show resolved Hide resolved
src/nix/nix.md Outdated Show resolved Hide resolved
src/nix/nix.md Outdated Show resolved Hide resolved
- Create a glossary entry for experimental features.

- Have the man page experimental feature notice link `nix-commmand`.

  (Eventually this should be programmed, based on whether the command is
  experimental, and if so what experimental feature does it depend on.)

- Document which installables depend on which experimental features.

  I tried to use the same style (bold warning and block quote) that the
  top of the man page uses.

Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
@Ericson2314 Ericson2314 force-pushed the gloss-xp-features-note-installables branch from 50183b1 to d93e76f Compare April 14, 2023 12:10
@Ericson2314
Copy link
Member Author

Thanks @fricklerhandwerk. I accepted all your changes and found a few more cases of it linking the glossary not page, and updated them accordingly.

With all changes accepted and two approving reviews, I have set this to automerge :).

@Ericson2314 Ericson2314 merged commit 92346d1 into master Apr 14, 2023
13 checks passed
@Ericson2314 Ericson2314 deleted the gloss-xp-features-note-installables branch April 14, 2023 12:48
@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/tweag-nix-dev-update-47/27387/1

@nixos-discourse
Copy link

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/tweag-nix-dev-update-47/27387/1

@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/this-month-in-nix-docs-2-april-2023/27899/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation new-cli Relating to the "nix" command
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants