Commit Graph

20 Commits

Author SHA1 Message Date
686bfc7e24 Use more generic variable name for expected lists 2023-01-19 16:50:28 -05:00
df4e3a6afd Add a pyproject.toml to indicate formatting with Black 2023-01-19 16:50:28 -05:00
812affd0ae Use list of strings instead of block string for config changes 2023-01-19 16:50:28 -05:00
ff944231d8 Abstract out mailman script calls into a method 2023-01-19 16:50:28 -05:00
9e3a042a58 Move list management functions to a class to reuse shared arguments 2023-01-19 16:50:28 -05:00
c49f3c7635 Create lists if they don't already exist 2023-01-09 21:43:30 -05:00
ef8a299e65 Support dry run for config_list 2023-01-09 21:36:02 -05:00
c8f3e229c8 Move argument parsing into a function 2023-01-09 21:35:14 -05:00
d8284f4475 Apply common configuration changes to each mailing list 2023-01-09 16:41:27 -05:00
303ddc002c Prefix mailman output with targeted mailing list 2023-01-09 16:23:22 -05:00
f87cfbb435 Add systemd service/timer files 2023-01-09 16:23:22 -05:00
8897651285 Read API authentication token from an environment variable 2023-01-09 16:23:22 -05:00
b5bc574433 Add dry run argument 2022-12-25 02:28:25 -05:00
fa366e7e63 Fix list name parameter to sync_members 2022-12-25 02:22:20 -05:00
7873b964bd Use subprocess.run() encoding argument instead of manual encode/decode 2022-12-25 02:19:14 -05:00
7919edce31 Print stderr on subcommand failure 2022-12-25 02:16:54 -05:00
2efd3e3f9f Encode members data into bytes 2022-12-25 02:14:36 -05:00
020497139c Decode command output as ascii 2022-12-25 02:13:22 -05:00
2daf2c00b8 Add a bit more feedback for missing lists 2022-12-25 02:12:08 -05:00
056a2993de Initial Commit 2022-12-25 02:08:38 -05:00