[aur-general] please add -depth 1 to makepkg git clone
danielwallace at gtmanfred.com
Sat Apr 6 01:50:09 EDT 2013
-----BEGIN PGP SIGNED MESSAGE-----
Tai-Lin Chu <tailinchu at gmail.com> wrote:
>1. you can still pull, so it will not be a reason to go against it
>>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
>>it which is what makepkg does.
>2. ... i dont think why it needs to use git clone. using cp is good
>On Fri, Apr 5, 2013 at 7:05 PM, William Giokas <1007380 at gmail.com>
>> 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
>> it which is what makepkg does.
>> William Giokas | KaiSforza
>> GnuPG Key: 0x73CD09CF
>> Fingerprint: F73F 50EF BBE2 9846 8306 E6B8 6902 06D8 73CD 09CF
I truly do not understand why this conversation exists. We discussed this months ago. The conclusion was that you really shouldn't be using these packages unless you are following upstream... What if the current depth=1 is unstable and has a huge bug.... Then what... Oh those users aren't following upstream and have no idea because instead of the developers of the program monitoring and telling them this a stable (and hopefully bug free release... The use your depth=1 pkgbuild and never update until one of the depends does a soname bump and breaks everything... To save space... In my opinion we should actually remove git packages from the aur... It adds an air of instability to the distribution... People that use -git should really maintain there own pkgbuild... And yes I felt this was so important I interrupted my night out to send...
So, unlike you, I hope depth is never supported in package source=()
Sent from my Android Phone.
Arch Linux Trusted User
-----BEGIN PGP SIGNATURE-----
Version: APG v1.0.8
-----END PGP SIGNATURE-----
More information about the aur-general