PEAR2_Pyrus_Developerpackage.xml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
<?xml version="1.0" encoding="UTF-8"?>
<package version="2.1" xmlns="http://pear.php.net/dtd/package-2.1" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0     http://pear.php.net/dtd/tasks-1.0.xsd     http://pear.php.net/dtd/package-2.1     http://pear.php.net/dtd/package-2.1.xsd">
 <name>PEAR2_Pyrus_Developer</name>
 <channel>pear2.php.net</channel>
 <summary>Developer tools for the Pyrus installer
</summary>
 <description>
This package contains several custom commands for Pyrus.

Included are commands for:

* Creating PEAR2 and PECL package skeletons
    * `php pyrus.phar generate-pear2 MyNewPackage`
    * [generate-pear2 documentation][1]
* Creating a package.xml file
    * `php pyrus.phar make`
    * [make documentation][2]
* Packaging PEAR2 and PEAR releases
    * `php pyrus.phar package`
    * [package documentation][3]
* Running phpt tests and generating code coverage reports
    * `php pyrus.phar run-phpt -m`
    * [run-phpt documentation][4]

For more information, read the [documentation][5].

[1]: http://pear.php.net/manual/en/pyrus.commands.generatepear2.php
[2]: http://pear.php.net/manual/en/pyrus.commands.make.php
[3]: http://pear.php.net/manual/en/pyrus.commands.package.php
[4]: http://pear.php.net/manual/en/pyrus.commands.runphpt.php
[5]: http://pear.php.net/manual/en/pyrus.developers.php
</description>
 <lead>
  <name>Gregory Beaver</name>
  <user>cellog</user>
  <email>cellog@php.net</email>
  <active>yes</active>
 </lead>
 <lead>
  <name>Helgi Þormar Þorbjörnsson</name>
  <user>dufuz</user>
  <email>helgi@php.net</email>
  <active>yes</active>
 </lead>
 <lead>
  <name>Brett Bieber</name>
  <user>saltybeagle</user>
  <email>saltybeagle@php.net</email>
  <active>yes</active>
 </lead>
 <date>2011-03-07</date>
 <time>15:40:07</time>
 <version>
  <release>0.4.0</release>
  <api>0.1.0</api>
 </version>
 <stability>
  <release>alpha</release>
  <api>alpha</api>
 </stability>
 <license uri="http://www.opensource.org/licenses/bsd-license.php">New BSD License</license>
 <notes>New feature release:

* Add --scanoptions to the make command [cellog]
    This allows configuring several things when generating `package.xml`.
    This option should specify the location of a php script that specifies 3
    overrides to the default values for baseinstalldirs, for directory-&gt;role
    mapping, and for pathnames in `package.xml`
    
    For example:

        &lt;?php
        // use &quot;htdocs&quot; as our web directory in the repository, instead of www
        $scanoptions['baseinstalldirs'] = array('htdocs' =&gt; '/');
        $scanoptions['rolemap'] = array('htdocs' =&gt; 'www');
        $scanoptions['mappath'] = array('htdocs' =&gt; 'www');
        
        // ignore a library directory we install using pyrus,
        // and a specific file
        $scanoptions['ignore'] = array('lib' =&gt; 'dir', 'some/file.txt' =&gt; 'file');
        ?&gt;

    By default, the `make` command looks for scanoptions.php in the same directory
    as the package.xml
* Update source layout so files can be autoloaded from checkout [saltybeagle]
* Add code coverage reporter to the www directory [saltybeagle]
* For `$extrafiles`, support any object that implements `PackageInterface` [saltybeagle]

Bugs fixed:

