[aur-general] please add -depth 1 to makepkg git clone

William Giokas 1007380 at gmail.com
Fri Apr 5 22:05:50 EDT 2013


On Fri, Apr 05, 2013 at 06:47:55PM -0700, Tai-Lin Chu wrote:
> makepkg only needs the latest git snapshot
> there are only 2 cases that wont work:
> 1. revert git commit
> 2. count # of revisions
> 
> > Won't work as you can't clone shallow repositories, which makepkg
> > needs to do to create the working copy for the build.

This is also true. makepkg clones a bare repository to the SRCDEST
directory. If this is a shallow bare repo, then clones cannot be made of
it which is what makepkg does.

Thanks,
-- 
William Giokas | KaiSforza
GnuPG Key: 0x73CD09CF
Fingerprint: F73F 50EF BBE2 9846 8306  E6B8 6902 06D8 73CD 09CF
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://mailman.archlinux.org/pipermail/aur-general/attachments/20130405/14d1a2b9/attachment-0001.asc>


More information about the aur-general mailing list