-
Notifications
You must be signed in to change notification settings - Fork 25
chore: improving warnings on incorrect or absent configuration #193
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
base: master
Are you sure you want to change the base?
Conversation
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.
Copilot reviewed 3 out of 4 changed files in this pull request and generated 2 comments.
Files not reviewed (1)
- .envrc: Language not supported
cloudsmith_cli/cli/decorators.py
Outdated
fg="yellow", | ||
) | ||
click.secho( | ||
f"You're currently attemping to connect to Cloudsmith instance {cloudsmith_host}", |
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.
The word 'attemping' is misspelled. It should be 'attempting'.
f"You're currently attemping to connect to Cloudsmith instance {cloudsmith_host}", | |
f"You're currently attempting to connect to Cloudsmith instance {cloudsmith_host}", |
Copilot uses AI. Check for mistakes.
@@ -101,6 +102,9 @@ def get(ctx, opts, owner_repo, page, page_size): | |||
|
|||
click.echo("Getting list of repositories ... ", nl=False, err=use_stderr) | |||
|
|||
repo = None |
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.
The variable 'repo' is assigned but never used. Consider removing it to clean up the code.
Copilot uses AI. Check for mistakes.
Still in progress
What?
Improve Cloudsmith CLI user experience when encountering configuration issues or uncertainties
Why?
Currently, there are a number of potential pitfalls around config management for the Cloudsmith CLI. These include:
Acceptance Criteria (Is It Done?)
Screenshots