* Increase minimum PHP dependency to 5.3.1RC1 [saltybeagle]
* Prevent fatal errors when only a `package2.xml` is present, ala XML_RPC2 [clockwerx]
* Allow `src/PEAR2` base directory for package layout [saltybeagle]
* Fix Bug #18123 Exception when using `pyrus.phar make -n`. [saltybeagle]
* Correct inconsitency of docs directory name. [saltybeagle]</notes>
 <contents>
  <dir name="/">
   <file role="www" name="www/pear2.php.net/PEAR2_Pyrus_Developer/CoverageAnalyzer/templates/CoverageAnalyzer/templates/TestSummary.tpl.php"/>
   <file role="www" name="www/pear2.php.net/PEAR2_Pyrus_Developer/CoverageAnalyzer/templates/CoverageAnalyzer/templates/TestCoverage.tpl.php"/>
   <file role="www" name="www/pear2.php.net/PEAR2_Pyrus_Developer/CoverageAnalyzer/templates/CoverageAnalyzer/templates/Summary.tpl.php"/>
   <file role="www" name="www/pear2.php.net/PEAR2_Pyrus_Developer/CoverageAnalyzer/templates/CoverageAnalyzer/templates/SourceFile.tpl.php"/>
   <file role="www" name="www/pear2.php.net/PEAR2_Pyrus_Developer/CoverageAnalyzer/templates/CoverageAnalyzer/templates/SelectDatabase.tpl.php"/>
   <file role="www" name="www/pear2.php.net/PEAR2_Pyrus_Developer/CoverageAnalyzer/templates/CoverageAnalyzer/templates/LineSummary.tpl.php"/>
   <file role="www" name="www/pear2.php.net/PEAR2_Pyrus_Developer/CoverageAnalyzer/templates/CoverageAnalyzer/templates/Controller.tpl.php"/>
   <file role="www" name="www/pear2.php.net/PEAR2_Pyrus_Developer/CoverageAnalyzer/CoverageAnalyzer/index.php"/>
   <file role="www" name="www/pear2.php.net/PEAR2_Pyrus_Developer/CoverageAnalyzer/CoverageAnalyzer/cover.css"/>
   <file role="php" name="php/PEAR2/Pyrus/Developer/Runphpt/Runner.php"/>
   <file role="php" name="php/PEAR2/Pyrus/Developer/Runphpt/Exception.php"/>
   <file role="php" name="php/PEAR2/Pyrus/Developer/PackageFile/v2.php"/>
   <file role="php" name="php/PEAR2/Pyrus/Developer/PackageFile/PECL/Filter.php"/>
   <file role="php" name="php/PEAR2/Pyrus/Developer/PackageFile/PECL.php"/>
   <file role="php" name="php/PEAR2/Pyrus/Developer/PackageFile/PEAR2SVN/Filter.php"/>
   <file role="php" name="php/PEAR2/Pyrus/Developer/PackageFile/PEAR2SVN.php"/>
   <file role="php" name="php/PEAR2/Pyrus/Developer/PackageFile/Commands.php"/>
   <file role="php" name="php/PEAR2/Pyrus/Developer/Creator/Zip.php"/>
   <file role="php" name="php/PEAR2/Pyrus/Developer/Creator/Xml.php"/>
   <file role="php" name="php/PEAR2/Pyrus/Developer/Creator/Tar.php"/>
   <file role="php" name="php/PEAR2/Pyrus/Developer/Creator/Phar/PHPArchive.php"/>
   <file role="php" name="php/PEAR2/Pyrus/Developer/Creator/Phar.php"/>
   <file role="php" name="php/PEAR2/Pyrus/Developer/Creator/Exception.php"/>
   <file role="php" name="php/PEAR2/Pyrus/Developer/CoverageAnalyzer/Web/View.php"/>
   <file role="php" name="php/PEAR2/Pyrus/Developer/CoverageAnalyzer/Web/TestSummary.php"/>
   <file role="php" name="php/PEAR2/Pyrus/Developer/CoverageAnalyzer/Web/TestCoverage.php"/>
   <file role="php" name="php/PEAR2/Pyrus/Developer/CoverageAnalyzer/Web/Summary.php"/>
   <file role="php" name="php/PEAR2/Pyrus/Developer/CoverageAnalyzer/Web/SelectDatabase.php"/>
   <file role="php" name="php/PEAR2/Pyrus/Developer/CoverageAnalyzer/Web/LineSummary.php"/>
   <file role="php" name="php/PEAR2/Pyrus/Developer/CoverageAnalyzer/Web/Exception.php"/>
   <file role="php" name="php/PEAR2/Pyrus/Developer/CoverageAnalyzer/Web/Controller.php"/>
   <file role="php" name="php/PEAR2/Pyrus/Developer/CoverageAnalyzer/Web/ClassToTemplateMapper.php"/>
   <file role="php" name="php/PEAR2/Pyrus/Developer/CoverageAnalyzer/Web/Aggregator.php"/>
   <file role="php" name="php/PEAR2/Pyrus/Developer/CoverageAnalyzer/test.php"/>
   <file role="php" name="php/PEAR2/Pyrus/Developer/CoverageAnalyzer/test-modified.php"/>
   <file role="php" name="php/PEAR2/Pyrus/Developer/CoverageAnalyzer/Sqlite.php"/>
   <file role="php" name="php/PEAR2/Pyrus/Developer/CoverageAnalyzer/SourceFile/PerTest.php"/>
   <file role="php" name="php/PEAR2/Pyrus/Developer/CoverageAnalyzer/SourceFile.php"/>
   <file role="php" name="php/PEAR2/Pyrus/Developer/CoverageAnalyzer/pear2coverage.phar.php"/>
   <file role="php" name="php/PEAR2/Pyrus/Developer/CoverageAnalyzer/make-coverage-phar.php"/>
   <file role="php" name="php/PEAR2/Pyrus/Developer/CoverageAnalyzer/Exception.php"/>
   <file role="php" name="php/PEAR2/Pyrus/Developer/CoverageAnalyzer/DefaultSourceDecorator.php"/>
   <file role="php" name="php/PEAR2/Pyrus/Developer/CoverageAnalyzer/Aggregator.php"/>
   <file role="php" name="php/PEAR2/Pyrus/Developer/CoverageAnalyzer/AbstractSourceDecorator.php"/>
   <file role="data" name="data/pear2.php.net/PEAR2_Pyrus_Developer/phartemplate.php"/>
   <file role="data" name="data/pear2.php.net/PEAR2_Pyrus_Developer/config.w32"/>
   <file role="data" name="data/pear2.php.net/PEAR2_Pyrus_Developer/config.m4"/>
   <file role="data" name="customcommand/pear2.php.net/PEAR2_Pyrus_Developer/commands.xml"/>
  </dir>
 </contents>
 <dependencies>
  <required>
   <php>
    <min>5.3.1RC1</min>
   </php>
   <pearinstaller>
    <min>1.4.8</min>
   </pearinstaller>
  </required>
 </dependencies>
 <phprelease>
  <filelist>
   <install name="customcommand/pear2.php.net/PEAR2_Pyrus_Developer/commands.xml" as="PEAR2_Pyrus_Developer/commands.xml"/>
   <install name="data/pear2.php.net/PEAR2_Pyrus_Developer/config.m4" as="PEAR2_Pyrus_Developer/config.m4"/>
   <install name="data/pear2.php.net/PEAR2_Pyrus_Developer/config.w32" as="PEAR2_Pyrus_Developer/config.w32"/>
   <install name="data/pear2.php.net/PEAR2_Pyrus_Developer/phartemplate.php" as="PEAR2_Pyrus_Developer/phartemplate.php"/>
   <install name="php/PEAR2/Pyrus/Developer/CoverageAnalyzer/AbstractSourceDecorator.php" as="PEAR2/Pyrus/Developer/CoverageAnalyzer/AbstractSourceDecorator.php"/>
   <install name="php/PEAR2/Pyrus/Developer/CoverageAnalyzer/Aggregator.php" as="PEAR2/Pyrus/Developer/CoverageAnalyzer/Aggregator.php"/>
   <install name="php/PEAR2/Pyrus/Developer/CoverageAnalyzer/DefaultSourceDecorator.php" as="PEAR2/Pyrus/Developer/CoverageAnalyzer/DefaultSourceDecorator.php"/>
   <install name="php/PEAR2/Pyrus/Developer/CoverageAnalyzer/Exception.php" as="PEAR2/Pyrus/Developer/CoverageAnalyzer/Exception.php"/>
   <install name="php/PEAR2/Pyrus/Developer/CoverageAnalyzer/make-coverage-phar.php" as="PEAR2/Pyrus/Developer/CoverageAnalyzer/make-coverage-phar.php"/>
   <install name="php/PEAR2/Pyrus/Developer/CoverageAnalyzer/pear2coverage.phar.php" as="PEAR2/Pyrus/Developer/CoverageAnalyzer/pear2coverage.phar.php"/>
   <install name="php/PEAR2/Pyrus/Developer/CoverageAnalyzer/SourceFile.php" as="PEAR2/Pyrus/Developer/CoverageAnalyzer/SourceFile.php"/>
   <install name="php/PEAR2/Pyrus/Developer/CoverageAnalyzer/SourceFile/PerTest.php" as="PEAR2/Pyrus/Developer/CoverageAnalyzer/SourceFile/PerTest.php"/>
   <install name="php/PEAR2/Pyrus/Developer/CoverageAnalyzer/Sqlite.php" as="PEAR2/Pyrus/Developer/CoverageAnalyzer/Sqlite.php"/>
   <install name="php/PEAR2/Pyrus/Developer/CoverageAnalyzer/test-modified.php" as="PEAR2/Pyrus/Developer/CoverageAnalyzer/test-modified.php"/>
   <install name="php/PEAR2/Pyrus/Developer/CoverageAnalyzer/test.php" as="PEAR2/Pyrus/Developer/CoverageAnalyzer/test.php"/>
   <install name="php/PEAR2/Pyrus/Developer/CoverageAnalyzer/Web/Aggregator.php" as="PEAR2/Pyrus/Developer/CoverageAnalyzer/Web/Aggregator.php"/>
   <install name="php/PEAR2/Pyrus/Developer/CoverageAnalyzer/Web/ClassToTemplateMapper.php" as="PEAR2/Pyrus/Developer/CoverageAnalyzer/Web/ClassToTemplateMapper.php"/>
   <install name="php/PEAR2/Pyrus/Developer/CoverageAnalyzer/Web/Controller.php" as="PEAR2/Pyrus/Developer/CoverageAnalyzer/Web/Controller.php"/>
   <install name="php/PEAR2/Pyrus/Developer/CoverageAnalyzer/Web/Exception.php" as="PEAR2/Pyrus/Developer/CoverageAnalyzer/Web/Exception.php"/>
   <install name="php/PEAR2/Pyrus/Developer/CoverageAnalyzer/Web/LineSummary.php" as="PEAR2/Pyrus/Developer/CoverageAnalyzer/Web/LineSummary.php"/>
   <install name="php/PEAR2/Pyrus/Developer/CoverageAnalyzer/Web/SelectDatabase.php" as="PEAR2/Pyrus/Developer/CoverageAnalyzer/Web/SelectDatabase.php"/>
   <install name="php/PEAR2/Pyrus/Developer/CoverageAnalyzer/Web/Summary.php" as="PEAR2/Pyrus/Developer/CoverageAnalyzer/Web/Summary.php"/>
   <install name="php/PEAR2/Pyrus/Developer/CoverageAnalyzer/Web/TestCoverage.php" as="PEAR2/Pyrus/Developer/CoverageAnalyzer/Web/TestCoverage.php"/>
   <install name="php/PEAR2/Pyrus/Developer/CoverageAnalyzer/Web/TestSummary.php" as="PEAR2/Pyrus/Developer/CoverageAnalyzer/Web/TestSummary.php"/>
   <install name="php/PEAR2/Pyrus/Developer/CoverageAnalyzer/Web/View.php" as="PEAR2/Pyrus/Developer/CoverageAnalyzer/Web/View.php"/>
   <install name="php/PEAR2/Pyrus/Developer/Creator/Exception.php" as="PEAR2/Pyrus/Developer/Creator/Exception.php"/>
   <install name="php/PEAR2/Pyrus/Developer/Creator/Phar.php" as="PEAR2/Pyrus/Developer/Creator/Phar.php"/>
   <install name="php/PEAR2/Pyrus/Developer/Creator/Phar/PHPArchive.php" as="PEAR2/Pyrus/Developer/Creator/Phar/PHPArchive.php"/>
   <install name="php/PEAR2/Pyrus/Developer/Creator/Tar.php" as="PEAR2/Pyrus/Developer/Creator/Tar.php"/>
   <install name="php/PEAR2/Pyrus/Developer/Creator/Xml.php" as="PEAR2/Pyrus/Developer/Creator/Xml.php"/>
   <install name="php/PEAR2/Pyrus/Developer/Creator/Zip.php" as="PEAR2/Pyrus/Developer/Creator/Zip.php"/>
   <install name="php/PEAR2/Pyrus/Developer/PackageFile/Commands.php" as="PEAR2/Pyrus/Developer/PackageFile/Commands.php"/>
   <install name="php/PEAR2/Pyrus/Developer/PackageFile/PEAR2SVN.php" as="PEAR2/Pyrus/Developer/PackageFile/PEAR2SVN.php"/>
   <install name="php/PEAR2/Pyrus/Developer/PackageFile/PEAR2SVN/Filter.php" as="PEAR2/Pyrus/Developer/PackageFile/PEAR2SVN/Filter.php"/>
   <install name="php/PEAR2/Pyrus/Developer/PackageFile/PECL.php" as="PEAR2/Pyrus/Developer/PackageFile/PECL.php"/>
   <install name="php/PEAR2/Pyrus/Developer/PackageFile/PECL/Filter.php" as="PEAR2/Pyrus/Developer/PackageFile/PECL/Filter.php"/>
   <install name="php/PEAR2/Pyrus/Developer/PackageFile/v2.php" as="PEAR2/Pyrus/Developer/PackageFile/v2.php"/>
   <install name="php/PEAR2/Pyrus/Developer/Runphpt/Exception.php" as="PEAR2/Pyrus/Developer/Runphpt/Exception.php"/>
   <install name="php/PEAR2/Pyrus/Developer/Runphpt/Runner.php" as="PEAR2/Pyrus/Developer/Runphpt/Runner.php"/>
   <install name="www/pear2.php.net/PEAR2_Pyrus_Developer/CoverageAnalyzer/CoverageAnalyzer/cover.css" as="PEAR2_Pyrus_Developer/CoverageAnalyzer/CoverageAnalyzer/cover.css"/>
   <install name="www/pear2.php.net/PEAR2_Pyrus_Developer/CoverageAnalyzer/CoverageAnalyzer/index.php" as="PEAR2_Pyrus_Developer/CoverageAnalyzer/CoverageAnalyzer/index.php"/>
   <install name="www/pear2.php.net/PEAR2_Pyrus_Developer/CoverageAnalyzer/templates/CoverageAnalyzer/templates/Controller.tpl.php" as="PEAR2_Pyrus_Developer/CoverageAnalyzer/templates/CoverageAnalyzer/templates/Controller.tpl.php"/>
   <install name="www/pear2.php.net/PEAR2_Pyrus_Developer/CoverageAnalyzer/templates/CoverageAnalyzer/templates/LineSummary.tpl.php" as="PEAR2_Pyrus_Developer/CoverageAnalyzer/templates/CoverageAnalyzer/templates/LineSummary.tpl.php"/>
   <install name="www/pear2.php.net/PEAR2_Pyrus_Developer/CoverageAnalyzer/templates/CoverageAnalyzer/templates/SelectDatabase.tpl.php" as="PEAR2_Pyrus_Developer/CoverageAnalyzer/templates/CoverageAnalyzer/templates/SelectDatabase.tpl.php"/>
   <install name="www/pear2.php.net/PEAR2_Pyrus_Developer/CoverageAnalyzer/templates/CoverageAnalyzer/templates/SourceFile.tpl.php" as="PEAR2_Pyrus_Developer/CoverageAnalyzer/templates/CoverageAnalyzer/templates/SourceFile.tpl.php"/>
   <install name="www/pear2.php.net/PEAR2_Pyrus_Developer/CoverageAnalyzer/templates/CoverageAnalyzer/templates/Summary.tpl.php" as="PEAR2_Pyrus_Developer/CoverageAnalyzer/templates/CoverageAnalyzer/templates/Summary.tpl.php"/>
   <install name="www/pear2.php.net/PEAR2_Pyrus_Developer/CoverageAnalyzer/templates/CoverageAnalyzer/templates/TestCoverage.tpl.php" as="PEAR2_Pyrus_Developer/CoverageAnalyzer/templates/CoverageAnalyzer/templates/TestCoverage.tpl.php"/>
   <install name="www/pear2.php.net/PEAR2_Pyrus_Developer/CoverageAnalyzer/templates/CoverageAnalyzer/templates/TestSummary.tpl.php" as="PEAR2_Pyrus_Developer/CoverageAnalyzer/templates/CoverageAnalyzer/templates/TestSummary.tpl.php"/>
  </filelist>
 </phprelease>
</package>
EOF