Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#29104 - [abs] use git-reset and git-clean instead of git-clone in PKGBUILD-git.proto

Attached to Project: Arch Linux
Opened by pumbur (pumbur) - Sunday, 25 March 2012, 09:30 GMT
Last edited by Dave Reisner (falconindy) - Friday, 07 September 2012, 15:29 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Dave Reisner (falconindy)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

use
"cd $_gitname; git reset --hard; git clean -dxf;"
instead of
"rm -rf $_gitname-build; git clone $_gitname $_gitname-build; cd $_gitname-build;"

it's much faster on large repositories like linux-kernel or firefox — no need to clone-remove repository every time — too many unneeded file operations.

something like this: http://pastebin.com/jubGjUGu

(i also found similar proposals by Linus Arver in arch-projects maillist from november 2011)
This task depends upon

Closed by  Dave Reisner (falconindy)
Friday, 07 September 2012, 15:29 GMT
Reason for closing:  Won't implement
Comment by Dave Reisner (falconindy) - Friday, 07 September 2012, 15:29 GMT
Then make this change for the packages where it makes sense. VCS packages are changing dramatically for pacman 4.1 anyways and most of these templates will simply go away.

Loading...