-
Notifications
You must be signed in to change notification settings - Fork 153
Point to linode-api-openapi repo instead of linode-api-docs #848
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: dev
Are you sure you want to change the base?
Point to linode-api-openapi repo instead of linode-api-docs #848
Conversation
| print(f"""A browser should open directing you to this URL to authenticate: | ||
| {url} | ||
| If you are not automatically directed there, please copy/paste the link into your browser | ||
| to continue.. | ||
| """ | ||
| ) | ||
| """) |
Check failure
Code scanning / CodeQL
Clear-text logging of sensitive information High
sensitive data (password)
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.
This looks like a false positive 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.
Pull request overview
This PR updates references from the deprecated linode-api-docs repository to the new linode-api-openapi repository across documentation, code, and tests. The change reflects a repository migration for the OpenAPI specification source.
Changes:
- Updated repository references in documentation files and README
- Modified user agent string to reflect new repository name
- Updated spec file format from
openapi.yamltoopenapi.json - Applied code formatting improvements to print statements
Reviewed changes
Copilot reviewed 13 out of 13 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| wiki/development/Development - Setup.md | Updated curl command to fetch spec from new repository with JSON format |
| wiki/development/Development - Overview.md | Updated OpenAPI specification repository link |
| tests/unit/test_configuration.py | Added blank line for formatting |
| tests/unit/test_cli.py | Updated user agent regex pattern to match new repository name |
| tests/unit/test_api_request.py | Added blank line for formatting |
| resolve_spec_url | Updated repository constant to new repository name |
| linodecli/plugins/obj/init.py | Added blank line for formatting |
| linodecli/configuration/helpers.py | Reformatted multi-line print statement |
| linodecli/configuration/auth.py | Reformatted multiple multi-line print statements |
| linodecli/completion.py | Reformatted multi-line template string |
| linodecli/cli.py | Updated user agent string to reference new repository |
| linodecli/arg_helpers.py | Added blank line for formatting |
| README.md | Updated OpenAPI specification repository link |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
📝 Description
Change the CLI from pointing to the linode-api-docs repository to the new linode-api-openapi repository for fetching the Open API spec file.
✔️ How to Test
Pull down this PR locally and run
make install. Ensure that the project builds and installs properly.