On 06/27/2013 06:08 AM, andrea rota wrote: > i have pushed an initial version of the package to > http://anonscm.debian.org/gitweb/?p=pkg-php/php-json-schema.git > > in this case i did not include the tests for the moment (and noted this > in debian/TODO) as they require (via composer's require-dev) further > composer packages not yet packaged in Debian. > > i have also uploaded the .dsc file here: > http://mentors.debian.net/package/php-json-schema > > i had trouble with git-buildpackage on the first build attempt: invoking > git-buildpackage only would fail with a git error: > > gbp:debug: ['git', 'ls-tree', 'upstream/1.3.2'] > gbp:error: upstream/1.3.2 is not a valid treeish > > (in fact, the ref was listed correctly via git ls-tree 1.3.2, not via > git ls-tree upstream/1.3.2 in my working dir) > > however, after building the package once with > git-buildpackage --git-upstream-tree=1.3.2 > i can now build the package with > git-buildpackage > only, on the same machine (couldn't try on a different VM yet) - i'm not > sure why this is and how to correctly inform git-buildpackage of which > ref to look for initially. > > thanks > andrea >
zigo@d(ebian-sid)>_ ~/sources/pkg-php-pear/php-json-schema/php-json-schema$ git-buildpackage dh clean --with phpcomposer dh_testdir dh_auto_clean dh_clean gbp:error: upstream/1.3.2 is not a valid treeish Are you using pristine-tar? If so, please push that branch, edit debian/gbp.conf to add the pristine-tar = True, and push all tags. Thomas -- To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/51cbb72d.1030...@debian.org