[pacman-dev] [PATCH] Add support for setting git-clone options to be used by makepkg (e.g. allowing user to set options like --depth=1)
Allan McRae
allan at archlinux.org
Fri Oct 9 08:45:22 UTC 2015
On 09/10/15 18:08, Lukas Jirkovsky wrote:
> On 9 October 2015 at 04:55, Clayton Craft <craftyguy at gmail.com> wrote:
>> Signed-off-by: Clayton Craft <craftyguy at gmail.com>
>> ---
>> etc/makepkg.conf.in | 3 +++
>> scripts/libmakepkg/source/git.sh.in | 2 +-
>> 2 files changed, 4 insertions(+), 1 deletion(-)
>>
>>
>> +#-- Git-clone options
>> +GITCLONEOPTS=""
>> +
>
>
> I don't like this at all, as it is specific to a single VCS. If
> something like that was to be introduced, it should be in my opinion
> applicable to any VCS. I think configuration similar to DLAGENTS would
> be nice.
>
This can be done by dropping a file into libmakepkg that provides a
stupidgit:// protocol.
Allan
More information about the pacman-dev
mailing list