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

Update fw-set edit commands to add/remove firmware from fw-sets #19

Merged
merged 6 commits into from
Jul 31, 2023

Conversation

diogomatsubara
Copy link
Contributor

@diogomatsubara diogomatsubara commented Jul 26, 2023

Although originally (d146f3d) only fixed a no-op while removing fw from fw-sets, I made some further changes:

  • add firmware to existing sets
  • fix no-op for fw-set name update

Let me know if you prefer this as individual PRs or if it's fine as is.

Separate the flags for add/remove individual fw in a fw-set and update
the call sites to use the appropriate flag
@diogomatsubara diogomatsubara changed the title Use fw uuids passed via CLI in fw-set removal Update fw-set edit commands to add/remove firmware from fw-sets Jul 26, 2023
Copy link
Member

@joelrebel joelrebel left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this up! Left a few suggestions.

cmd/edit/firmware_set.go Outdated Show resolved Hide resolved
cmd/edit/firmware_set.go Outdated Show resolved Hide resolved
This way we use the CLI processor to parse the given comma separated
list of fw UUIDs into a []string
@joelrebel
Copy link
Member

@diogomatsubara seems like the linter isn't happy

@diogomatsubara diogomatsubara merged commit 30214b4 into main Jul 31, 2023
7 checks passed
@diogomatsubara diogomatsubara deleted the FS-800-fw-set-removal-no-op branch July 31, 2023 12:13
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