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

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



On 03/04/2018 10:37 AM, ProgAndy wrote:
> Maybe a working option would be to implement fragmant variables for some
> git options like depth, shallow-exclude and shallow-since, but that is
> likely not trivial.
> 
> source=("one::git+https://repo.git#branch=master:shallow-exclude=v4.14";
> "two::git+https://repo.git#branch=master:shallow-since=2017-12-30";)

That would require opt-in support for every package to describe which
commits it needs, something which the vast majority of maintainers are
uninterested in and requires successively more query strings for each
branch you want to cherry-pick from.

Also shallow-exclude would exclude the tag itself, you cannot specify
"v${pkgver}~1" to shallow-exclude.

As you say, not trivial. ;) I've thought about it too...

-- 
Eli Schwartz
Bug Wrangler and Trusted User

Attachment: signature.asc
Description: OpenPGP digital signature


[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