From 515bf01a057f0b40d89c6b7b247eb4e2fc19d1b7 Mon Sep 17 00:00:00 2001 From: David Timber Date: Fri, 13 May 2022 14:45:59 +0800 Subject: Impl ... - launch.json: change debug cwd to the project root dir - Add subcmd "mods" - Docs - Tidy up sample and debug config files - Change core exec - 'dnf-list-instaled' -> 'rpm-list-installed' as dnf does not work on ro fs - Accept the exit code 1 from tar(allow live fs change) - Add the generic sample config - Fix 'run' subcmd not accepting empty task-id - Change module loading: modules are not required to have the 'backup_backends' var - Reduce required Python version by removing the use of match ... case - Fix 'exec-append' not taking 'env' into account - Remove use of exceptions from irrelevant packages - Fix unimpl methods of NullBackupBackend - Tidy up instantiation of raised exceptions - Change "include" behaviour - Relative config paths are now resolved like #include C preprocessor - Fix bug where "include" circular ref checked is not done with absolute paths of config files - Add own exception hierachy - aws-s3: change storage class only when "rot-storage-class" is different from "sink-storage-class" --- .vscode/launch.json | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) (limited to '.vscode') diff --git a/.vscode/launch.json b/.vscode/launch.json index d126290..2d8e2c8 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -8,13 +8,19 @@ "name": "palhm config", "type": "python", "request": "launch", - "cwd": "${workspaceFolder}/src", - "program": "palhm.py", - "args": [ - "-f", - "conf/py-debug/palhm.jsonc", - "config" - ], + "cwd": "${workspaceFolder}", + "program": "src/palhm.py", + "args": [ "-f", "src/conf/py-debug/palhm.jsonc", "config" ], + "console": "integratedTerminal", + "justMyCode": true + }, + { + "name": "palhm mods", + "type": "python", + "request": "launch", + "cwd": "${workspaceFolder}", + "program": "src/palhm.py", + "args": [ "mods" ], "console": "integratedTerminal", "justMyCode": true }, @@ -22,13 +28,9 @@ "name": "palhm run default", "type": "python", "request": "launch", - "cwd": "${workspaceFolder}/src", - "program": "palhm.py", - "args": [ - "-f", - "conf/py-debug/palhm.jsonc", - "run" - ], + "cwd": "${workspaceFolder}", + "program": "src/palhm.py", + "args": [ "-f", "src/conf/py-debug/palhm.jsonc", "run" ], "console": "integratedTerminal", "justMyCode": true } -- cgit v1.2.3-70-g09d2