Skip to content

Conversation

@ezilber-akamai
Copy link
Contributor

@ezilber-akamai ezilber-akamai commented Jan 23, 2026

📝 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.

NOTE:: Future Open API spec releases will be titled by date rather than matching the API version, i.e. 2026-01-23 instead of Release 4.215.0-patch.1, so we will need to reference them accordingly in future release notes.

✔️ How to Test

Pull down this PR locally and run make install. Ensure that the project builds and installs properly.

@ezilber-akamai ezilber-akamai requested a review from a team as a code owner January 23, 2026 19:45
@ezilber-akamai ezilber-akamai requested review from psnoch-akamai and vshanthe and removed request for a team January 23, 2026 19:45
Comment on lines +330 to +336
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

This expression logs
sensitive data (password)
as clear text.
Copy link
Contributor Author

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.

Copy link
Contributor

Copilot AI left a 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.yaml to openapi.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.

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.

1 participant