Re: librabbitmq and git
On 19.08.2014 01:52, Brian May wrote:
> Hello,
>
> I would like to package the latest upstream version of librabbitmq.
>
> However, the packaging is in git, and I am not sure how to insert the
> latest upstream version in this git repository.
>
> From debian/control:
>
> Homepage: https://github.com/alanxz/rabbitmq-c
> Vcs-Git: git://anonscm.debian.org/collab-maint/librabbitmq.git
> <http://anonscm.debian.org/collab-maint/librabbitmq.git>
> Vcs-Browser:
> http://anonscm.debian.org/gitweb/?p=collab-maint/librabbitmq.git
>
> From debian/copyright:
>
> Source: https://github.com/alanxz/rabbitmq-c
>
> I take this to mean I should be downloading the orig.tag.gz from github.
>
> However, just to make things more interesting, the 5.0 and 5.1 tar.gz
> file from github contains a "sub git repository" (not sure I have used
> correct git terminology here), with invalid relative reference,
> under rabbitmq-c-0.5.1/codegen, which wasn't included in
> librabbitmq_0.5.0.orig.tar.gz
>
> brian@aquitard:~/tree/debian/unstable/librabbitmq/librabbitmq/codegen$
> cat .git
> gitdir: ../.git/modules/codegen
> brian@aquitard:~/tree/debian/unstable/librabbitmq/librabbitmq/codegen$
> git diff
> fatal: Not a git repository: ../.git/modules/codegen
>
> So it looks like maybe the librabbitmq_0.5.0.orig.tar.gz was repackaged
> from upstream? Should I do the same thing for 0.5.1?
>
github.com tag downloads do not include submodules as git archive itself
does not support them.
You will have to download your full tarball from another place than github.
Reply to: