1SNAKE-TREE(1) snake-tree SNAKE-TREE(1)
2
3
4
6 snake-tree -- Query or modifiy a SNAKE tree database
7
9 snake-tree [options] [command] [command-options ...]
10
12 The snake-tree utility is used to query or modify SNAKE tree
13 information. Unless specified, snake-tree will operate on a local
14 database of trees.
15
16 command is one of:
17
18 · list [TREESPEC]
19
20 · info [URI|TREEID|all] [...]
21
22 · add [URI] [...]
23
24 · check [URI|TREEID|all] [...]
25
26 · update [TREEID|all] [...]
27
28 · remove [URI|TREEID|all] [...]
29
30 Unless the --help or -h option is given, one of the above commands must
31 be present.
32
34 The following command line options are permitted.
35
36 -h, --help
37 Help; display a help message and then quit.
38
39 -v, --verbose
40 Verbose; output more information.
41
42 -s, --server
43 Server; rather than query the local system, communicate with a
44 snake-server
45
46 -p, --port
47 Port; Use the specified port when communicating with the snake-
48 server (defaults to 2903).
49
51 snake-tree understands http, ftp, and nfs URI's. Some examples of
52 valid URI's might be:
53
54 snake-tree add
55 http://download.fedora.redhat.com/pub/fedora/linux/releases/7/Fedora/i386/os
56 Add the tree referenced by the given URI.
57
58 snake-tree check
59 ftp://download.fedora.redhat.com/pub/fedora/linux/releases/8/Fedora/ppc/os
60 Check the validity of the given URI.
61
62 snake-tree update
63 nfs:tree-server.localdomain:/path/to/FedoraCore/6/i386/os
64 Update cached tree information using the given URI. Note, use of
65 nfs URI's requires that both the client and server will already
66 have read access to that volume.
67
69 Several snake-tree commands accept a TREEID as an argument. A TREEID
70 is typically the timestamp recorded in the .treeinfo file. This
71 timestamp records when the tree was composed and is considered a unique
72 identifier. To find a list of valid TREEID's hosted on your snake-
73 server, use the snake-tree list command.
74
76 When querying available trees, the list and info commands offer several
77 filters to limit your results. The available filters are typically the
78 contents of a .treeinfo file, and include:
79
80 · family
81
82 · time
83
84 · variant
85
86 · uri
87
88 · version
89
90 · arch
91
92 · id
93
94 Any arguments not matching the above filters will be ignored. sample
95 list command might look like:
96
97 snake-tree list family=Fedora arch=i386 version=8
98 List all Fedora 8 i386 trees
99
100 snake-tree list family="Red Hat Enterprise Linux" arch=ppc
101 List all "Red Hat Enterprise Linux" ppc trees
102
103 snake-tree info
104 uri=http://download.fedora.redhat.com/pub/fedora/linux/releases/8/Fedora/i386/os
105 Provide detailed information about the tree containing the given
106 URI.
107
109 See https://fedorahosted.org/snake for more information, including
110 information on scripting snake from Python.
111
112 See also the manpages for snake-ks, snake-install, snake-install-tui,
113 and snake-server
114
116 Various. See https://fedorahosted.org/snake
117
118
119
120 2008-03-18 SNAKE-TREE(1)