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

refactor: convert uint flags to boolean, other fixes and improvements #366

Merged
merged 2 commits into from
Aug 6, 2024

Conversation

shreddedbacon
Copy link
Member

General Checklist

  • Affected Issues have been mentioned in the Closing issues section
  • Documentation has been written/updated
  • PR title is ready for inclusion in changelog

Converts some previously uint value flags (0/1) that represent booleans to be actual booleans, and fixes the way the values are added to the inputs of the mutations to prevent them being added by default and only added if they're defined specifically (either as true, or as a specific --flag=false value.

Additional fixes to the deploytarget list too to reduce how much data is returned, with new --wide and --show-token flag. These commands are only supported for platform-owner, just makes it easier to read the output.

Also adds the new admin role support from Lagoon v2.20.0 to organization owners commands, so that admins can be managed via the CLI now along with previous owner and viewer roles.

Copy link
Contributor

@CGoodwin90 CGoodwin90 left a comment

Choose a reason for hiding this comment

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

LGTM

@shreddedbacon shreddedbacon marked this pull request as ready for review August 6, 2024 04:53
@shreddedbacon shreddedbacon merged commit 5605f76 into main Aug 6, 2024
4 checks passed
@shreddedbacon shreddedbacon deleted the additional-fixes-and-refactoring branch August 6, 2024 04:56
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.

2 participants