Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
50 most recent check-ins
|
2026-10-23
| ||
| 14:41 | boot-from-readonly-disk/README.md: Add Installation instructions leaf check-in: e4c3fd4f98 user: thomas tags: trunk | |
| 14:36 | paperless_backup services: Use RequiresMountsFor= in service files, instead of using the .mount units directly. check-in: aa48cd316e user: thomas tags: trunk | |
|
2026-10-22
| ||
| 15:23 | Add config files that allow booting a regular Linux from read-only storage. check-in: 34da98654b user: thomas tags: trunk | |
| 15:22 | Add boot-from-readonly-disk/README.md closed check-in: fb22bb5f49 user: thomas tags: boot-from-readonly-disk | |
| 15:17 | Update the systemd drop-in files to use ConditionPathIsMountPoint=!/media/root-ro. By using the presence of the read-only lower overlayfs layer as a condition, this removes the need for calling out to a shell script. check-in: 4819c2037f user: thomas tags: boot-from-readonly-disk | |
| 10:09 | Add overlayfs helper files that enable booting a regular Ubuntu installation from a storage device with a physical read-only switch in read-only mode. check-in: de811fa693 user: thomas tags: boot-from-readonly-disk | |
|
2026-10-02
| ||
| 16:15 | paperless_backup: Add configured excludes in backup-excludes.txt. Loaded by backup-paperless.xsh and sent to bup. check-in: c81eb32de7 user: thomas tags: trunk | |
|
2026-09-27
| ||
| 11:44 | Add systemd service file for llama-server. check-in: 728c7dd329 user: thomas tags: trunk | |
|
2026-09-25
| ||
| 15:01 | optipng.py: Fix bug in _get_default(), which did not actually use the config key it was supposed to use. Also fix style warnings leaf check-in: ea67c385ce user: thomas tags: optimize_concurrent_optipng | |
| 14:35 | optipng.py: Refactor how switches with fixed choice values handle reading the default from the config. Wrap that into a helper function that performs the config value validation against allowed values, and returns a default on mismatch check-in: 75033db3bb user: thomas tags: optimize_concurrent_optipng | |
|
2026-09-20
| ||
| 14:23 | optipng.py: Add flag --per-image-concurrency with values auto/always/never, which controls how per-image internal concurrency is used. check-in: 246ccd6fdc user: thomas tags: optimize_concurrent_optipng | |
|
2026-09-19
| ||
| 12:33 | optipng.py: Simplify --quiet handling logic. By parsing arguments to True/None, instead of True/False, this simplifies passing it down to tqdm. check-in: d9c57abbbd user: thomas tags: trunk | |
| 12:25 | Add optipng.py, an asyncio-based concurrent wrapper around optipng. Extracted out of scan_adf.py, and extended to be a full-fledged stand-alone program check-in: 7dc1dfbf17 user: thomas tags: trunk | |
| 12:24 | test_optipng.py: Extended validation in one test case closed check-in: de3647975f user: thomas tags: standalone_concurrent_optipng | |
|
2026-09-18
| ||
| 15:27 | optipng.py: Refactored return code handling. Let main() return an int, and call sys.exit(result_code) outside of main(). This avoids having to mock sys.exit() calls in tests check-in: 2cb49ecf60 user: thomas tags: standalone_concurrent_optipng | |
| 14:47 | optipng.py: Move sys.exit() calls out of _preprocess_input_files() back into main(). check-in: a7da20bf08 user: thomas tags: standalone_concurrent_optipng | |
| 14:37 | optipng.py: Skip input files that can be determined to fail beforehand: Always skip duplicate input files, and skip files with existing backups if --clobber is not given. In both cases, there is no chance for optipng to succeed, so don't waste CPU time on them check-in: 577eb034b9 user: thomas tags: standalone_concurrent_optipng | |
| 09:14 | optipng.py: Put common tqdm parameters into a dict. Increase smoothing. Enable automatic width adjustments. Allow tqdm to automatically hide itself, if the output is piped. check-in: 3770660da3 user: thomas tags: standalone_concurrent_optipng | |
|
2026-09-17
| ||
| 13:24 | test_optipng.py: Add test verifying behavior under both -j1 and -j2 check-in: 845e21c5a2 user: thomas tags: standalone_concurrent_optipng | |
| 13:19 | optipng.py: Remove debug print statements check-in: 3a96a5566d user: thomas tags: standalone_concurrent_optipng | |
| 13:18 | optipng.py: Sort input files by size by default, starting with the largest. This assumes that large input files will take long to process, so this minimizes the time spent at the end of the file queue with less than 100% CPU utilisation. check-in: 5d7bee0718 user: thomas tags: standalone_concurrent_optipng | |
| 12:55 | optipng.py: Pull the output-parsing optipng wrapper from [9734fe5447680ebd]. Introduce a heuristic to run input files in sequential mode, because concurrent mode incurs a 100% performance overhead. With jobs=1, run all files in sequential mode. If input file count is less than jobs-1, run all in concurrent mode. Otherwise, run all but the last input file in sequential mode, and only the last concurrently. This will ensure that the CPU cores that served early-finishing sequential tasks get shares of the last input file. check-in: 64de9d1b07 user: thomas tags: standalone_concurrent_optipng | |
| 11:33 | optipng.py: Introduce a file-level concurrency limiter in the TaskList, also taking args.jobs as the initial value. As with this check-in, it does nothing semantically, but it will be useful when introducing single-invocation optipng calls for whole files as an optimization check-in: 6516df964e user: thomas tags: standalone_concurrent_optipng | |
| 10:51 | optipng.py: Extract inner loop from main() into a helper function. Move passing files_progress_bar from TaskList.append() to TaskList.__init__(), which avoids passing it around multiple times for each individual file. check-in: be0869a099 user: thomas tags: standalone_concurrent_optipng | |
| 10:28 | test_optipng.py: Ensure that tests use the stock default configuration, and not the user config, to ensure that no user-set options interfere with expected test results. check-in: 69dd959b64 user: thomas tags: standalone_concurrent_optipng | |
|
2026-09-16
| ||
| 13:56 | optipng.py: Immutable OPTIMIZATION_PARAMETERS. Also re-use list comprehensions check-in: 3e7abd9f7f user: thomas tags: standalone_concurrent_optipng | |
| 13:43 | optipng.py: Bump version to 0.3.0 check-in: bdfcd57946 user: thomas tags: standalone_concurrent_optipng | |
| 13:20 | optipng.py: Fix writing output files via --out or --dir, even if the output file size is not smaller than the input file. Properly skip overwriting already optimized input files if none of --force, --out and --dir is given. Add unit tests covering these scenarios check-in: 7d93f994b3 user: thomas tags: standalone_concurrent_optipng | |
|
2026-09-14
| ||
| 14:52 | optipng.py: Load additional boolean switches from the configuration file check-in: 0679eccd75 user: thomas tags: standalone_concurrent_optipng | |
| 13:36 | optipng.py: Load additional command line switch defaults from the configuration file. check-in: d3cef2c084 user: thomas tags: standalone_concurrent_optipng | |
| 09:03 | optipng.py: Move output directory creation for --dir into a separate function. Reworded some docstrings and comments, and tested "output --dir exists, but is a file" behavior of optipng, resolving an outstanding TODO entry. The implemented logic matches that of base optipng. check-in: a8e35daf24 user: thomas tags: standalone_concurrent_optipng | |
|
2026-09-13
| ||
| 17:03 | optipng.py: Removed unused code, fixed linter warnings and a double import check-in: 5bd6496b83 user: thomas tags: standalone_concurrent_optipng | |
| 16:37 | optipng.py: Enumerate the input files and use the list index to build temporary file names. This avoids file name clashes with input files like a/a.png and b/a.png. If two file with the same name are processed concurrently, the new behavior avoids potential overwrites by guaranteeing unique names check-in: 4d9ef35ba2 user: thomas tags: standalone_concurrent_optipng | |
| 16:31 | optipng.py: Implement logic for both --clobber and --backup/--keep check-in: 9dde5e49e6 user: thomas tags: standalone_concurrent_optipng | |
| 15:27 | optipng.py: Another fix for _build_output_path() Instead of ditching match statements, use the correct Namespace class in cases. check-in: ba7fba59c1 user: thomas tags: standalone_concurrent_optipng | |
| 15:18 | optipng.py: Fix _build_output_path() not working when invoked from the actual script. The match statement against Namespace() was broken, because the ArgumentParser returned something that's not the annotated Namespace check-in: c00897e570 user: thomas tags: standalone_concurrent_optipng | |
| 14:52 | optipng.py and test_optipng.py: Minor cleanups and linter warning fixes check-in: 3ac89aaa8b user: thomas tags: standalone_concurrent_optipng | |
| 14:43 | optipng.py: _move_result_to_output_file writes output files larger than input files without --force, if the input is not PNG check-in: 457256bec6 user: thomas tags: standalone_concurrent_optipng | |
| 14:36 | optipng.py: Fix _build_output_path(), with 24 unit tests. This now correctly handles -dir with input files from sub-directories, non-png input files, and also backup file name generation check-in: e8fd2b39df user: thomas tags: standalone_concurrent_optipng | |
| 12:40 | test_optipng.py: Add a test for upstream optipng's -preserve behavior, ensuring that the wrapper scripts behavior matches. This revealed that optipng does not preserve the file ctime attribute check-in: 7422dfefa6 user: thomas tags: standalone_concurrent_optipng | |
| 12:28 | test_optipng.py: Fixed some failing tests check-in: ef292910cd user: thomas tags: standalone_concurrent_optipng | |
|
2026-09-11
| ||
| 12:25 | optipng.py: Add --clobber and --backup/--keep command line switches. Currently no-ops. Added a few unit tests verifying expected behavior of these options. Still needs a few additional tests for further cases, especially for --backup combined with --clobber check-in: f59e93cd16 user: thomas tags: standalone_concurrent_optipng | |
|
2026-09-07
| ||
| 13:59 | optipng.py: Pass the result code from individual optipng calls and return it as result of main(). With this, return codes match the behavior of base optipng check-in: 2a28f3c489 user: thomas tags: standalone_concurrent_optipng | |
| 13:01 | optipng.py: Implement passing the -strip switch to optipng check-in: 62f8b328c1 user: thomas tags: standalone_concurrent_optipng | |
|
2026-09-05
| ||
| 21:54 | optipng.py: Minor refactoring. Move -quiet handling from main() into a helper function check-in: f97db20748 user: thomas tags: standalone_concurrent_optipng | |
| 21:42 | optipng: Implement --force. Refactor logic to always generate an output file, and only throw it away if it is >= the input file and --force is not given. When --force is given, the smallest result image is now always written. check-in: 7a759e3f36 user: thomas tags: standalone_concurrent_optipng | |
| 15:37 | optipng.py: Implement passing the PNG interlace mode (-i switch with values 0, 1, or 0-1) down to optipng check-in: cfa5808cf4 user: thomas tags: standalone_concurrent_optipng | |
| 15:15 | optipng.py: Use ArgumentParser's capability action='append_const' to manage passing down selected optipng flags. This simplifies handling these flags by building the argument list in the argument parser, instead of parsing down to a bunch of boolean flags that are used to then build the list of flags again check-in: 050a5896af user: thomas tags: standalone_concurrent_optipng | |
| 15:03 | optipng.py: Implement passing down optipng switches -nb -nc -np -nx and -nz check-in: 95edca1ced user: thomas tags: standalone_concurrent_optipng | |
| 14:53 | optipng.py: Add --fix cli switch, passed down to optipng as -fix check-in: da17ccf9f5 user: thomas tags: standalone_concurrent_optipng | |