| Tue, 01 Apr 2025 19:17:51 +0200 |
Franz Glasner |
treesum: preliminary command handling: use always "elif"
|
| Tue, 01 Apr 2025 18:59:32 +0200 |
Franz Glasner |
treesum: optimize general help output regarding the "help" subcommand
|
| Tue, 01 Apr 2025 18:56:17 +0200 |
Franz Glasner |
treesum: optimize help output: do not print "-h/--help" for "patterns" and "help"
|
| Tue, 01 Apr 2025 18:49:27 +0200 |
Franz Glasner |
treesum: Now handle all help related stuff in main()
|
| Tue, 01 Apr 2025 16:31:20 +0200 |
Franz Glasner |
FIX: typo in notes.rst: file type marker for Solaris event ports
|
| Tue, 01 Apr 2025 12:45:56 +0200 |
Franz Glasner |
Move the computation of the special tag string marker for special files into a property
|
| Tue, 01 Apr 2025 12:15:05 +0200 |
Franz Glasner |
Also encode TAB characters specially for output in digest files.
|
| Tue, 01 Apr 2025 11:20:22 +0200 |
Franz Glasner |
Typo in notes.rst
|
| Mon, 31 Mar 2025 15:24:48 +0200 |
Franz Glasner |
treesum: right-align the output of size when using the tabular style
|
| Mon, 31 Mar 2025 14:51:32 +0200 |
Franz Glasner |
treesum: allow parsing of files again where sizes are printed with grouping with standard separators out of "., '_"
|
| Mon, 31 Mar 2025 14:39:01 +0200 |
Franz Glasner |
treesum: Use the grouping separator (aka thousands separator) when printing sizes
|
| Mon, 31 Mar 2025 14:09:56 +0200 |
Franz Glasner |
treesum: when printing an empty size on purpose do not provide an empty octet string but use -1 as size argument
|
| Mon, 31 Mar 2025 13:38:57 +0200 |
Franz Glasner |
treesum: .write_file_digest() method: the "size" parameter is now positional and mandatory
|
| Mon, 31 Mar 2025 12:57:39 +0200 |
Franz Glasner |
treesum: Also provide the WriterBase with flags when printing sizes
|
| Mon, 31 Mar 2025 09:02:43 +0200 |
Franz Glasner |
treesum: prepare for a grouping-separator (aka thousands separator) for sizes.
|
| Sun, 30 Mar 2025 16:20:04 +0200 |
Franz Glasner |
treesum: FIX: add missing size param
|
| Fri, 28 Mar 2025 15:29:15 +0100 |
Franz Glasner |
treesum: FIX: docs
|
| Fri, 28 Mar 2025 15:23:09 +0100 |
Franz Glasner |
treesum: attribute comment for "LS"
|
| Fri, 28 Mar 2025 15:16:12 +0100 |
Franz Glasner |
treesum: move the handling of base64 digest output into the writers completely
|
| Fri, 28 Mar 2025 14:20:45 +0100 |
Franz Glasner |
treesum: first minimal version of writing the treesum output in tabular format.
|
| Wed, 26 Mar 2025 23:44:30 +0100 |
Franz Glasner |
treesum: FIX: typo in parameter name: output_tyle -> output_style
|
| Wed, 26 Mar 2025 23:44:03 +0100 |
Franz Glasner |
treesum: parameter validation for "generator"
|
| Wed, 26 Mar 2025 23:42:08 +0100 |
Franz Glasner |
treesum: implement option "--output-style".
|
| Wed, 26 Mar 2025 23:06:05 +0100 |
Franz Glasner |
treesum: Rename the current TreesumWriter to TaggedTreesumWriter.
|
| Wed, 26 Mar 2025 22:47:59 +0100 |
Franz Glasner |
treesum: break up TreesumWriter in TreesumWriter and a new base class WriterBase.
|
| Wed, 26 Mar 2025 22:40:59 +0100 |
Franz Glasner |
WS
|
| Wed, 26 Mar 2025 18:42:23 +0100 |
Franz Glasner |
Adopt copyright and license wordings from https://reuse.software/faq/.
|
| Wed, 26 Mar 2025 13:00:40 +0100 |
Franz Glasner |
treesum: Remove CRC32Output completely
|
| Wed, 26 Mar 2025 12:56:19 +0100 |
Franz Glasner |
treesum: FIX: CRC32Output is not needed any more: do not wrap anything with it
|
| Mon, 10 Mar 2025 10:36:08 +0100 |
Franz Glasner |
===== signature for changeset fb2a9cc07bc8
|
| Mon, 10 Mar 2025 10:35:51 +0100 |
Franz Glasner |
>>>>> tag v0.7 for changeset 0cc1e0de8fce
|
| Mon, 10 Mar 2025 10:35:34 +0100 |
Franz Glasner |
+++++ v0.7
v0.7
|
| Mon, 10 Mar 2025 10:25:57 +0100 |
Franz Glasner |
treesum: when accepting treesum digest files put a line with its filename into the output
|
| Mon, 10 Mar 2025 10:25:20 +0100 |
Franz Glasner |
treesum: FIX: returned tag should be a native string
|
| Mon, 10 Mar 2025 10:19:33 +0100 |
Franz Glasner |
treesum: FIX: format string for interpolate_bytes() must be of bytes type
|
| Mon, 10 Mar 2025 10:10:41 +0100 |
Franz Glasner |
treesum: assert also in .write_accept_treesum() that the given filename is of bytes type
|
| Mon, 10 Mar 2025 10:04:02 +0100 |
Franz Glasner |
treesum: comments
|
| Mon, 10 Mar 2025 01:57:25 +0100 |
Franz Glasner |
treesum: Extensively improved "help patterns":
|
| Mon, 10 Mar 2025 01:45:09 +0100 |
Franz Glasner |
FIX: doc string for glob syntax rules
|
| Sun, 09 Mar 2025 20:43:20 +0100 |
Franz Glasner |
glob: also describe the "**/" pattern
|
| Sun, 09 Mar 2025 18:21:35 +0100 |
Franz Glasner |
Wording in README.txt
|
| Sat, 08 Mar 2025 04:49:06 +0100 |
Franz Glasner |
treesum: Implement --accept-treesum: trust a treesum-file for a directory checksum
|
| Fri, 07 Mar 2025 14:22:22 +0100 |
Franz Glasner |
treesum: Build a little static database of digest sizes.
|
| Wed, 05 Mar 2025 14:05:38 +0100 |
Franz Glasner |
treesum: use a callback to print parsed .treesum output file infos
|
| Wed, 05 Mar 2025 13:54:55 +0100 |
Franz Glasner |
fnmatch: allow to supply another default when determining matches
|
| Wed, 05 Mar 2025 10:24:51 +0100 |
Franz Glasner |
FIX: fnmatch: handle None fnmatch filter definitions
|
| Wed, 05 Mar 2025 10:22:29 +0100 |
Franz Glasner |
treesum: in the "info" command print a sortes list of errors
|
| Wed, 05 Mar 2025 10:07:44 +0100 |
Franz Glasner |
treesum: Implement --exclude/--include.
|
| Wed, 05 Mar 2025 10:06:38 +0100 |
Franz Glasner |
treesum: Change debug output: make output when entering a new root directory different from recursing into a sub-directory
|
| Tue, 04 Mar 2025 16:30:10 +0100 |
Franz Glasner |
treesum: Implement --include/--exclude commandline parsing for file name inclusion and exclusion.
|
| Tue, 04 Mar 2025 11:26:22 +0100 |
Franz Glasner |
treesum: remove not obsolete comment about not following symlinks to files
|
| Tue, 04 Mar 2025 09:01:42 +0100 |
Franz Glasner |
FIX: peeking for byte strings on Python3 needs to convert from int to bytes
|
| Tue, 04 Mar 2025 01:52:18 +0100 |
Franz Glasner |
First version of converting a glob-style pattern to a regex
|
| Sun, 02 Mar 2025 22:54:40 +0100 |
Franz Glasner |
Begin some preparation for handling glob-style patterns in treeview.
|
| Fri, 28 Feb 2025 14:11:20 +0100 |
Franz Glasner |
treesum: Add the treesum version and revision to the full generator output
|
| Tue, 25 Feb 2025 11:54:53 +0100 |
Franz Glasner |
===== signature for changeset b35686157a51
|
| Tue, 25 Feb 2025 11:54:20 +0100 |
Franz Glasner |
>>>>> tag v0.6 for changeset a1d61179e20c
|
| Tue, 25 Feb 2025 11:53:58 +0100 |
Franz Glasner |
+++++ v0.6
v0.6
|
| Tue, 25 Feb 2025 10:51:02 +0100 |
Franz Glasner |
treesum: Indicate that the ISO timestamp is UTC
|
| Mon, 24 Feb 2025 11:50:43 +0100 |
Franz Glasner |
treesum: FIX: Output of empty sizes in Python 3: print a realy empty string instead of "b''"
|
| Mon, 24 Feb 2025 02:53:58 +0100 |
Franz Glasner |
Add some new unittests for special chars (CR/LF) in paths
|
| Mon, 24 Feb 2025 02:19:26 +0100 |
Franz Glasner |
Add some minimal docs into _postprocess-sdist.py
|
| Sun, 23 Feb 2025 21:52:48 +0100 |
Franz Glasner |
Typo
|
| Sun, 23 Feb 2025 21:52:34 +0100 |
Franz Glasner |
Do not handle "file:" version specifications yet
|
| Sun, 23 Feb 2025 21:40:37 +0100 |
Franz Glasner |
Now dynamically the version attribute from setup.cfg
|
| Sun, 23 Feb 2025 21:27:48 +0100 |
Franz Glasner |
REFACTOR: sdist generation: postprocess an sdist to include symbolic links as symbolic links.
|
| Sun, 23 Feb 2025 14:45:26 +0100 |
Franz Glasner |
FIX: Unittests in test_walk.py: adjust to the new escaping behaviour
|
| Sun, 23 Feb 2025 12:40:28 +0100 |
Franz Glasner |
Reordering of methods: make it a little bit more consistent
|
| Sun, 23 Feb 2025 12:37:34 +0100 |
Franz Glasner |
treesum: FIX: Also do not allow CR and/or LF and/or backslashes in strictly FS encoded names
|
| Sun, 23 Feb 2025 10:01:09 +0100 |
Franz Glasner |
treesum: FIX: Also check for that backslashes are nor in u8name or u8path and encode them
|
| Sat, 22 Feb 2025 18:27:10 +0100 |
Franz Glasner |
treesum: when normalizing filenames also remove trailing "/."
|
| Fri, 21 Feb 2025 17:27:59 +0100 |
Franz Glasner |
treesum: FIX: Removal of backslashes in output: do this only where really needed.
|
| Fri, 21 Feb 2025 16:51:03 +0100 |
Franz Glasner |
treesum: FIX: Proper error handling.
|
| Fri, 21 Feb 2025 16:33:56 +0100 |
Franz Glasner |
treesum: when walking: if filenames contain CR and/or LF pretend that this names are not properly encoded.
|
| Thu, 20 Feb 2025 15:30:51 +0100 |
Franz Glasner |
treesum: Simplify the path computations and make the visible output more consistent.
|
| Wed, 19 Feb 2025 16:42:44 +0100 |
Franz Glasner |
WalkDirEntry: add support for special files (character and block special, FIFO, socket, door, whiteout, event port, ...)
|
| Wed, 19 Feb 2025 09:12:30 +0100 |
Franz Glasner |
treesum: - WalkDirEntry tests with a FIFO special file - WalkDirEntry.is_reg
|
| Tue, 18 Feb 2025 19:30:40 +0100 |
Franz Glasner |
Unittests for WalkDirEntry: is_dir, is_symlink and basic stat
|
| Tue, 18 Feb 2025 18:24:16 +0100 |
Franz Glasner |
treesum: Implement the --half/-H option: follow symlinks given on the command line but no other symlinks.
|
| Tue, 18 Feb 2025 16:07:28 +0100 |
Franz Glasner |
treesum: REFACTOR: Major refactoring of computing digests:
|
| Tue, 18 Feb 2025 13:10:05 +0100 |
Franz Glasner |
treesum: also return the algorithm used by directory digests.
|
| Tue, 18 Feb 2025 12:56:49 +0100 |
Franz Glasner |
treesum: refactor: remove early return and use an "else" branch instead
|
| Tue, 18 Feb 2025 12:43:31 +0100 |
Franz Glasner |
treesum: optimize the use of flush() somewhat
|
| Tue, 18 Feb 2025 12:39:04 +0100 |
Franz Glasner |
treesum: Handle errors like broken symlinks properly
|
| Mon, 17 Feb 2025 00:12:33 +0100 |
Franz Glasner |
FIX: typo in docs
|
| Sun, 16 Feb 2025 23:57:12 +0100 |
Franz Glasner |
Remove executable flag for cutils/genpwd.py
|
| Sun, 16 Feb 2025 23:55:36 +0100 |
Franz Glasner |
Add directory trees for tree walking and stat tests:
|
| Sun, 16 Feb 2025 15:25:37 +0100 |
Franz Glasner |
FIX: treesum: bytearray needs not to be handled
|
| Sun, 16 Feb 2025 14:17:10 +0100 |
Franz Glasner |
treesum: instead of using format_bsd_line use a real write object with specialized methods
|
| Sun, 16 Feb 2025 11:07:04 +0100 |
Franz Glasner |
treesum: Implement the CRC-32 using the new util.crc32 module
|
| Sun, 16 Feb 2025 09:46:41 +0100 |
Franz Glasner |
FIX: Handle OverflowErrlr when comparing CRCs with ints
|
| Sun, 16 Feb 2025 09:46:21 +0100 |
Franz Glasner |
FIX: description for overflow error
|
| Sun, 16 Feb 2025 09:30:23 +0100 |
Franz Glasner |
Tests: add a tests for the 32-bit border
|
| Sun, 16 Feb 2025 09:29:58 +0100 |
Franz Glasner |
Tests: ignore F401
|
| Sat, 15 Feb 2025 16:36:05 +0100 |
Franz Glasner |
Wrap zlib.crc32 into a hashlib-compatible interface
|
| Thu, 13 Feb 2025 11:57:32 +0100 |
Franz Glasner |
genpwd: allow grouping of the output
|
| Sat, 08 Feb 2025 15:09:32 +0100 |
Franz Glasner |
genpwd: more consistency with regard to help messages
|
| Sat, 08 Feb 2025 13:42:16 +0100 |
Franz Glasner |
genpwd: Wording in help and docs
|
| Sat, 08 Feb 2025 13:38:33 +0100 |
Franz Glasner |
genpwd: module description
|
| Sat, 08 Feb 2025 13:31:19 +0100 |
Franz Glasner |
genpwd: use binary output on Python3 to prevent double encoding
|
| Sat, 08 Feb 2025 13:26:39 +0100 |
Franz Glasner |
genpwd: allow with "--repertoire REPERTOIRE" to select from given character REPERTOIRE
|
| Sat, 08 Feb 2025 12:57:14 +0100 |
Franz Glasner |
genpwd: Rename "--repertoire" to "--algorithm"
|
| Sat, 08 Feb 2025 11:44:58 +0100 |
Franz Glasner |
genpwd: FIX: Help message for the default
|
| Sat, 08 Feb 2025 11:43:33 +0100 |
Franz Glasner |
genpwd: Implement "uri"
|
| Sat, 08 Feb 2025 10:53:56 +0100 |
Franz Glasner |
genpwd: make the default "safe-ascii"
|
| Sat, 08 Feb 2025 10:52:02 +0100 |
Franz Glasner |
genpwd: Renamed algorithms and changed restricted the WEB character repertoire to not use delims and sub-delims from URLs and URIs
|
| Sat, 08 Feb 2025 10:39:49 +0100 |
Franz Glasner |
genpwd: Implement ascii and alnum and their safe variants
|
| Sat, 08 Feb 2025 09:47:34 +0100 |
Franz Glasner |
Enhanced help message: describe the "bin-" prefix
|
| Sat, 08 Feb 2025 09:41:44 +0100 |
Franz Glasner |
Implement a "bin-hex" password selection/repertoire
|
| Sat, 08 Feb 2025 09:37:48 +0100 |
Franz Glasner |
Renamed algorithms/repertoire selection: use a "bin-" prefix when just the output of os.urandom() is encoded
|
| Sat, 08 Feb 2025 09:20:25 +0100 |
Franz Glasner |
genpwd: rename "gen_web()" to "gen_from_repertoire()"
|
| Sat, 08 Feb 2025 08:54:02 +0100 |
Franz Glasner |
Make selection from a character repertoire more evenly distributed
|
| Sat, 08 Feb 2025 08:53:18 +0100 |
Franz Glasner |
Enhance help message
|
| Fri, 07 Feb 2025 19:41:15 +0100 |
Franz Glasner |
genpwd: change the current "-e" option to "-E"
|
| Fri, 07 Feb 2025 19:32:45 +0100 |
Franz Glasner |
Implement option "-e" for genpwd to require a binary length instead of the output length.
|
| Fri, 07 Feb 2025 13:43:14 +0100 |
Franz Glasner |
FIX: For Python3: decode from ASCII before printing them: this removes the binary b'xxx' representation there
|
| Fri, 07 Feb 2025 13:42:03 +0100 |
Franz Glasner |
Assert that the generated password has the required (output) length
|
| Fri, 07 Feb 2025 13:38:06 +0100 |
Franz Glasner |
Implement the urlsafe base64 character repertoire
|
| Fri, 07 Feb 2025 13:30:33 +0100 |
Franz Glasner |
Use argparse in genpwd.py now.
|
| Fri, 07 Feb 2025 12:58:55 +0100 |
Franz Glasner |
Change copyright and note genpwd in the READNE and make an official script
|
| Fri, 07 Feb 2025 12:48:26 +0100 |
Franz Glasner |
Move the original genpwd.py into cutils.
|
| Fri, 07 Feb 2025 12:38:14 +0100 |
Franz Glasner |
MERGE: with branch "imports": genpwd.py
|
| Fri, 07 Feb 2025 12:37:13 +0100 |
Franz Glasner |
imports: import genpwd,py from fmgbackup4.
imports
|
| Sat, 25 Jan 2025 18:01:26 +0100 |
Franz Glasner |
===== signature for changeset 393da3f9d8a9
|
| Sat, 25 Jan 2025 18:01:13 +0100 |
Franz Glasner |
===== tag v0.5.1 for changeset 422a594c588e
|
| Sat, 25 Jan 2025 18:01:00 +0100 |
Franz Glasner |
+++++ v0.5.1
v0.5.1
|
| Sat, 25 Jan 2025 14:22:34 +0100 |
Franz Glasner |
Commentx
|
| Sat, 25 Jan 2025 14:21:45 +0100 |
Franz Glasner |
Note that ROOT and COMMENT are always printed in UTF-8 encoding
|
| Sat, 25 Jan 2025 13:58:33 +0100 |
Franz Glasner |
Rename WalkDirEntry.sort_key and WalkDirEntry.alt_sort_key
|
| Sat, 25 Jan 2025 13:50:21 +0100 |
Franz Glasner |
"treesum info": print comments only if not empty
|
| Sat, 25 Jan 2025 13:49:12 +0100 |
Franz Glasner |
Refactored the printing of FLAGS: print flags always and explicitely print symlink behaviour and encoding configuration
|
| Sat, 25 Jan 2025 09:56:19 +0100 |
Franz Glasner |
FIX: Output of symlinks was not converted property but was written in bytes repr
|
| Sat, 25 Jan 2025 09:52:22 +0100 |
Franz Glasner |
Handle symlinks to files fully and Implement no-follow-file-symlinks
|
| Fri, 24 Jan 2025 17:18:23 +0100 |
Franz Glasner |
===== signature for changeset 798c79420f65
|
| Fri, 24 Jan 2025 17:18:00 +0100 |
Franz Glasner |
>>>>> tag v0.5 for changeset 798c79420f65
|
| Fri, 24 Jan 2025 17:17:44 +0100 |
Franz Glasner |
+++++ v0.5
v0.5
|
| Fri, 24 Jan 2025 17:10:57 +0100 |
Franz Glasner |
Also log filename problems to stderr
|
| Thu, 23 Jan 2025 14:04:07 +0100 |
Franz Glasner |
Some notes about FLAGS
|
| Thu, 23 Jan 2025 14:02:44 +0100 |
Franz Glasner |
FIX: FLAGS output: wrong "else" for "utf-8-mode" and "print-size"
|
| Thu, 23 Jan 2025 09:16:51 +0100 |
Franz Glasner |
Refactor option handling for configuring symlink handling: now all variations are supported
|
| Wed, 22 Jan 2025 19:09:58 +0100 |
Franz Glasner |
VFAT-Encoding-Problem notiert
|
| Wed, 22 Jan 2025 18:58:52 +0100 |
Franz Glasner |
Print the filesystem encoding and the generator in the "info" output also
|
| Wed, 22 Jan 2025 18:57:44 +0100 |
Franz Glasner |
FIX: For Python2.7 correct the CRC only if is < 0
|
| Wed, 22 Jan 2025 17:55:49 +0100 |
Franz Glasner |
FIX: CRC-32 validation on Python2.7: normalize to positive numbers
|
| Wed, 22 Jan 2025 17:45:37 +0100 |
Franz Glasner |
Add a "GENERATOR" line with control flats to treesum.py
|
| 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
|