-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't try to instantiate a Bag instance on non-directories in
is_bag
.
Don't preserve `mtime` for payload files in idempotent mode. There are arguments for/against this but there is ultimately more broad utility in eliminating it. At some point there must be a tradeoff; if this information is important to preserve, idempotent mode should not be used. Similarly, when extracting a tar-based archive, if `mtime` is set to zero (i.e. epoch), use the tarfile extraction filter to set `mtime` to None which will cause tarfile to suppress preserving the mtime in the extracted file. This should work in every version that has the back-ported extraction filter support. Python versions less than 3.8 won't be able to do this but those are deprecated and are going to be unsupported by bdbag soon. Add Python 3.12 into GH Actions tests. Remove travis.yml.
- Loading branch information
Showing
4 changed files
with
17 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters