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

Re: librabbitmq and git



On Mon, Aug 18, 2014 at 6:52 PM, Brian May
<brian@microcomaustralia.com.au> wrote:
> 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?
>

That is called a git submodule. You can check it out with "git
submodule update --init", but the submodule shouldn't be included in
the package. They are usually there to make integration tests easier
for upstream.

Regards,
Jordan Metzmeier


Reply to: