[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#692353: ITP: php-wpcli -- PHP PEAR module for a WordPress CLI interface



On 11/06/2012 05:54 AM, andrea rota wrote:
> hi Thomas,
> 
> On Tue, Nov 06, 2012 at 03:24:17AM +0800, Thomas Goirand wrote:
>> On 11/06/2012 12:28 AM, andrea rota wrote:
>>> thanks - i have prepared an initial package which works ok on a couple
>>> of production nodes: what would be the best way to make the code
>>> available for review?
>>
>> Upload the package somewhere (it doesn't have to be mentors.debian.net,
>> as long as download is fast enough), and give the link to the .dsc file
>> (that file is the result of a dpkg-buildpackage, and it links to the
>> .orig.tar.gz and debian.tar.gz files, which will be downloaded
>> automatically by dget).
> 
> ok - my first attempt is now on mentors.debian.net
> (http://mentors.debian.net/package/php-wpcli) and i can already see some
> obvious issues that had escaped my attention when looking at lintian's
> output in the terminal - including the fact that it seems that a git
> submodule of the upstream repo (src/php/php-cli-tools) should probably
> be packaged separately :S

It doesn't build on my SID box:

dh binary --buildsystem=phppear --with phppear
   dh_testroot -O--buildsystem=phppear
   dh_prep -O--buildsystem=phppear
   dh_installdirs -O--buildsystem=phppear
   dh_auto_install -O--buildsystem=phppear
Unknown channel "wp-cli.github.com/pear"
Parsing of package.xml from file "./wpcli-0.6.0/package.xml" failed
Cannot download non-local package "./wpcli-0.6.0/package.xml"
install failed
dh_auto_install: /usr/bin/pear -c debian/pearrc -d download_dir=/tmp -d
include_path=/usr/share/php -d php_bin=/usr/bin/php -d bin_dir=/usr/bin
-d php_dir=/usr/share/php -d data_dir=/usr/share/php/data -d
doc_dir=/usr/share/doc/php-wpcli -d test_dir=/usr/share/php/tests
install --offline --nodeps -P
/home/zigo/sources/pkg-php-pear/php-wpcli/php-wpcli-0.6.0/debian/php-wpcli
./wpcli-0.6.0/package.xml returned exit code 1
make: *** [binary] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit
status 2

As for the Git packaging, if you haven't done so, please join the
PKG-PHP group on alioth.debian.org, and I'll add you the PKG PEAR
maintainer rights once you're in. Then please upload the git repo on Alioth.

Cheers,

Thomas


Reply to: