Subversion Repositories Applications.gtt

Rev

Rev 94 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 94 Rev 187
Line 24... Line 24...
24
    <shortopt>s</shortopt>
24
    <shortopt>s</shortopt>
25
    <doc>soft install, fail silently, or upgrade if already installed</doc>
25
    <doc>soft install, fail silently, or upgrade if already installed</doc>
26
   </soft>
26
   </soft>
27
   <nobuild>
27
   <nobuild>
28
    <shortopt>B</shortopt>
28
    <shortopt>B</shortopt>
29
    <doc>don&apos;t build C extensions</doc>
29
    <doc>don&#039;t build C extensions</doc>
30
   </nobuild>
30
   </nobuild>
31
   <nocompress>
31
   <nocompress>
32
    <shortopt>Z</shortopt>
32
    <shortopt>Z</shortopt>
33
    <doc>request uncompressed files when downloading</doc>
33
    <doc>request uncompressed files when downloading</doc>
34
   </nocompress>
34
   </nocompress>
35
   <installroot>
35
   <installroot>
36
    <shortopt>R</shortopt>
36
    <shortopt>R</shortopt>
-
 
37
    <doc>root directory used when installing files (ala PHP&#039;s INSTALL_ROOT), use packagingroot for RPM</doc>
37
    <arg>DIR</arg>
38
    <arg>DIR</arg>
38
    <doc>root directory used when installing files (ala PHP&apos;s INSTALL_ROOT)</doc>
-
 
39
   </installroot>
39
   </installroot>
-
 
40
   <packagingroot>
-
 
41
    <shortopt>P</shortopt>
-
 
42
    <doc>root directory used when packaging files, like RPM packaging</doc>
-
 
43
    <arg>DIR</arg>
-
 
44
   </packagingroot>
40
   <ignore-errors>
45
   <ignore-errors>
-
 
46
    <shortopt></shortopt>
41
    <doc>force install even if there were errors</doc>
47
    <doc>force install even if there were errors</doc>
42
   </ignore-errors>
48
   </ignore-errors>
43
   <alldeps>
49
   <alldeps>
44
    <shortopt>a</shortopt>
50
    <shortopt>a</shortopt>
45
    <doc>install all required and optional dependencies</doc>
51
    <doc>install all required and optional dependencies</doc>
Line 68... Line 74...
68
 
74
 
69
&quot;package.xml&quot; : installs the package described in
75
&quot;package.xml&quot; : installs the package described in
70
package.xml.  Useful for testing, or for wrapping a PEAR package in
76
package.xml.  Useful for testing, or for wrapping a PEAR package in
Line 71... Line 77...
71
another package manager such as RPM.
77
another package manager such as RPM.
72
 
78
 
73
&quot;Package[-version/state][.tar]&quot; : queries your default channel&apos;s server
79
&quot;Package[-version/state][.tar]&quot; : queries your default channel&#039;s server
Line 74... Line 80...
74
({config master_server}) and downloads the newest package with
80
({config master_server}) and downloads the newest package with
75
the preferred quality/state ({config preferred_state}).
81
the preferred quality/state ({config preferred_state}).
Line 88... Line 94...
88
 <upgrade>
94
 <upgrade>
89
  <summary>Upgrade Package</summary>
95
  <summary>Upgrade Package</summary>
90
  <function>doInstall</function>
96
  <function>doInstall</function>
91
  <shortcut>up</shortcut>
97
  <shortcut>up</shortcut>
92
  <options>
98
  <options>
-
 
99
   <channel>
-
 
100
    <shortopt>c</shortopt>
-
 
101
    <doc>upgrade packages from a specific channel</doc>
-
 
102
    <arg>CHAN</arg>
-
 
103
   </channel>
93
   <force>
104
   <force>
94
    <shortopt>f</shortopt>
105
    <shortopt>f</shortopt>
95
    <doc>overwrite newer installed packages</doc>
106
    <doc>overwrite newer installed packages</doc>
96
   </force>
107
   </force>
97
   <loose>
108
   <loose>
Line 106... Line 117...
106
    <shortopt>r</shortopt>
117
    <shortopt>r</shortopt>
107
    <doc>do not install files, only register the package as upgraded</doc>
118
    <doc>do not install files, only register the package as upgraded</doc>
108
   </register-only>
119
   </register-only>
109
   <nobuild>
120
   <nobuild>
110
    <shortopt>B</shortopt>
121
    <shortopt>B</shortopt>
111
    <doc>don&apos;t build C extensions</doc>
122
    <doc>don&#039;t build C extensions</doc>
112
   </nobuild>
123
   </nobuild>
113
   <nocompress>
124
   <nocompress>
114
    <shortopt>Z</shortopt>
125
    <shortopt>Z</shortopt>
115
    <doc>request uncompressed files when downloading</doc>
126
    <doc>request uncompressed files when downloading</doc>
116
   </nocompress>
127
   </nocompress>
117
   <installroot>
128
   <installroot>
118
    <shortopt>R</shortopt>
129
    <shortopt>R</shortopt>
-
 
130
    <doc>root directory used when installing files (ala PHP&#039;s INSTALL_ROOT)</doc>
119
    <arg>DIR</arg>
131
    <arg>DIR</arg>
120
    <doc>root directory used when installing files (ala PHP&apos;s INSTALL_ROOT)</doc>
-
 
121
   </installroot>
132
   </installroot>
122
   <ignore-errors>
133
   <ignore-errors>
-
 
134
    <shortopt></shortopt>
123
    <doc>force install even if there were errors</doc>
135
    <doc>force install even if there were errors</doc>
124
   </ignore-errors>
136
   </ignore-errors>
125
   <alldeps>
137
   <alldeps>
126
    <shortopt>a</shortopt>
138
    <shortopt>a</shortopt>
127
    <doc>install all required and optional dependencies</doc>
139
    <doc>install all required and optional dependencies</doc>
Line 149... Line 161...
149
 
161
 
150
More than one package may be specified at once.
162
More than one package may be specified at once.
151
</doc>
163
</doc>
152
 </upgrade>
164
 </upgrade>
153
 <upgrade-all>
165
 <upgrade-all>
154
  <summary>Upgrade All Packages</summary>
166
  <summary>Upgrade All Packages [Deprecated in favor of calling upgrade with no parameters]</summary>
155
  <function>doInstall</function>
167
  <function>doUpgradeAll</function>
156
  <shortcut>ua</shortcut>
168
  <shortcut>ua</shortcut>
-
 
169
  <options>
-
 
170
   <channel>
-
 
171
    <shortopt>c</shortopt>
-
 
172
    <doc>upgrade packages from a specific channel</doc>
-
 
173
    <arg>CHAN</arg>
157
  <options>
174
   </channel>
158
   <nodeps>
175
   <nodeps>
159
    <shortopt>n</shortopt>
176
    <shortopt>n</shortopt>
160
    <doc>ignore dependencies, upgrade anyway</doc>
177
    <doc>ignore dependencies, upgrade anyway</doc>
161
   </nodeps>
178
   </nodeps>
162
   <register-only>
179
   <register-only>
163
    <shortopt>r</shortopt>
180
    <shortopt>r</shortopt>
164
    <doc>do not install files, only register the package as upgraded</doc>
181
    <doc>do not install files, only register the package as upgraded</doc>
165
   </register-only>
182
   </register-only>
166
   <nobuild>
183
   <nobuild>
167
    <shortopt>B</shortopt>
184
    <shortopt>B</shortopt>
168
    <doc>don&apos;t build C extensions</doc>
185
    <doc>don&#039;t build C extensions</doc>
169
   </nobuild>
186
   </nobuild>
170
   <nocompress>
187
   <nocompress>
171
    <shortopt>Z</shortopt>
188
    <shortopt>Z</shortopt>
172
    <doc>request uncompressed files when downloading</doc>
189
    <doc>request uncompressed files when downloading</doc>
173
   </nocompress>
190
   </nocompress>
174
   <installroot>
191
   <installroot>
-
 
192
    <shortopt>R</shortopt>
175
    <shortopt>R</shortopt>
193
    <doc>root directory used when installing files (ala PHP&#039;s INSTALL_ROOT), use packagingroot for RPM</doc>
176
    <arg>DIR</arg>
-
 
177
    <doc>root directory used when installing files (ala PHP&apos;s INSTALL_ROOT)</doc>
194
    <arg>DIR</arg>
178
   </installroot>
195
   </installroot>
-
 
196
   <ignore-errors>
179
   <ignore-errors>
197
    <shortopt></shortopt>
180
    <doc>force install even if there were errors</doc>
198
    <doc>force install even if there were errors</doc>
181
   </ignore-errors>
199
   </ignore-errors>
-
 
200
   <loose>
182
   <loose>
201
    <shortopt></shortopt>
183
    <doc>do not check for recommended dependency version</doc>
202
    <doc>do not check for recommended dependency version</doc>
184
   </loose>
203
   </loose>
185
  </options>
204
  </options>
-
 
205
  <doc>
-
 
206
WARNING: This function is deprecated in favor of using the upgrade command with no params
186
  <doc>
207
 
187
Upgrades all packages that have a newer release available.  Upgrades are
208
Upgrades all packages that have a newer release available.  Upgrades are
188
done only if there is a release available of the state specified in
209
done only if there is a release available of the state specified in
189
&quot;preferred_state&quot; (currently {config preferred_state}), or a state considered
210
&quot;preferred_state&quot; (currently {config preferred_state}), or a state considered
190
more stable.
211
more stable.
Line 203... Line 224...
203
    <shortopt>r</shortopt>
224
    <shortopt>r</shortopt>
204
    <doc>do not remove files, only register the packages as not installed</doc>
225
    <doc>do not remove files, only register the packages as not installed</doc>
205
   </register-only>
226
   </register-only>
206
   <installroot>
227
   <installroot>
207
    <shortopt>R</shortopt>
228
    <shortopt>R</shortopt>
-
 
229
    <doc>root directory used when installing files (ala PHP&#039;s INSTALL_ROOT)</doc>
208
    <arg>DIR</arg>
230
    <arg>DIR</arg>
209
    <doc>root directory used when installing files (ala PHP&apos;s INSTALL_ROOT)</doc>
-
 
210
   </installroot>
231
   </installroot>
211
   <ignore-errors>
232
   <ignore-errors>
-
 
233
    <shortopt></shortopt>
212
    <doc>force install even if there were errors</doc>
234
    <doc>force install even if there were errors</doc>
213
   </ignore-errors>
235
   </ignore-errors>
214
   <offline>
236
   <offline>
215
    <shortopt>O</shortopt>
237
    <shortopt>O</shortopt>
216
    <doc>do not attempt to uninstall remotely</doc>
238
    <doc>do not attempt to uninstall remotely</doc>
Line 227... Line 249...
227
  <function>doBundle</function>
249
  <function>doBundle</function>
228
  <shortcut>bun</shortcut>
250
  <shortcut>bun</shortcut>
229
  <options>
251
  <options>
230
   <destination>
252
   <destination>
231
    <shortopt>d</shortopt>
253
    <shortopt>d</shortopt>
232
    <arg>DIR</arg>
-
 
233
    <doc>Optional destination directory for unpacking (defaults to current path or &quot;ext&quot; if exists)</doc>
254
    <doc>Optional destination directory for unpacking (defaults to current path or &quot;ext&quot; if exists)</doc>
-
 
255
    <arg>DIR</arg>
234
   </destination>
256
   </destination>
235
   <force>
257
   <force>
236
    <shortopt>f</shortopt>
258
    <shortopt>f</shortopt>
237
    <doc>Force the unpacking even if there were errors in the package</doc>
259
    <doc>Force the unpacking even if there were errors in the package</doc>
238
   </force>
260
   </force>