Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
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
|
DetailsThe 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
PKGBUILD-git.proto.diff
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)