Skip to content

refactor(boil)!: Refactor internal code structure#1451

Open
Techassi wants to merge 2 commits intomainfrom
refactor/boil-commands
Open

refactor(boil)!: Refactor internal code structure#1451
Techassi wants to merge 2 commits intomainfrom
refactor/boil-commands

Conversation

@Techassi
Copy link
Copy Markdown
Member

This also restructures the CLI interface slightly:

  • boil show images is now boil image list
  • boil images is an alias for boil image list

This is done in preparation for an upcoming boil image check command. These changes require changes in stackabletech/actions when a new version of boil is released.

This also restructures the CLI interface slightly:

- `boil show images` is now `boil image list`
- `boil images` is an alias for `boil image list`

This is done in preparation for an upcoming `boil image check` command.
@Techassi Techassi self-assigned this Mar 17, 2026

#[derive(Clone, Debug)]
pub struct Image {
pub struct ImageSelector {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Could do with a brief doc-comment, but that's unrelated to this change

Copy link
Copy Markdown
Member

@NickLarsenNZ NickLarsenNZ left a comment

Choose a reason for hiding this comment

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

LGTM

(ANNOTATION_CREATED.to_owned(), date_time.clone()),
(ANNOTATION_REVISION.to_owned(), revision),
(LABEL_BUILD_DATE.to_owned(), date_time),
(DOCKER_LABEL_BUILD_DATE.to_owned(), date_time),
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is it a docker thing, or general container thing?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yeah, labels are a Docker thing. OCI calls them annotations. Also, the annotation containing the "build date" is called org.opencontainers.image.created.

}
// TODO (@Techassi): These tests are currently commented out because rstest
// contains a bug related to the Rust's core library and the local core
// module. It is fixed upstream, but not released yet.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We should maybe add a link to the issue/PR so anyone can see when it's done, but I assume you will take care of it, so not a big deal.

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