Re: Why no git --depth=1 option for makepkg?

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



Am 04.03.2018 um 17:05 schrieb Eli Schwartz via arch-general:
> The point, is that PKGBUILDs do look for history, and make use of it --
> figuring out clever ways to avoid pulling history is completely missing
> the point that we, well, want history.

But the history is only needed for the default functions, isn't it? And
shallow clones are only needed for special repositories where a full
clone is not feasible.

So in this case it's a far better approach to provide your own functions
that don't need the whole git history, cause this has all needed changes
for this special repository inside the recipe and is not something a
user has to do.

On the other hand, it certainly doesn't make sense to use shallow copies
in general, because they raise the discussed problems for functions that
should be generally usable.

Uwe



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux