diff --git a/Cargo.lock b/Cargo.lock index a91f4be8e0e..881d9b5837e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1085,10 +1085,9 @@ dependencies = [ [[package]] name = "git-chunk" -version = "0.0.0" +version = "0.1.0" dependencies = [ "git-testtools", - "hex", "quick-error", ] diff --git a/etc/check-package-size.sh b/etc/check-package-size.sh index ac911a6b3fe..84e875d2aaf 100755 --- a/etc/check-package-size.sh +++ b/etc/check-package-size.sh @@ -22,6 +22,7 @@ echo "in root: gitoxide CLI" (enter git-lock && indent cargo diet -n --package-size-limit 15KB) (enter git-config && indent cargo diet -n --package-size-limit 65KB) (enter git-hash && indent cargo diet -n --package-size-limit 10KB) +(enter git-chunk && indent cargo diet -n --package-size-limit 5KB) (enter git-features && indent cargo diet -n --package-size-limit 35KB) (enter git-ref && indent cargo diet -n --package-size-limit 50KB) (enter git-diff && indent cargo diet -n --package-size-limit 10KB) diff --git a/git-chunk/CHANGELOG.md b/git-chunk/CHANGELOG.md index a4f7c30e063..0f9003f55cb 100644 --- a/git-chunk/CHANGELOG.md +++ b/git-chunk/CHANGELOG.md @@ -7,3 +7,35 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +Initial release with enough functionality to handle multi-pack indices and commitgraph files. + +### Commit Statistics + + + + - 6 commits contributed to the release. + - 0 commits where understood as [conventional](https://www.conventionalcommits.org). + - 1 unique issue was worked on: [#279](https://github.com/Byron/gitoxide/issues/279) + +### Thanks Clippy + + + +[Clippy](https://github.com/rust-lang/rust-clippy) helped 1 time to make code idiomatic. + +### Commit Details + + + +
view details + + * **[#279](https://github.com/Byron/gitoxide/issues/279)** + - remove empty tests ([`e30dcea`](https://github.com/Byron/gitoxide/commit/e30dcea6ca56b7bea175be11868e924317ab9974)) + - read and validate fanout chunk ([`3ca04e3`](https://github.com/Byron/gitoxide/commit/3ca04e355a413975e55adf8b204d6962a9341d32)) + - Read all mandatory and optional chunks ([`99023bb`](https://github.com/Byron/gitoxide/commit/99023bbde027be82e9217868df7f73ecd09bf705)) + - Load chunk index of midx file ([`fac8efa`](https://github.com/Byron/gitoxide/commit/fac8efacb31935c2143717ebe82003a0916f233f)) + - frame for git-chunk crate to share among git-pack and git-commitgraph ([`b2d2ae2`](https://github.com/Byron/gitoxide/commit/b2d2ae221d43cc14aa169ada3c471e2bd2adadf4)) + * **Uncategorized** + - thanks clippy ([`35cf46f`](https://github.com/Byron/gitoxide/commit/35cf46f87ecc42cf033ca001acf1b5918b3fea1b)) +
+ diff --git a/git-chunk/Cargo.toml b/git-chunk/Cargo.toml index ad74e3f546c..aff1360cfdd 100644 --- a/git-chunk/Cargo.toml +++ b/git-chunk/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "git-chunk" -version = "0.0.0" +version = "0.1.0" description = "Interact with the git chunk file format used in multi-pack index and commit-graph files" authors = ["Sebastian Thiel "] repository = "https://github.com/Byron/gitoxide" @@ -15,7 +15,6 @@ test = false [dependencies] quick-error = "2.0.0" -hex = "0.4.2" [dev-dependencies] git-testtools = { path = "../tests/tools"} diff --git a/git-pack/Cargo.toml b/git-pack/Cargo.toml index 1ff5a57e936..f8cf7fc113f 100644 --- a/git-pack/Cargo.toml +++ b/git-pack/Cargo.toml @@ -35,7 +35,7 @@ all-features = true [dependencies] git-features = { version ="^0.18.0", path = "../git-features", features = ["crc32", "rustsha1", "progress", "zlib"] } git-hash = { version ="^0.8.0", path = "../git-hash" } -git-chunk = { version ="^0.0.0", path = "../git-chunk" } +git-chunk = { version ="^0.1.0", path = "../git-chunk" } git-object = { version ="^0.16.0", path = "../git-object" } git-traverse = { version ="^0.11.0", path = "../git-traverse" } git-diff = { version ="^0.12.0", path = "../git-diff" }