Commit graph

23 commits

Author SHA1 Message Date
r-vdp
58353436c2
Complete rework of the systemd logic. 2023-03-21 16:14:12 +01:00
r-vdp
6282ee5357
Refactor the code for the services to do less copying. 2023-03-20 10:49:32 +01:00
r-vdp
6a7910bab1
Avoid an unneeded extra "etc" directory. 2023-03-17 15:47:56 +01:00
R-VdP
e5f7e5f5f1
Use & instead of calling .as_path() 2023-03-16 13:44:59 +01:00
R-VdP
bacaae7878
Reduce duplication. 2023-03-16 12:05:13 +01:00
R-VdP
f569c59eee
Pass the correct closure to the update_state call. 2023-03-16 11:59:44 +01:00
R-VdP
687c533478
Pass the status along to the delete_action so that we can act correctly on non-empty dirs. 2023-03-16 11:59:20 +01:00
R-VdP
ed99b39f6c
Improve log output. 2023-03-15 14:05:52 +01:00
R-VdP
306e055922
Check if an existing file is managed before copying. 2023-03-15 14:05:11 +01:00
R-VdP
95d8fe7583
Add EtcTree::get_status. 2023-03-14 21:06:06 +01:00
R-VdP
5f72cae0bd
Properly clean up dnagling unmanaged entries in the state file. 2023-03-14 17:14:39 +01:00
R-VdP
5b91600523
Properly clean up dnagling unmanaged entries in the state file. 2023-03-14 17:06:18 +01:00
R-VdP
95f9897766
Cleanup of EtcTree. 2023-03-14 16:39:47 +01:00
R-VdP
0e5a2c4bd7
Move EtcTree to its own module. 2023-03-14 11:36:56 +01:00
R-VdP
f98bc65631
Finish implementation of EtcTree. 2023-03-14 11:06:55 +01:00
R-VdP
e8e21ee2d5
Implement EtcTree::update_state 2023-03-13 18:50:16 +01:00
R-VdP
74d422bad6
Extra test case. 2023-03-10 21:39:28 +01:00
R-VdP
c7a66c76ed
WIP, etc tree implementation. 2023-03-10 21:18:35 +01:00
R-VdP
cf91b29724
WIP 2023-03-08 00:24:10 +01:00
R-VdP
49f30480ea
Clean up format strings. 2023-02-17 13:29:41 +01:00
R-VdP
f861aa6d2a
Avoid unneeded clone. 2023-02-17 13:22:38 +01:00
R-VdP
e28ba15456
Add a deactivate subcommand. 2023-02-16 16:43:05 +01:00
R-VdP
b3c7f71456
Implement files under /etc 2023-02-13 20:24:23 +01:00