Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c8bda4b76f | ||
|
|
fe10962c4b | ||
|
|
4dc8db6921 |
No files matched your search
+8
-1
@@ -2,6 +2,12 @@
|
|||||||
|
|
||||||
## [Unreleased] - ReleaseDate
|
## [Unreleased] - ReleaseDate
|
||||||
|
|
||||||
|
## [0.2.16] - 2026-03-23
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Fix bug that causes tarball extraction to fail
|
||||||
|
|
||||||
## [0.2.15] - 2026-03-22
|
## [0.2.15] - 2026-03-22
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
@@ -182,8 +188,9 @@
|
|||||||
- First release
|
- First release
|
||||||
|
|
||||||
<!-- next-url -->
|
<!-- next-url -->
|
||||||
[Unreleased]: https://github.com/meehl/rusty-path-of-building/compare/v0.2.15...HEAD
|
[Unreleased]: https://github.com/meehl/rusty-path-of-building/compare/v0.2.16...HEAD
|
||||||
|
|
||||||
|
[0.2.16]: https://github.com/meehl/rusty-path-of-building/compare/v0.2.15...v0.2.16
|
||||||
[0.2.15]: https://github.com/meehl/rusty-path-of-building/compare/v0.2.14...v0.2.15
|
[0.2.15]: https://github.com/meehl/rusty-path-of-building/compare/v0.2.14...v0.2.15
|
||||||
[0.2.14]: https://github.com/meehl/rusty-path-of-building/compare/v0.2.13...v0.2.14
|
[0.2.14]: https://github.com/meehl/rusty-path-of-building/compare/v0.2.13...v0.2.14
|
||||||
[0.2.13]: https://github.com/meehl/rusty-path-of-building/compare/v0.2.12...v0.2.13
|
[0.2.13]: https://github.com/meehl/rusty-path-of-building/compare/v0.2.12...v0.2.13
|
||||||
|
|||||||
Generated
+1
-1
@@ -3099,7 +3099,7 @@ checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "rusty-path-of-building"
|
name = "rusty-path-of-building"
|
||||||
version = "0.2.15"
|
version = "0.2.16"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"ahash",
|
"ahash",
|
||||||
"anyhow",
|
"anyhow",
|
||||||
|
|||||||
+1
-1
@@ -4,7 +4,7 @@ authors = ["meehl"]
|
|||||||
description = "Cross-platform runtime for Path of Building"
|
description = "Cross-platform runtime for Path of Building"
|
||||||
repository = "https://github.com/meehl/rusty-path-of-building"
|
repository = "https://github.com/meehl/rusty-path-of-building"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
version = "0.2.15"
|
version = "0.2.16"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
|
|||||||
@@ -183,16 +183,7 @@ pub fn download_and_extract_tarball(
|
|||||||
let gz = GzDecoder::new(io::BufReader::new(tmp_file));
|
let gz = GzDecoder::new(io::BufReader::new(tmp_file));
|
||||||
let mut archive = Archive::new(gz);
|
let mut archive = Archive::new(gz);
|
||||||
|
|
||||||
let mut entries = archive.entries()?;
|
for entry_result in archive.entries()? {
|
||||||
|
|
||||||
let root_prefix = {
|
|
||||||
let first = entries
|
|
||||||
.next()
|
|
||||||
.ok_or_else(|| io::Error::new(io::ErrorKind::UnexpectedEof, "archive is empty"))??;
|
|
||||||
first.path()?.to_string_lossy().into_owned()
|
|
||||||
};
|
|
||||||
|
|
||||||
for entry_result in entries {
|
|
||||||
let mut entry = entry_result?;
|
let mut entry = entry_result?;
|
||||||
let entry_path = entry.path()?.to_path_buf();
|
let entry_path = entry.path()?.to_path_buf();
|
||||||
let entry_str = entry_path.to_string_lossy();
|
let entry_str = entry_path.to_string_lossy();
|
||||||
@@ -202,9 +193,9 @@ pub fn download_and_extract_tarball(
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Strip root prefix before matching against rules
|
// Strip root folder before matching against rules
|
||||||
let relative = match entry_str.strip_prefix(root_prefix.as_str()) {
|
let relative = match entry_str.split_once('/') {
|
||||||
Some(r) => r,
|
Some((_, rest)) => rest,
|
||||||
None => continue,
|
None => continue,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user