[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)
Signed-off-by: Clayton Craft
On 9 October 2015 at 04:55, Clayton Craft
Signed-off-by: Clayton Craft
--- 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. Lukas
On 09/10/15 18:08, Lukas Jirkovsky wrote:
On 9 October 2015 at 04:55, Clayton Craft
wrote: Signed-off-by: Clayton Craft
--- 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
participants (3)
-
Allan McRae
-
Clayton Craft
-
Lukas Jirkovsky