-
Notifications
You must be signed in to change notification settings - Fork 86
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
doc: add missing username/password options to commands #293
Conversation
Signed-off-by: Binbin Li <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #293 +/- ##
===========================================
- Coverage 61.07% 30.64% -30.43%
===========================================
Files 9 25 +16
Lines 280 1612 +1332
===========================================
+ Hits 171 494 +323
- Misses 102 1105 +1003
- Partials 7 13 +6
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be nice to add to the login section something like: "Once login is completed, then -u -p is no longer required for any notation commands against the registry server authenticated."
@yizha1 - since this is just a doc fix and is now at the 1 week mark, I recommend merging it today before notation release. |
Good call, I'll add it. |
Signed-off-by: Binbin Li <[email protected]>
eebfa63
to
0929fd3
Compare
Signed-off-by: Binbin Li <[email protected]>
0929fd3
to
262cc16
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* doc: add missing username/password options to commands (#293) Signed-off-by: Binbin Li <[email protected]> * bump up version to v0.10.0-alpha.3 (#301) * bump up version to v1.0.0-alpha.3 * revise version to v0.10.0-alpha.3 Signed-off-by: Yi Zha <[email protected]> * fix: update notation-go (#294) Signed-off-by: Junjie Gao <[email protected]> * Build: Bump dependencies (#306) Signed-off-by: Yi Zha <[email protected]> * feat: add weekly release (#282) Signed-off-by: Junjie Gao <[email protected]> Signed-off-by: Binbin Li <[email protected]> Signed-off-by: Yi Zha <[email protected]> Signed-off-by: Junjie Gao <[email protected]> Co-authored-by: Binbin Li <[email protected]> Co-authored-by: Yi Zha <[email protected]> Co-authored-by: Junjie Gao <[email protected]> Co-authored-by: zaihaoyin <[email protected]>
What?
Resovles #276
For commands other than
notation login
, we should allow them supportusername/password
options even without first-time logging.Since the
login
command requirescredentialsStore
set up which might be missing for users. So we cannot force users always uselogin
to save credentials. Other commands should be able to use the credentials directly from input withoutcredentialsStore
set up.Updated commands:
Signed-off-by: Binbin Li [email protected]