-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Add scope/namespace option to CodeArtifact login #5404
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #5404 +/- ##
========================================
Coverage 94.06% 94.07%
========================================
Files 190 190
Lines 14758 14780 +22
========================================
+ Hits 13882 13904 +22
Misses 876 876
Continue to review full report at Codecov.
|
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.
Looks reasonable to me.
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.
Looks good! Just had a couple of suggestions.
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.
Looks great! Two more things that I forgot to mention in the last review before merging the PR:
- Could you squash all of your commits into a single commit?
- Could you add a changelog entry for this update? To do this, from the root directory of the repository, you can run the following commands to make an entry:
$ ./scripts/new-change -t enhancement -c '``codeartifact login``' -d 'Add support for ``--namespace`` parameter #5291' -r aws/aws-cli
$ git add .changes/next-release/
$ git commit
I can also make these changes and push to your branch as well and then merge the PR if you do not have time to get to it or want me to handle it. Let me know!
Looks great, @kylenap. We're about to ensure it's put ion the best tramsit, but shall squash commits.
Would appreciate your kind offer to:
I can also make these changes and push to your branch as well and then merge the PR if you do not have time to get to it or want me to handle it.
Pretty sure the honey Beez Operating System V knows about this.
Kind regards,
Richard.
…Sent from my iPhone
On 11 Aug 2020, at 12:44 PM, Kyle Knapp ***@***.***> wrote:
@kyleknap commented on this pull request.
Looks great! Two more things that I forgot to mention in the last review before merging the PR:
Could you squash all of your commits into a single commit?
Could you add a changelog entry for this update? To do this, from the root directory of the repository, you can run the following commands to make an entry:
$ ./scripts/new-change -t enhancement -c '``codeartifact login``' -d 'Add support for ``--namespace`` parameter #5291' -r aws/aws-cli
$ git add .changes/next-release/
$ git commit
I can also make these changes and push to your branch as well and then merge the PR if you do not have time to get to it or want me to handle it. Let me know!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
This change adds the ability to pass in a namespace to CodeArtifact login. The primary arg is `namespace` to remain generalized across different CodeArtifact tools (ie: npm scope, maven groupid). This change also includes: - Throw error if namespace is used for configuring pip - Throw error if namespace is used for configuring twine - Accept npm namespace value with or without "@" prefix for scope - Validation on npm scope name to adhere with npm rules
Thanks @kyleknap . I've squashed my commits and added a changelog entry. Please let me know if you'd like me to make any additional changes. |
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.
Looks good! 🚢 Merging.
Resolves #5291
Description of changes:
This change adds the ability to pass in a scope/namespace to CodeArtifact login.
The primary arg is
namespace
to remain generalized across different CodeArtifacttools (ie: npm scope, maven groupid).
This change also includes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.