« Return to Thread: Git repositories without master tag

Re: Git repositories without master tag

by Lifeng Sun :: Rate this Message:

| View in Thread

Hi Andreas,

Fixed. The problem is the default checkout branch of the
repository was not set to master branch, I cannot see any reason
to follow it either.


Kind regards,
Lifeng

On 16:17 Fri 04/06/12 Apr     , Andreas Tille wrote:

> Subject: Git repositories without master tag
>
> Hi,
>
> I tried to fetch all machine readable files from certain repositories
> (relevant for Blends) and I followed the approach to cd into a Git
> repository and doing for instance:
>
>    git show HEAD:debian/changelog
>
> there.  This works in the most cases with some exceptions.  One of it
> is for instance cernlib and when I do
>
>    git clone git://git.debian.org/git/debian-science/packages/cernlib.git
>
> I see the reason.  The checkout dir does not show a debian/ directory
> and I need to checkout a certain tag "debian/*" before this dir becomes
> visible.  I do not know whether it is a strong requirement but wouldn't
> it be more comfortable to have a master tag which presents the latest
> state of packaging more easily.
>
> Could you either fix these repositories or just give me a hint how I can
> easily fetch the latest changelog, control, copyright and upstream files
> without cloning the whole repository?
>
> Kind regards
>
>        Andreas.
>
> --
> http://fam-tille.de
>
> ----- End forwarded message -----
>
> --
> http://fam-tille.de

--


--
To UNSUBSCRIBE, email to debian-science-request@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...
Archive: http://lists.debian.org/20120406151956.GA2240@string

 « Return to Thread: Git repositories without master tag