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

Rename commit-lockfile-summary to commit-lock-file-summary for consistency #10691

Merged
merged 1 commit into from
May 14, 2024

Conversation

grahamc
Copy link
Member

@grahamc grahamc commented May 13, 2024

Motivation

Of the numerous commandline arguments that talk about the lock file, commit-lockfile-summary appears to be the only one without a hyphen. Rename it with a backwards compatibility alias.

Context

Priorities and Process

Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

@grahamc grahamc requested a review from edolstra as a code owner May 13, 2024 13:25
@github-actions github-actions bot added documentation new-cli Relating to the "nix" command fetching Networking with the outside (non-Nix) world, input locking labels May 13, 2024
@@ -32,7 +32,7 @@ static void writeTrustedList(const TrustedList & trustedList)

void ConfigFile::apply()
{
std::set<std::string> whitelist{"bash-prompt", "bash-prompt-prefix", "bash-prompt-suffix", "flake-registry", "commit-lockfile-summary"};
std::set<std::string> whitelist{"bash-prompt", "bash-prompt-prefix", "bash-prompt-suffix", "flake-registry", "commit-lock-file-summary", "commit-lockfile-summary"};
Copy link
Member Author

Choose a reason for hiding this comment

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

I wonder if this list is inclusive of aliases or not? I didn't want to break the users, though.

@edolstra edolstra merged commit 39f7cbd into NixOS:master May 14, 2024
9 checks passed
@edolstra edolstra deleted the commit-lock-file-summary branch May 14, 2024 08:06
cole-h added a commit to cole-h/nix that referenced this pull request Jun 28, 2024
It was originally renamed in NixOS#10691,
but NixOS#9063 accidentally removed the new
name and alias.
cole-h added a commit to cole-h/nix that referenced this pull request Jun 28, 2024
It was originally renamed in NixOS#10691,
but NixOS#9063 accidentally removed the new
name and alias.
rvolosatovs added a commit to rvolosatovs/nix-flake-update-action that referenced this pull request Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation fetching Networking with the outside (non-Nix) world, input locking new-cli Relating to the "nix" command
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Should --commit-lockfile-summary be renamed to --commit-lock-file-summary?
3 participants