| Tue, 21 Jan 2025 20:31:48 +0100 |
Franz Glasner |
Fully implemented UTF-8 mode for treeview.
|
| Tue, 21 Jan 2025 18:57:02 +0100 |
Franz Glasner |
Common static method for some alternative encodings
|
| Tue, 21 Jan 2025 14:51:58 +0100 |
Franz Glasner |
First preparations to implement an UTF-8-mode for treeview
|
| Tue, 21 Jan 2025 14:30:06 +0100 |
Franz Glasner |
Much more encoding-related methods for DirWalkEntry and some unittests
|
| Fri, 17 Jan 2025 20:12:58 +0100 |
Franz Glasner |
Print the FSENCODING in uppdercase characters always.
|
| Fri, 17 Jan 2025 15:24:08 +0100 |
Franz Glasner |
Implement a "close()" method for cutils.util.walk.ScanDir.
|
| Thu, 16 Jan 2025 23:18:04 +0100 |
Franz Glasner |
Put the effective filesystem encoding into the treesum digest file using FSENCODING = <encoding>
|
| Thu, 16 Jan 2025 20:40:24 +0100 |
Franz Glasner |
Return the CRC-32 digest on Python2 as unsigned int instead of a signed one.
|
| Thu, 16 Jan 2025 20:01:37 +0100 |
Franz Glasner |
Prepare for more Python2/3 compatibility: everywhere import print_function and absolute_import
|
| Thu, 16 Jan 2025 19:31:57 +0100 |
Franz Glasner |
Use the imported "scandir()" implementation instead always the "os.scandir"
|
| Thu, 16 Jan 2025 19:05:17 +0100 |
Franz Glasner |
Begin a file with some notes on treesum.py and its digest file format
|
| Thu, 16 Jan 2025 19:04:33 +0100 |
Franz Glasner |
Change: path indicators for symlinks: ./@ -> ./@/ and /./@ -> /./@/
|
| Thu, 16 Jan 2025 12:19:02 +0100 |
Franz Glasner |
Comment WalkDirEntry properties somewhat
|
| Thu, 16 Jan 2025 11:31:37 +0100 |
Franz Glasner |
Make "--debug" a global argument in treeview
|
| Thu, 16 Jan 2025 11:29:36 +0100 |
Franz Glasner |
First implementation of "treeview info" to print some information from the treeview digest files
|
| 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
|
| Thu, 02 Jan 2025 18:36:40 +0100 |
Franz Glasner |
Output FLAGS as line "FLAGS = ..." instead of "FLAGS (...)"
|
| Thu, 02 Jan 2025 18:23:10 +0100 |
Franz Glasner |
Add TIMESTAMP and ISOTIMESTAMP to the output
|
| Thu, 02 Jan 2025 17:46:50 +0100 |
Franz Glasner |
Change the filename output: make it more consistent
|
| Thu, 02 Jan 2025 17:09:50 +0100 |
Franz Glasner |
Extend copyright years to 2025
|
| Thu, 02 Jan 2025 17:03:10 +0100 |
Franz Glasner |
Implement "--logical" and "--physical" to control following symlinked directories when given on the commandline
|
| Thu, 02 Jan 2025 13:29:20 +0100 |
Franz Glasner |
A first version of "treesum" is working
|
| Thu, 02 Jan 2025 12:43:40 +0100 |
Franz Glasner |
Use the output of "scandir()" directly if it has a "close" method.
|
| Wed, 01 Jan 2025 18:57:25 +0100 |
Franz Glasner |
Move the real computation of digests from files and streams into dedicated submodule cutils.util.digest
|
| Wed, 01 Jan 2025 17:52:41 +0100 |
Franz Glasner |
A heavily customized "os.walk()" alike to support the coming treeview implementation
|
| Sun, 29 Dec 2024 18:46:23 +0100 |
Franz Glasner |
More accurate description of --algorithm.
|
| Sun, 29 Dec 2024 18:34:22 +0100 |
Franz Glasner |
Adjust copyright year of shasum to 2024
|
| Sun, 29 Dec 2024 18:22:22 +0100 |
Franz Glasner |
Move some functions into cutils.util (i.e. algorithms and their aliases)
|
| Sun, 29 Dec 2024 17:39:00 +0100 |
Franz Glasner |
Move constant definitions into new module cutils.util.constants
|
| Sun, 29 Dec 2024 15:43:27 +0100 |
Franz Glasner |
FIX: Typo.
|
| Sun, 29 Dec 2024 15:31:38 +0100 |
Franz Glasner |
New subpackage with a "contextlib.nullcontext" for older Python versions
|
| Mon, 23 Dec 2024 20:01:25 +0100 |
Franz Glasner |
coding declaration for the cutils package (__init__.py)
|
| Sun, 22 Dec 2024 21:17:27 +0100 |
Franz Glasner |
Style
|
| Sun, 22 Dec 2024 20:26:43 +0100 |
Franz Glasner |
"Programming Language :: Python" is implied by sub-classifiers
|
| Sun, 22 Dec 2024 20:25:21 +0100 |
Franz Glasner |
Add "End Users/Desktop" to the intended audience
|
| Fri, 20 Dec 2024 00:08:26 +0100 |
Franz Glasner |
When generating digests recursively normalize the output somewhat by sorting directory names and filenames
|
| Mon, 30 May 2022 09:22:47 +0200 |
Franz Glasner |
===== Added signature for changeset 186170f5ac56
|
| Mon, 30 May 2022 09:22:22 +0200 |
Franz Glasner |
>>>>> Added tag v0.4.4 for changeset 0edbb9a261f7
|
| Mon, 30 May 2022 09:22:13 +0200 |
Franz Glasner |
+++++ v0.4.4
v0.4.4
|
| Mon, 30 May 2022 09:15:18 +0200 |
Franz Glasner |
Implement "--recurse" and "--follow-symlinks" in "gen_opts()" also
|
| Sun, 29 May 2022 01:06:25 +0200 |
Franz Glasner |
Implement "--follow-symlinks" to allow to control whether to follow directory symlinks
|
| Thu, 26 May 2022 23:14:38 +0200 |
Franz Glasner |
Implement "--recurse" for shasum: recurse into directories
|
| Fri, 29 Apr 2022 10:31:18 +0200 |
Franz Glasner |
Some more tests
|
| Fri, 29 Apr 2022 10:19:27 +0200 |
Franz Glasner |
FIX: Make tests work on Python 2
|
| Fri, 29 Apr 2022 09:27:05 +0200 |
Franz Glasner |
Begin some unittests for shasum
|
| Fri, 29 Apr 2022 04:57:08 +0200 |
Franz Glasner |
FIX: Implement some new commandline flags in "gen_opts()" also
|
| Fri, 22 Apr 2022 09:28:26 +0200 |
Franz Glasner |
===== Added signature for changeset f1e5590a3efb
|
| Fri, 22 Apr 2022 09:28:10 +0200 |
Franz Glasner |
>>>>> Added tag v0.4.3 for changeset 10785998be38
|
| Fri, 22 Apr 2022 09:27:58 +0200 |
Franz Glasner |
+++++ v0.4.3
v0.4.3
|
| Thu, 21 Apr 2022 18:53:38 +0200 |
Franz Glasner |
Employ .readinto() on Python 3
|
| Thu, 21 Apr 2022 18:52:53 +0200 |
Franz Glasner |
Style: canonical global variable and import ordering
|
| Thu, 21 Apr 2022 16:01:19 +0200 |
Franz Glasner |
Use "fadvise()" with POSIX_FADV_SEQUENTIAL -- if available
|
| Thu, 21 Apr 2022 09:18:23 +0200 |
Franz Glasner |
===== Added signature for changeset a8c8a825890c
|
| Thu, 21 Apr 2022 09:18:07 +0200 |
Franz Glasner |
>>>>> Added tag v0.4.2 for changeset 0ebdd6b01c08
|
| Thu, 21 Apr 2022 09:17:53 +0200 |
Franz Glasner |
+++++ v0.4.2
v0.4.2
|
| Thu, 21 Apr 2022 09:16:21 +0200 |
Franz Glasner |
Allow to control the use of mmap from the command-line
|
| Thu, 21 Apr 2022 01:20:35 +0200 |
Franz Glasner |
By default use mmap only for files up to 8MiB in size.
|
| Thu, 21 Apr 2022 00:24:49 +0200 |
Franz Glasner |
Support for using the pyblake2 package if native support for BLAKE2 is not available in hashlib.
|
| Thu, 21 Apr 2022 00:09:17 +0200 |
Franz Glasner |
Implement support for BLAKE2b-256 (aka BLAKE2-256).
|
| Wed, 20 Apr 2022 23:20:24 +0200 |
Franz Glasner |
Make "blake2" an alias of "blake2b"
|
| Wed, 20 Apr 2022 23:15:55 +0200 |
Franz Glasner |
Get the factory for blake2b and blake2s indirectly: prepare for blake2-256
|