The package name in xml is Aura.Autoload , but the package created is Aura.0.0beta2.tgz , which misses the second value after the dot . Though the output says its creating Aura.Autoload-1.0.0.beta2.tgz , see it misses Autoload-1
hari@hari-Vostro1510:/media/Linux/auraphp/system/package/Aura.Autoload$ pyrus package
Using PEAR installation found at /media/Linux/pyrus
Creating Aura.Autoload-1.0.0beta2.tgz
done
hari@hari-Vostro1510:/media/Linux/auraphp/system/package/Aura.Autoload$ ls
Aura.0.0beta2.tgz composer.json config docs LICENSE meta package.ini package.xml README.md scripts src src.php tests
[package]
name = Aura.Autoload
desc = The Aura Autoload package provides a PSR-0 compliant SPL autoloader implementation for PHP. It also matches the proposed SplClassLoader interface.
version = 1.0.0beta2
channel = pear.php.net
author = Paul M Jones <hismailid@gmail.com>
[require]
php = 5.4
pearinstaller = 1.4
[roles]
docs = doc
Create the package.xml
$ onion build
Checking directory structure...
* doc/ directory not found.
Configuring package.ini
Reading config file: package.ini
Configuring dependencies...
Writing package.xml...
Building contents section...
Building dependencies section...
Building phprelease section...
package.xml is generated. you can now build your PEAR package with:
PEAR:
$ pear -q package
Pyrus:
$ pyrus.phar package
Done.
The package name in xml is
Aura.Autoload
, but the package created isAura.0.0beta2.tgz
, which misses the second value after the dot . Though the output says its creatingAura.Autoload-1.0.0.beta2.tgz
, see it missesAutoload-1
The
package.xml
file ispackage.xml
is created via Onion as I feel its an easy way https://github.com/c9s/Onion/package.ini
of onion isCreate the package.xml