[pacman-dev] [PATCH] libmakepkg/source/git: Use --bare with a refspec instead of --mirror
eschwartz at archlinux.org
Sun Jan 20 17:53:10 UTC 2019
On 1/20/19 12:40 PM, Versus via pacman-dev wrote:
> On 01/20/2019 07:30:21 PM, Eli Schwartz wrote:
>> It's entirely possible that people use this to cherry-pick a patch from
>> a PR branch. That being said, I do consider it reasonable to not fetch
>> this by default and pull in the patchfile via source=() if you do need
>> it... but I wonder how often people might be relying on this behavior.
> Is it possible to add something like GIT_OPTIONS or VCS_OPTIONS to
> pass any custom options for clonning? For end user who wish to install
> e.g. qgis from git but have no plans to hack it, clone with '--depth 1'
> option would be _much_ faster.
Rejected on numerous occasions, and it's an unrelated topic.
The first major issue you will have is that the pkgver() function for
printf "%s.r%s" "$_pkgver" "$(git rev-list --count HEAD).$(git rev-parse
And this will break if you delete all the rev-list history.
Bug Wrangler and Trusted User
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1601 bytes
Desc: OpenPGP digital signature
More information about the pacman-dev