1 |
commit: eb836fd7a634edf81112febc16a730ed19185e3a |
2 |
Author: André Erdmann <dywi <AT> mailerd <DOT> de> |
3 |
AuthorDate: Mon Jul 9 16:32:29 2012 +0000 |
4 |
Commit: André Erdmann <dywi <AT> mailerd <DOT> de> |
5 |
CommitDate: Mon Jul 9 16:32:29 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/R_overlay.git;a=commit;h=eb836fd7 |
7 |
|
8 |
roverlay man page (for roverlay.py) |
9 |
|
10 |
new file: man/roverlay.1 |
11 |
new file: man/show |
12 |
|
13 |
--- |
14 |
man/roverlay.1 | 112 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
15 |
man/show | 2 + |
16 |
2 files changed, 114 insertions(+), 0 deletions(-) |
17 |
|
18 |
diff --git a/man/roverlay.1 b/man/roverlay.1 |
19 |
new file mode 100644 |
20 |
index 0000000..ba8e24a |
21 |
--- /dev/null |
22 |
+++ b/man/roverlay.1 |
23 |
@@ -0,0 +1,112 @@ |
24 |
+.\" groff -Tascii -man |
25 |
+.TH "ROVERLAY" "1" "July 9 2012" "Linux/Gentoo?" "R Overlay" |
26 |
+ |
27 |
+.SH "NAME" |
28 |
+roverlay \- create and maintain an overlay of R packages |
29 |
+ |
30 |
+.SH "SYNOPSIS" |
31 |
+.TP |
32 |
+.BR "roverlay " "[\fIoptions\fR] [\fIcommand\fR]..." |
33 |
+.TP |
34 |
+.BR "roverlay " "\fB\-h\fR | \fB\-\-help\fR" |
35 |
+.TP |
36 |
+.BR "roverlay " "\fB\-\-help-config\fR" |
37 |
+.TP |
38 |
+.BR "roverlay " "\fB\-\-print-config\fR" |
39 |
+.TP |
40 |
+.BR "roverlay " "\fB\-V\fR | \fB\-\-version\fR" |
41 |
+.SH "DESCRIPTION" |
42 |
+todo |
43 |
+.SH "COMMANDS" |
44 |
+.TP |
45 |
+.BR sync |
46 |
+Sync all repos. Has no effect if you don't specify at least one remote repository. |
47 |
+.TP |
48 |
+.BR create |
49 |
+Create the overlay - read R packages and try to create ebuilds for them. |
50 |
+Implies \fBsync\fR unless \fB\-\-nosync\fR is given. |
51 |
+This is the default command. |
52 |
+.TP |
53 |
+.BR nop |
54 |
+no-op. To be removed. |
55 |
+.SH "OPTIONS" |
56 |
+.TP |
57 |
+.BR "\-\-help " "(\fB\-h\fR)" |
58 |
+Print a help message and exit |
59 |
+.TP |
60 |
+.BR "\-\-version " "(\fB\-V\fR)" |
61 |
+Print the program's version and exit |
62 |
+.TP |
63 |
+.BR "\-\-help\-config" |
64 |
+Print all known config options and exit |
65 |
+.TP |
66 |
+.BR "\-\-print\-config" |
67 |
+Print the config tree after reading the config file and exit |
68 |
+.SS "configuration files" |
69 |
+.TP |
70 |
+.BR "\-\-config " "\fIfilename\fR" |
71 |
+Read the main configuration from \fIfilename\fR instead of ${PWD}/R-overlay.conf |
72 |
+.TP |
73 |
+.BR "\-\-deprule\-file " "\fIfilename\fR (\fB\-D\fR)" |
74 |
+Read dependency rules from \fIfilename\fR instead of reading the |
75 |
+files listed in the main config (\fISIMPLE_RULES_FILE\fR). |
76 |
+Can be specified more than once. |
77 |
+.TP |
78 |
+.BR "\-\-field\-definition " "\fIfilename\fR (\fB\-F\fR)" |
79 |
+Read the field definition from \fIfilename\fR instead |
80 |
+of the \fIFIELD_DEFINITION\fR file specified in the main config. |
81 |
+.TP |
82 |
+.BR "\-\-repo\-config " "\fIfilename\fR (\fB\-R\fR)" |
83 |
+Read the repo config from \fIfilename\fR instead |
84 |
+of the files listed in the main config (\fIREPO_CONFIG\fR). |
85 |
+Can be specified more than once. |
86 |
+.SS "R packages" |
87 |
+.TP |
88 |
+.BR "\-\-distdir" "\fR, " "\-\-from " "\fIdirectory\fR" |
89 |
+Create ebuilds for packages in \fIdirectory\fR. |
90 |
+Implies \fBcreate\fR and \fB\-\-nosync\fR. |
91 |
+Disables all other repos. |
92 |
+.TP |
93 |
+.BR "\-\-distroot " "\fIdirectory\fR" |
94 |
+Set the distroot to \fIdirectory\fR. |
95 |
+This is used as root for all per-repo package dirs that don't define another location. |
96 |
+.TP |
97 |
+.BR "\-\-force\-distroot" |
98 |
+Use the distroot even for repos that define their own location. |
99 |
+.TP |
100 |
+.BR "\-\-nosync" "\fR, " "\-\-no\-sync" |
101 |
+Disable repo syncing (offline mode). Blocks the \fBsync\fR command. |
102 |
+.SS "overlay" |
103 |
+.TP |
104 |
+.BR "\-\-show" "\fR, " "\-\-show\-overlay" |
105 |
+Print ebuilds/metadata after creation to stderr. |
106 |
+.TP |
107 |
+.BR "\-\-write" "\fR, " "\-\-write\-overlay" |
108 |
+Write the whole overlay after creation. |
109 |
+This includes ebuilds, metadata, Manifest files and the profiles/ dir. |
110 |
+.TP |
111 |
+.BR "\-\-stats" "\fR, " "\-\-no\-stats" |
112 |
+Print some stats after overlay creation/writing. |
113 |
+.TP |
114 |
+.BR "\-\-overlay " "\fIdirectory\fR (\fB\-O\fR)" |
115 |
+Set the overlay directory to \fIdirectory\fR. Else |
116 |
+\fIOVERLAY_DIR\fR from the main config will be used. |
117 |
+Implies \fB\-\-write\fR. |
118 |
+.TP |
119 |
+.BR "\-\-overlay\-name " "\fIname\fR (\fB\-N\fR)" |
120 |
+Set the overlay name to \fIname\fR. |
121 |
+Else \fIOVERLAY_NAME\fR from the main config will be used. |
122 |
+.SH "EXAMPLES" |
123 |
+.TP |
124 |
+roverlay \-c \fIconfig\fR |
125 |
+Run overlay creation with sync, all options (overlay name/dir,...) are read from \fIconfig\fR |
126 |
+.TP |
127 |
+roverlay \-\-from \fIpkgdir\fR \-O \fIoverlay\fR \-N R_Overlay \-\-field-definition \fIfield_definition\fR \-D \fIdeprules\fR |
128 |
+Run overlay creation for packages from \fIpkgdir\fR and write the overlay named R_Overlay to \fIoverlay\fR. |
129 |
+Use the given \fIfield_definition\fR and \fIdeprules\fR files. |
130 |
+!!! This should do without a config file (FIXME) |
131 |
+.SH "SEE ALSO" |
132 |
+.BR "R-overlay.conf(5)", |
133 |
+.BR "roverlay-field_definition(5)", |
134 |
+.BR "roverlay-repo(5)" |
135 |
+ |
136 |
|
137 |
diff --git a/man/show b/man/show |
138 |
new file mode 100755 |
139 |
index 0000000..6c0fa0e |
140 |
--- /dev/null |
141 |
+++ b/man/show |
142 |
@@ -0,0 +1,2 @@ |
143 |
+#!/bin/sh |
144 |
+groff -Tascii -man "${1:?}" | ${PAGER:-less} |