Skip to content

Commit

Permalink
Ensure file modification and access time of files is set to be the ti…
Browse files Browse the repository at this point in the history
…me the file is written by giant-squid when stream untarring files. Fixes #22.
  • Loading branch information
gsleap committed May 23, 2024
1 parent 5699e29 commit 45908e3
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 39 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic
Versioning](https://semver.org/spec/v2.0.0.html).

## 1.0.3 - 2024-05-23

* BUGFIX- ensure file modification and access time of files is set to be the time the file is written by giant-squid when stream untarring files. Fixes #22.

## 1.0.2 - 2024-05-16

* BUGFIX- allow-resubmit was being passed as True regardless of the command line argument (or omission of) used.
Expand Down
74 changes: 37 additions & 37 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mwa_giant_squid"
version = "1.0.2"
version = "1.0.3"
authors = [
"Christopher H. Jordan <christopherjordan87@gmail.com>",
"Harrison Barlow <harrison.barlow@curtin.edu.au>",
Expand Down
2 changes: 1 addition & 1 deletion src/asvo/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ impl AsvoClient {
let unpack_path = Path::new(download_dir);
info!("Untarring to {:?}", unpack_path);
let mut tar = Archive::new(&mut tee);

tar.set_preserve_mtime(false);
tar.unpack(unpack_path)?;
}

Expand Down

0 comments on commit 45908e3

Please sign in to comment.