Ramses
|
cead991210
|
Add a pre-populate subcommand. (#11)
|
2023-05-08 18:35:43 +02:00 |
|
r-vdp
|
2f8a9ba967
|
Improve error handling.
|
2023-04-27 01:57:04 +02:00 |
|
r-vdp
|
db9ba03678
|
Introduce an intermediate target for systemd services.
Restarting the active targets seems to cause issues on Ubuntu,
restarting certain targets causes the display manager to exit.
|
2023-04-27 00:21:59 +02:00 |
|
r-vdp
|
862f26d3e4
|
Remove left-over comment.
|
2023-04-27 00:15:58 +02:00 |
|
r-vdp
|
af853c014c
|
Rename EtcTree -> FileTree.
|
2023-04-13 12:07:09 +02:00 |
|
r-vdp
|
d3c8c6923f
|
Rework error handling and merge the two state files.
|
2023-04-11 21:55:26 +02:00 |
|
r-vdp
|
f864149440
|
Always reload the daemon on deactivate.
|
2023-03-30 15:02:14 +02:00 |
|
r-vdp
|
360b0ce3c5
|
Fix issue with symlinking already existing directories.
We will now link the contents in that case, instead of the whole dir.
|
2023-03-30 15:01:34 +02:00 |
|
r-vdp
|
9278cc8be8
|
Allow for a job monitor to be reused.
|
2023-03-23 14:23:43 +01:00 |
|
r-vdp
|
4460250457
|
Do not overwrite unmanaged files in /etc.
|
2023-03-23 11:53:22 +01:00 |
|
r-vdp
|
f7edf3a52f
|
Move the logic to serialise and deserialise EtcTrees into the type's impl.
|
2023-03-23 11:52:41 +01:00 |
|
r-vdp
|
47f32ccea7
|
Use TODO everywhere.
|
2023-03-22 23:16:25 +01:00 |
|
r-vdp
|
02a0e81d6d
|
Avoid manual construction of paths.
|
2023-03-22 15:48:27 +01:00 |
|
r-vdp
|
542f0fea95
|
Don't reload the systemd daemon when it's not needed.
|
2023-03-21 23:59:26 +01:00 |
|
r-vdp
|
10ee13b5b7
|
Refactor to reduce repetitive code.
|
2023-03-21 17:44:19 +01:00 |
|
r-vdp
|
743be9537c
|
Extract as a function.
|
2023-03-21 16:47:59 +01:00 |
|
r-vdp
|
43a2af24ae
|
Avoid killing systemd by properly restoring /run/systemd/system
|
2023-03-21 16:35:08 +01:00 |
|
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 |
|