Skip to content

fix(cmd/boot): improvements to issues discovered while implementing metadata commands#97

Open
synackd wants to merge 22 commits into
mainfrom
fix/boot-service
Open

fix(cmd/boot): improvements to issues discovered while implementing metadata commands#97
synackd wants to merge 22 commits into
mainfrom
fix/boot-service

Conversation

@synackd

@synackd synackd commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator

Checklist

  • My code follows the style guidelines of this project
  • I have added/updated comments where needed
  • I have added tests that prove my fix is effective or my feature works
  • I have run make test (or equivalent) locally and all tests pass
  • DCO Sign-off: All commits are signed off (git commit -s) with my real name and email
  • REUSE Compliance:
    • Each new/modified source file has SPDX copyright and license headers
    • Any non-commentable files include a <filename>.license sidecar
    • All referenced licenses are present in the LICENSES/ directory

Description

This is a hodgepodge of small fixes to issues that were discovered in boot service commands/libraries/docs while implementing the up-and-coming metadata-service commands. They include:

  • URI path merging for boot service (--uri and --cluster-uri), which was not occurring
  • Changing default URI path from /boot to /boot-service to match default release config
  • Fix spacing in multiline data to be consistent in command examples
  • Remove -d/--data requirement when passing data to stdin (the flag was formerly necessary when passing data to stdin)
  • Fix --no-confirm behavior:
    • Perform check before any client actions occur (e.g. don't ask for token until confirmed)
    • Ensure --no-confirm=false does not automatically comfirm
    • Add missing checks to some commands
  • Clarify documentation:
    • boot bmc add can add more than one BMC at a time
    • Correct --patch-format to --patch-format
    • Add missing _uid_ to set commands in ochami-boot(1)
  • Add unit tests for boot-service config options

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

For more info, see Contributing Guidelines.

synackd added 22 commits June 3, 2026 11:44
ServiceBoot service name was blank, change it to "boot-service".

Change default boot-service path from /boot to /boot-service to match
the default HAProxy config in the release repo.

Add missing block in config.MergeURIConfig() that takes into account any
URI specified for boot-service when resolving service URIs.

Signed-off-by: Devon Bautista <17506592+synackd@users.noreply.github.com>
Signed-off-by: Devon Bautista <17506592+synackd@users.noreply.github.com>
Signed-off-by: Devon Bautista <17506592+synackd@users.noreply.github.com>
Signed-off-by: Devon Bautista <17506592+synackd@users.noreply.github.com>
Signed-off-by: Devon Bautista <17506592+synackd@users.noreply.github.com>
Signed-off-by: Devon Bautista <17506592+synackd@users.noreply.github.com>
Signed-off-by: Devon Bautista <17506592+synackd@users.noreply.github.com>
Signed-off-by: Devon Bautista <17506592+synackd@users.noreply.github.com>
Signed-off-by: Devon Bautista <17506592+synackd@users.noreply.github.com>
Signed-off-by: Devon Bautista <17506592+synackd@users.noreply.github.com>
Signed-off-by: Devon Bautista <17506592+synackd@users.noreply.github.com>
Signed-off-by: Devon Bautista <17506592+synackd@users.noreply.github.com>
Provide more info while still being succinct and add a table that lists
the commands available for each resource.

Signed-off-by: Devon Bautista <17506592+synackd@users.noreply.github.com>
Signed-off-by: Devon Bautista <17506592+synackd@users.noreply.github.com>
The --no-confirm flag was added for delete subcommands for the boot
command, but there was no logic to prompt for deletion when not passed.
This commit adds that logic.

Signed-off-by: Devon Bautista <17506592+synackd@users.noreply.github.com>
Signed-off-by: Devon Bautista <17506592+synackd@users.noreply.github.com>
Signed-off-by: Devon Bautista <17506592+synackd@users.noreply.github.com>
Check --no-confirm before checking token or performing any client
actions for user to confirm if they really want to perform action early
on.

Signed-off-by: Devon Bautista <17506592+synackd@users.noreply.github.com>
Signed-off-by: Devon Bautista <17506592+synackd@users.noreply.github.com>
Signed-off-by: Devon Bautista <17506592+synackd@users.noreply.github.com>
Signed-off-by: Devon Bautista <17506592+synackd@users.noreply.github.com>
Signed-off-by: Devon Bautista <17506592+synackd@users.noreply.github.com>
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