missing upstream branch on Alioth

Markus Koschany apo at gambaru.de
Thu Apr 23 10:34:58 UTC 2015


On 23.04.2015 12:07, Alexandre Detiste wrote:
> I can't build the package on Alioth: the "upstream" branch has never
> been pushed.
> 
> ~/drascula $ git-buildpackage -us -uc
> gbp:error: upstream/1.0+ds2 is not a valid treeish
> 
> 
> (the positive side is that git clone went very fast !)

I usually use two patterns with Git. Someone convinced me that for large
upstream tarballs or for games with a lot of binary files the
debian-branch-only method is preferable. As you noticed already cloning
the repository is very fast.

The work flow is quite easy. Just download the original tarball with

apt-get source drascula

and move it to ../tarballs

Then you can use git-buildpackage with the following options (gbp.conf)

[git-buildpackage]
tarball-dir = ../tarballs
export-dir  = ../build-area/

The tool will automatically look in tarballs for upstream tarballs and
the build will happen in build-area.

Markus

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20150423/66d6a458/attachment.sig>


More information about the Pkg-games-devel mailing list