Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 49 lines (46 sloc) 1.6 kb
7a90733 Christian Weiske release new version of pearweb_index
cweiske authored
1 <?php
f623e9d Christian Weiske prepare release of pearweb_index-1.22.2
cweiske authored
2 error_reporting(error_reporting() & ~E_STRICT & ~E_DEPRECATED);
7a90733 Christian Weiske release new version of pearweb_index
cweiske authored
3 require_once 'PEAR/PackageFileManager2.php';
4 PEAR::setErrorHandling(PEAR_ERROR_DIE);
5 $a = PEAR_PackageFileManager2::importOptions(
6 dirname(__FILE__) . '/package-index.xml',
7 array(
8 'packagefile' => 'package-index.xml',
9 'baseinstalldir' => '/pear.php.net/',
f623e9d Christian Weiske prepare release of pearweb_index-1.22.2
cweiske authored
10 'filelistgenerator' => 'file',
7a90733 Christian Weiske release new version of pearweb_index
cweiske authored
11 'roles' => array('*' => 'www'),
12 'simpleoutput' => true,
13 'include' => array(
14 'public_html/about/credits.php',
15 'public_html/about/index.php',
16 'public_html/about/privacy.php',
17 'public_html/group/',
18 'public_html/news/',
19 'public_html/qa/index.php',
20 'public_html/support/',
21 'public_html/copyright.php',
22 'public_html/index.php',
23 'public_html/mirrors.php',
24 'public_html/gophp5.php',
25 ),
26 )
27 );
f623e9d Christian Weiske prepare release of pearweb_index-1.22.2
cweiske authored
28 $a->setReleaseVersion('1.22.2');
7a90733 Christian Weiske release new version of pearweb_index
cweiske authored
29 $a->setReleaseStability('stable');
30 $a->setAPIStability('stable');
31 $a->setNotes('
f623e9d Christian Weiske prepare release of pearweb_index-1.22.2
cweiske authored
32 Fix #20500: twitter & identi.ca links broken
7a90733 Christian Weiske release new version of pearweb_index
cweiske authored
33 ');
34 $a->resetUsesrole();
35 $a->clearDeps();
36 $a->setPhpDep('5.2.3');
37 $a->setPearInstallerDep('1.8.0');
2c4dbc1 Daniel O'Connor Updated dependencies
CloCkWeRX authored
38 $a->addPackageDepWithChannel('required', 'pearweb_qa', 'pear.php.net', '1.0.2');
e292c64 Daniel O'Connor Fixed missing dependencies
CloCkWeRX authored
39 $a->addPackageDepWithChannel('required', 'pearweb_pepr', 'pear.php.net', '1.0.2');
40 $a->addPackageDepWithChannel('required', 'pearweb', 'pear.php.net', '1.21.1');
7a90733 Christian Weiske release new version of pearweb_index
cweiske authored
41
42 $a->generateContents();
43
44 if (isset($_SERVER['argv']) && @$_SERVER['argv'][1] == 'make') {
45 $a->writePackageFile();
46 } else {
47 $a->debugPackageFile();
8fe9d08 Daniel O'Connor Prepped for 1.20.3 release
CloCkWeRX authored
48 }
Something went wrong with that request. Please try again.