Skip to content

Commit

Permalink
Support for split layers
Browse files Browse the repository at this point in the history
Closes: ostreedev#69

This is initial basic support for splitting files (objects) from
a commit into separate container image layers, and reassembling
those layers into a commit on the client.

We retain our present logic around e.g. GPG signature verification.

There's a new `chunking.rs` file which has logic to automatically
factor out things like the kernel/initramfs and large files.

In order to fetch these images client side, we now heavily
intermix/cross the previous code for fetching non-ostree layers.
  • Loading branch information
cgwalters committed Mar 11, 2022
1 parent a3fff4d commit 52b91a0
Show file tree
Hide file tree
Showing 13 changed files with 1,060 additions and 266 deletions.
3 changes: 1 addition & 2 deletions lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ version = "0.6.5"

[dependencies]
anyhow = "1.0"
containers-image-proxy = "0.4.0"
containers-image-proxy = { features = ["proxy_v0_2_3"], version = "0.4.0" }

async-compression = { version = "0.3", features = ["gzip", "tokio"] }
bitflags = "1"
Expand Down Expand Up @@ -59,4 +59,3 @@ features = ["dox"]
[features]
dox = ["ostree/dox"]
internal-testing-api = ["sh-inline", "indoc"]
proxy_v0_2_3 = ["containers-image-proxy/proxy_v0_2_3"]
Loading

0 comments on commit 52b91a0

Please sign in to comment.