[pacman-dev] The great VCS packages overhaul of 2015

Allan McRae allan at archlinux.org
Tue Mar 13 06:54:41 EDT 2012


On 13/03/12 20:39, Thomas Bächler wrote:
> Am 13.03.2012 11:36, schrieb Allan McRae:
>> On 13/03/12 20:13, Thomas Bächler wrote:
>>>> What makepkg does:
>>>>> 1) goes into $vcsdir, checks for the pacman directory
>>>>>    - if not present, do the git checkout
>>>>>    - if present, enter and do a "git pull" unless --holdver is specified
>>> This should be a path under SRCDIR. This should also be a bare clone
>>> without working copy.
>>
>> Query, do you mean $srcdir or $SRCDEST there?
> 
> Ehm, SRCDEST, sorry :)
> 
>> Also, do you mean a bare (--bare) clone or a shallow (--depth 1) clone?
>>  As far as I know, a bare clone can not be updated.
> 
> Of course a bare clone can be updated (man git-fetch). Only git pull
> won't work. Also, regarding the problem in my other mail: git clone
> --mirror might be the right thing.
> 

Oh... cool. Learnt something new today.  I did not know that could be done.

Allan



More information about the pacman-dev mailing list