| Wed, 15 Jan 2025 15:40:46 +0100 |
Franz Glasner |
Extend the max line length to read to 4096, which is something along PATH_MAX onn Linux
|
| Wed, 15 Jan 2025 14:41:36 +0100 |
Franz Glasner |
Implement basic parsing of treesum output.
|
| Tue, 14 Jan 2025 13:32:25 +0100 |
Franz Glasner |
Mention the vendored crcmod/crcmod2 in the LICENSE (LICENSE.txt)
|
| Tue, 14 Jan 2025 13:31:39 +0100 |
Franz Glasner |
Sync with latest crcmod2
|
| Tue, 14 Jan 2025 11:35:18 +0100 |
Franz Glasner |
FIX: "digest" had overwritteh the digest module
|
| Tue, 14 Jan 2025 11:26:38 +0100 |
Franz Glasner |
Include some new algorithms: CRC
|
| Tue, 14 Jan 2025 11:26:12 +0100 |
Franz Glasner |
Include the vendored crcmod2 (aka crcmod) in the build; exclude from flake8
|
| Mon, 13 Jan 2025 15:52:26 +0100 |
Franz Glasner |
Syced with latest additions to crcmod2: new predefined CRC-64 models
|
| Mon, 13 Jan 2025 04:15:08 +0100 |
Franz Glasner |
Add a unittest for the vendored crcmod2 (in cutils.crcmod)
|
| Mon, 13 Jan 2025 04:09:35 +0100 |
Franz Glasner |
Vendored crcmod2 into sub-package "cutils.crcmod" as pure-Python implementation of additional "digests": CRC sums.
|
| Sat, 11 Jan 2025 22:26:00 +0100 |
Franz Glasner |
Also write a (standard) CRC-32 checksum for each block of output
|
| Sat, 11 Jan 2025 21:18:53 +0100 |
Franz Glasner |
Cleanup: remove non used walk-code
|
| Sat, 11 Jan 2025 17:41:28 +0100 |
Franz Glasner |
Add an alternate implementation for generating directory tree digests:
|
| Sat, 11 Jan 2025 13:20:14 +0100 |
Franz Glasner |
Implement preconditions for some debug logging
|
| Sat, 11 Jan 2025 12:20:11 +0100 |
Franz Glasner |
Implement cutils.util.walk.Scandir as a wrapper for os.scandir()
|
| Fri, 10 Jan 2025 15:34:50 +0100 |
Franz Glasner |
Use "return 0" instead of "sys.exit(0)" when printing version and help#
|
| Fri, 10 Jan 2025 12:46:44 +0100 |
Franz Glasner |
treesum.py now runs on Python3.4 also: use a workaround for its missing byte % formatting.
|
| Fri, 10 Jan 2025 11:38:31 +0100 |
Franz Glasner |
Now the selection of the default algorithm depends on availiability in hashlib
|
| Fri, 10 Jan 2025 11:25:56 +0100 |
Franz Glasner |
Remove "os" and "sys" from module symbols in test setup
|
| Fri, 10 Jan 2025 10:32:52 +0100 |
Franz Glasner |
Mode for treesum.py to print only the size of files and the accumulated size of a directory: --size-only.
|
| Thu, 09 Jan 2025 18:11:38 +0100 |
Franz Glasner |
Sort flags in the output
|
| Thu, 09 Jan 2025 18:02:46 +0100 |
Franz Glasner |
Implement "--print-size" to print file and accumulated directory sizes also.
|
| Thu, 09 Jan 2025 14:17:01 +0100 |
Franz Glasner |
Formatting
|
| Thu, 09 Jan 2025 14:06:01 +0100 |
Franz Glasner |
FIX: in util.normalize_filename(): use the 'u"' prefix in the else part for non-byte strings
|
| Thu, 09 Jan 2025 13:57:03 +0100 |
Franz Glasner |
The scandir package is not needed any more on Python <3.5 because fs walking has been implemented using os.listdir() also
|
| Thu, 09 Jan 2025 13:48:57 +0100 |
Franz Glasner |
Move PY2 from cutils.util.constants into cutils.util
|
| Thu, 09 Jan 2025 13:40:33 +0100 |
Franz Glasner |
FIX: Add "fsencode" to public functions in cutils.util
|
| Thu, 09 Jan 2025 13:36:41 +0100 |
Franz Glasner |
Implement walk._walk() using os.listdir() also.
|
| Tue, 07 Jan 2025 19:20:32 +0100 |
Franz Glasner |
In directory digests: include the octet-length of the checksums also
|
| Tue, 07 Jan 2025 12:55:55 +0100 |
Franz Glasner |
Remove debug output
|
| Tue, 07 Jan 2025 12:55:45 +0100 |
Franz Glasner |
FIX: Add --mode and --full-mode to the "FLAGS" output
|
| Tue, 07 Jan 2025 12:48:37 +0100 |
Franz Glasner |
Implement "--full-mode" for "treesum.py"
|
| Mon, 06 Jan 2025 21:03:10 +0100 |
Franz Glasner |
Implement "--mode" flag for "treesum.py" to consider file portable mode bits
|
| Mon, 06 Jan 2025 14:38:07 +0100 |
Franz Glasner |
Calculate "stat()" for directories also in a WalkDirEntry
|
| Mon, 06 Jan 2025 13:39:12 +0100 |
Franz Glasner |
When computing digests use the order imposed by names alone.
|
| Mon, 06 Jan 2025 13:38:09 +0100 |
Franz Glasner |
Merge dirs and nondirs into one list that is yielded from "util.walk()"
|
| Sat, 04 Jan 2025 15:41:00 +0100 |
Franz Glasner |
Comment
|
| Sat, 04 Jan 2025 15:31:39 +0100 |
Franz Glasner |
Truncate the timestamp in the output to seconds
|
| Fri, 03 Jan 2025 23:33:37 +0100 |
Franz Glasner |
Implement "--mtime" for treesum to include a file's mtime in a directory digest.
|
| Fri, 03 Jan 2025 23:08:02 +0100 |
Franz Glasner |
Implement "--minimal [TAG]" for treesum.
|
| Fri, 03 Jan 2025 17:16:05 +0100 |
Franz Glasner |
Put the defaults generation when generating directory digests into "generate_treesum()" instead of "main()"
|
| Fri, 03 Jan 2025 17:04:29 +0100 |
Franz Glasner |
Optimize help / usage output for the global options.
|
| Fri, 03 Jan 2025 16:51:26 +0100 |
Franz Glasner |
Add also a "help" subcommand to "treesum".
|
| Fri, 03 Jan 2025 16:32:40 +0100 |
Franz Glasner |
Optimize argument parsing for the "version" command
|
| Fri, 03 Jan 2025 16:22:59 +0100 |
Franz Glasner |
Optimize help output for subcommands
|
| Fri, 03 Jan 2025 16:05:38 +0100 |
Franz Glasner |
Make a "version" subcommand to also print the program's version number for "treesum"
|
| Fri, 03 Jan 2025 16:05:11 +0100 |
Franz Glasner |
Wording
|
| Fri, 03 Jan 2025 15:49:57 +0100 |
Franz Glasner |
Prepare for using subcommands in "treesum.py".
|
| Fri, 03 Jan 2025 01:33:01 +0100 |
Franz Glasner |
For now: require the scandir package if "treesum" or "all" is specified as extra and Python is < 3.5
|
| Fri, 03 Jan 2025 01:06:19 +0100 |
Franz Glasner |
Use a declarative setup configuration now in setup.cfg
|
| Fri, 03 Jan 2025 00:35:27 +0100 |
Franz Glasner |
Exclude Python 3.0, 3.1, 3.2 and 3.3
|
| Fri, 03 Jan 2025 00:32:56 +0100 |
Franz Glasner |
Add a minimal pyproject.toml
|
| Thu, 02 Jan 2025 23:40:05 +0100 |
Franz Glasner |
Change the tag for symlinks given on the command line: no "filename" here
|
| Thu, 02 Jan 2025 23:15:55 +0100 |
Franz Glasner |
"-l" is now the sort form of "--follow-directory-symlinks"
|
| Thu, 02 Jan 2025 23:15:10 +0100 |
Franz Glasner |
Allow to put comments into the output with "--comment"
|
| Thu, 02 Jan 2025 23:03:20 +0100 |
Franz Glasner |
Put a file version number into the output.
|
| Thu, 02 Jan 2025 21:03:43 +0100 |
Franz Glasner |
Style
|
| Thu, 02 Jan 2025 20:55:51 +0100 |
Franz Glasner |
Encode the link targets as netstrings also before digesting them
|
| Thu, 02 Jan 2025 20:52:49 +0100 |
Franz Glasner |
Implement --follow-directory-symlinks when walking a directory tree
|
| Thu, 02 Jan 2025 19:50:24 +0100 |
Franz Glasner |
Change again the filename tags to be used for symlinks
|