Debian Codegraph @

README

raw
1 This file is meant to be helpful in the absence of proper documentation.
2
3 Depending on your needs, you can either start your config from scratch
4 or use deets to take inventory:
5
6 luau --no-audit /usr/share/deets/inventory.lua > /tmp/model.lua
7
8 This will generate a config file based on the state of your system's
9 packages and conffiles. You can then audit your system using that
10 config like this:
11
12 luau /tmp/model.lua
13
14 Sample output:
15
16 Audit: 421/421 (100.00%) conformant
17
18 Let's say that you then purge the subversion package and rerun.
19
20 Audit: 416/421 (98.81%) conformant
21
22 Deets is telling you that your system is not in full conformance
23 with the model. The missing 1.19% comprises 1 package (subversion)
24 and 4 conffiles. To get more information about this, you can run
25
26 luau --no-audit --report /tmp/model.lua
27
28 This will output the commands that would be executed if you were to
29 demand rectification in this manner:
30
31 sudo luau --no-audit --rectify /tmp/model.lua
32
33 If you are interested in seeing the dependency ordering, you can
34 run
35
36 luau --no-audit --dep-trace /tmp/model.lua
37
38 and this will show you the sequence which will be taken by
39 audit/report/rectify.
40
41 For a more informative config, examine /usr/share/deets/example.lua
42 to see examples of using templating and explicit dependencies.
43
44 Assistance with better code and documentation is welcome.