FS#23065 - [abs] add --depth 1 argument to git clone
Attached to Project:
Arch Linux
Opened by Greg (dolby) - Sunday, 27 February 2011, 11:29 GMT
Last edited by Allan McRae (Allan) - Saturday, 05 March 2011, 02:11 GMT
Opened by Greg (dolby) - Sunday, 27 February 2011, 11:29 GMT
Last edited by Allan McRae (Allan) - Saturday, 05 March 2011, 02:11 GMT
|
Details
The PKGBUILD-git.proto clones the entire development tree of
a specified project in order to build a package. That leads
to downloads of hundreds of megabytes in certain
occasions.
As the purpose of the template script is to create a package of the development version of an application, and not to get people involved in its development, i propose adding --depth 1 to the git clone invocation. |
This task depends upon
Closed by Allan McRae (Allan)
Saturday, 05 March 2011, 02:11 GMT
Reason for closing: Won't implement
Saturday, 05 March 2011, 02:11 GMT
Reason for closing: Won't implement
The git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build" line needs to be changed to something like cp -r "$srcdir/$_gitname" "$srcdir/$_gitname-build" (which is what all the other proto's do)