| 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
|