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

Update --detached-sign to --detach-sign, remove "auto generated" line from docs #242

Merged
merged 2 commits into from
Feb 21, 2023

Conversation

adityasaky
Copy link
Contributor

Summary

This PR introduces two changes:

  1. It disables the auto generated by cobra tag as this line is updated across all docs for every change. I can take this out if the preference is to retain it.
  2. It renames the --detached-sign flag to --detach-sign to match the interface of GPG and other tools. The -b shorthand is moved to the new flag and the old one is marked as deprecated rather than outright removal.

Release Note

New features and improvements, including behavioural changes, UI changes and CLI changes:

Deprecates --detached-sign in favour of --detach-sign to match the interface of other signing tools.

Documentation

The CLI docs in-repo have been updated by this PR. I'm unaware of gitsign's CLI is separately documented elsewhere.

Signed-off-by: Aditya Sirish <aditya@saky.in>
@cpanato cpanato requested a review from wlynch February 19, 2023 15:27
Gitsign currently does not match other signing tools such as GPG in its
flag to create detached signatures. This commit deprecates the old flag
and introduces a correctly named alternative. This has likely not been
discovered because Git passes in `-b` rather than the full flag. This
shorthand has been moved to the new flag definition.

Signed-off-by: Aditya Sirish <aditya@saky.in>
Copy link
Member

@wlynch wlynch left a comment

Choose a reason for hiding this comment

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

Thanks!

@wlynch wlynch merged commit 0a4c62a into sigstore:main Feb 21, 2023
@adityasaky adityasaky deleted the minor-fixes branch February 21, 2023 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants