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#13160 - git packages prototype could use "git clone" instead of "cp"
Attached to Project:
Arch Linux
Opened by Gergely (imrehg) - Sunday, 08 February 2009, 14:34 GMT
Last edited by Allan McRae (Allan) - Sunday, 22 February 2009, 09:01 GMT
Opened by Gergely (imrehg) - Sunday, 08 February 2009, 14:34 GMT
Last edited by Allan McRae (Allan) - Sunday, 22 February 2009, 09:01 GMT
|
DetailsDescription:
Checking the git packages prototype [1], one could do better if instead of copying a git repo to a "build" dir, cloning it. That is, instead of: cp -r "$srcdir/$_gitname" "$srcdir/$_gitname-build" do: git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build" This would save space and would be faster in the same time, as git uses hard links whenever possible instead of actual copying (e.g. [2]). I changed the wiki a while ago since I started to use this method, and just been brought to my attention that the ABS prototype is different, so though file a feature request for this. [1] http://projects.archlinux.org/?p=abs.git;a=blob;f=prototypes/PKGBUILD-git.proto;hb=HEAD [2] http://www-cs-students.stanford.edu/~blynn/gitmagic/ch03.html#_light_speed_multitask |
This task depends upon
Closed by Allan McRae (Allan)
Sunday, 22 February 2009, 09:01 GMT
Reason for closing: Fixed
Additional comments about closing: Patch in git.
Sunday, 22 February 2009, 09:01 GMT
Reason for closing: Fixed
Additional comments about closing: Patch in git.
Dan: Comments?