Skip to content

Bump composefs-rs#1445

Merged
cgwalters merged 1 commit intobootc-dev:mainfrom
Johan-Liebert1:composefs-crates
Jul 24, 2025
Merged

Bump composefs-rs#1445
cgwalters merged 1 commit intobootc-dev:mainfrom
Johan-Liebert1:composefs-crates

Conversation

@Johan-Liebert1
Copy link
Collaborator

Also pull in composefs-boot and composefs-oci

Also pull in `composefs-boot` and `composefs-oci`

Signed-off-by: Johan-Liebert1 <pragyanpoudyal41999@gmail.com>
@Johan-Liebert1 Johan-Liebert1 mentioned this pull request Jul 24, 2025
1 task
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request bumps the composefs-rs dependency and adds composefs-boot and composefs-oci as new dependencies. The code changes in crates/lib/src/cli.rs and crates/ostree-ext/src/fsverity.rs correctly adapt to the API changes from the updated dependency. The dependency declarations in crates/ostree-ext/Cargo.toml are correct but could be improved for maintainability by leveraging workspace dependencies to avoid repetition of the git repository and revision, which I've commented on. Overall, the changes look good and align with the PR's objective.

let fd =
std::fs::File::open(&path).with_context(|| format!("Reading {path}"))?;
fsverity::enable_verity::<fsverity::Sha256HashValue>(&fd)?;
fsverity::enable_verity_raw::<fsverity::Sha256HashValue>(&fd)?;
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is the most direct change and is fine for now but we should do a followup that uses the retry variants

@cgwalters cgwalters enabled auto-merge July 24, 2025 13:23
@cgwalters cgwalters merged commit 87e2867 into bootc-dev:main Jul 24, 2025
28 of 31 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.

2 participants