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

Resolves #3088: version sub-command expected behaviour documentation and testing #3447

Merged

Conversation

AppleGamer22
Copy link
Contributor

Summary

Release Note

NONE

Documentation

The documentation of the version sub-command was updated such that the expected behaviour of printing to STDOUT is described.

partially addresses sigstore#3088

Signed-off-by: Omri Bornstein <omribor@gmail.com>
Signed-off-by: Omri Bornstein <omribor@gmail.com>
Signed-off-by: Omri Bornstein <omribor@gmail.com>
@AppleGamer22 AppleGamer22 changed the title Resolves sigstore/cosign#3088: version sub-command expected behaviour documentation and testing Resolves #3088: version sub-command expected behaviour documentation and testing Dec 19, 2023
Copy link
Contributor

@haydentherapper haydentherapper left a comment

Choose a reason for hiding this comment

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

Thanks so much! Just a few small comments

doc/cosign_version.md Outdated Show resolved Hide resolved
cmd/cosign/cli/version_test.go Outdated Show resolved Hide resolved
Copy link

codecov bot commented Dec 19, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (0cb7ae9) 30.38% compared to head (e7175e6) 40.09%.
Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3447      +/-   ##
==========================================
+ Coverage   30.38%   40.09%   +9.70%     
==========================================
  Files         155      155              
  Lines        9982     9982              
==========================================
+ Hits         3033     4002     +969     
+ Misses       6497     5494    -1003     
- Partials      452      486      +34     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: Omri Bornstein <omribor@gmail.com>
Signed-off-by: Omri Bornstein <omribor@gmail.com>
Copy link
Contributor

@haydentherapper haydentherapper left a comment

Choose a reason for hiding this comment

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

Thanks again!

@haydentherapper haydentherapper enabled auto-merge (squash) December 20, 2023 00:18
Signed-off-by: Omri Bornstein <omribor@gmail.com>
auto-merge was automatically disabled December 20, 2023 00:24

Head branch was pushed to by a user without write access

Signed-off-by: Omri Bornstein <omribor@gmail.com>
@haydentherapper haydentherapper merged commit b3af55c into sigstore:main Dec 20, 2023
28 checks passed
@github-actions github-actions bot added this to the v2.3.0 milestone Dec 20, 2023
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

3 participants