Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

This commit was manufactured by cvs2svn to create tag 'RELEASE_1_8_1'.

  • Loading branch information...
commit 776f6512aac42db66f9a4967d9baec2855a55a6f 1 parent c42b4dc
PHP SVN authored
Showing with 0 additions and 52 deletions.
  1. +0 −52 package.php
View
52 package.php
@@ -1,52 +0,0 @@
-<?php
-
-require_once 'PEAR/PackageFileManager.php';
-require_once 'Console/Getopt.php';
-
-$version = '1.8.1';
-$notes = <<<EOT
-Fixed some bugs in the 'win' handler.
-Updated the Log_observer::factory() method for consistency with Log::factory().
-EOT;
-
-$changelog = <<<EOT
-The 'win' handler now handles newline sequences correctly (Bug 282).
-
-The Log_observer::factory() method has been updated to accept an optional associative array of configuration values, return the newly-created object by reference, and look for files named 'Log/observer_$type.php'. Backwards compatibility for the old-style conventions has been preserved.
-EOT;
-
-$package = new PEAR_PackageFileManager();
-
-$result = $package->setOptions(array(
- 'package' => 'Log',
- 'summary' => 'Logging utilities',
- 'version' => $version,
- 'state' => 'stable',
- 'license' => 'PHP License',
- 'filelistgenerator' => 'cvs',
- 'ignore' => array('package.php', 'package.xml'),
- 'notes' => $notes,
- 'changelognotes' => $changelog,
- 'changelogoldtonew' => false,
- 'baseinstalldir' => '/',
- 'packagedirectory' => ''));
-
-if (PEAR::isError($result)) {
- echo $result->getMessage();
- die();
-}
-
-$package->addMaintainer('jon', 'lead', 'Jon Parise', 'jon@php.net');
-
-$package->addDependency('DB', false, 'has', 'pkg', true);
-
-if ($_SERVER['argv'][1] == 'commit') {
- $result = $package->writePackageFile();
-} else {
- $result = $package->debugPackageFile();
-}
-
-if (PEAR::isError($result)) {
- echo $result->getMessage();
- die();
-}
Please sign in to comment.
Something went wrong with that request. Please try again.