Commit Graph

32 Commits

Author SHA1 Message Date
e41a22149e Add default show-not-deleted option
If set to `no`, PFERD won't print status or report messages for not deleted files
2023-08-26 17:13:45 +02:00
d2e6d91880 Make PFERD executable via python -m 2022-04-27 22:52:50 +02:00
55ea304ff3 Disable interpolation of ConfigParser 2021-10-25 23:37:42 +02:00
80eeb8fe97 Add --skip option 2021-07-01 11:02:21 +02:00
31b6311e99 Remove incorrect tmp file explain message 2021-06-01 19:03:06 +02:00
f6b26f4ead Fix unexpected exception when credential file not found 2021-06-01 09:10:58 +00:00
1ce32d2f18 Add CLI option for credential file auth to kit-ilias-web 2021-05-31 18:45:06 +02:00
84f775013f Use event loop workaround only on windows
This avoids an unnecessary one-second sleep on other platforms. However, a
better "fix" for this sleep would be a less ugly workaround on windows.
2021-05-31 11:41:52 +02:00
533f75ea71 Add --debug-transforms flag 2021-05-26 11:37:32 +02:00
a879c6ab6e Fix function being printed 2021-05-26 10:54:01 +02:00
915e42fd07 Fix report not being printed if pferd exits normally 2021-05-26 10:53:54 +02:00
30be4e29fa Add workaround for RuntimeError after program finishes on Windows 2021-05-25 16:34:22 +00:00
f85b75df8c Switch from exit() to sys.exit()
Pyinstaller doesn't recognize exit().
2021-05-25 17:33:38 +02:00
519a7ef435 Split --dump-config into two options
--dump-config with its optional argument tended to consume the command name, so
it had to be split up.
2021-05-25 17:17:35 +02:00
f68849c65f Fix rules not being parsed entirely 2021-05-25 15:42:46 +02:00
edb52a989e Print report even if exiting due to Ctrl+C 2021-05-25 15:35:36 +02:00
edbd92dbbf Add --status and --report flags 2021-05-23 22:41:59 +02:00
0ca0680165 Simplify --version 2021-05-23 21:40:48 +02:00
a9af56a5e9 Improve specifying crawlers via CLI
Instead of removing the sections of unselected crawlers from the config file,
crawler selection now happens in the Pferd after loading the crawlers and is
more sophisticated. It also has better error messages.
2021-05-23 18:18:50 +02:00
c88f20859a Explain config file dumping 2021-05-23 11:04:50 +02:00
1bbc0b705f Improve transformer error handling 2021-05-22 20:38:56 +00:00
662191eca9 Fix crash as soon as first cl or dl token was acquired 2021-05-22 20:25:58 +00:00
9889ce6b57 Improve PFERD error handling 2021-05-22 21:13:25 +02:00
afac22c562 Handle abort in exclusive output state correctly
If the event loop is stopped while something holds the exclusive output, the
"log" singleton is now reset so the main thread can print a few more messages
before exiting.
2021-05-22 18:58:19 +02:00
54dd2f8337 Clean up main and improve error handling 2021-05-22 16:47:24 +02:00
b5785f260e Extract CLI argument parsing to separate module 2021-05-22 15:03:45 +02:00
98b8ca31fa Add some todos 2021-05-22 14:45:46 +02:00
3300886120 Explain config file loading 2021-05-19 18:11:43 +02:00
0d10752b5a Configure explain log level via cli and config file 2021-05-19 17:50:10 +02:00
92886fb8d8 Implement --version flag 2021-05-19 17:33:36 +02:00
05573ccc53 Add fancy CLI options 2021-05-15 22:22:01 +02:00
93a5a94dab Single-source version number 2021-05-14 21:27:44 +02:00