Skip to content
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

v5.52.0 #651

Merged
merged 11 commits into from
Oct 1, 2024
Merged

v5.52.0 #651

merged 11 commits into from
Oct 1, 2024

Conversation

jriddle-linode
Copy link
Contributor

No description provided.

ykim-1 and others added 10 commits August 14, 2024 08:04
Co-authored-by: Lena Garber <114949949+lgarber-akamai@users.noreply.github.com>
## 📝 Description

**What does this PR do and why is this change necessary?**

Adds `get_bool('value')` method for configuration options and adds a step in configuration to support `suppress-version-warning`.
Also adds support for `LINODE_CLI_SUPPRESS_VERSION_WARNING` environment variable.

## ✔️ How to Test

**What are the steps to reproduce the issue or verify the changes?**

1. Install the new version of the CLI
```bash
make install
```
2. Go through the configuration process
```bash
lin configure
```
3. The last question should ask you about suppressing API Version Warnings
4. Use the CLI and see if you view this warning

### Environment variable

1. Install the new CLI or delete the value from your config
2. Use the cli after setting the environment variable
```bash
export LINODE_CLI_SUPPRESS_VERSION_WARNING=true
lin linodes ls
unset $LINODE_CLI_SUPPRESS_VERSION_WARNING
lin linodes ls
```
3. Verify the output doesn't have the error.

**How do I run the relevant unit/integration tests?**

```bash
make testunit
```

resolves #582
@jriddle-linode jriddle-linode requested a review from a team as a code owner October 1, 2024 15:03
@jriddle-linode jriddle-linode requested review from ykim-1 and yec-akamai and removed request for a team October 1, 2024 15:03
Copy link
Contributor

@lgarber-akamai lgarber-akamai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@jriddle-linode jriddle-linode merged commit 700b935 into main Oct 1, 2024
12 checks passed
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.

6 participants