Arch Linux

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!
Tasklist

FS#17884 - [abs] PKGBUILD-git.proto doesn't allow differing _gitname and _gitroot

Attached to Project: Arch Linux
Opened by Marti (intgr) - Monday, 18 January 2010, 00:49 GMT
Last edited by Allan McRae (Allan) - Monday, 25 January 2010, 12:32 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The current PKGBUILD-git.proto included with abs assumes that the last segment of _gitroot URL matches _gitname. This is an unnecessary restriction.

Case in point, my udisks-git PKGBUILD:

_gitroot="git://anongit.freedesktop.org/DeviceKit/DeviceKit-disks"
_gitname="udisks"

build() {
...
git clone $_gitroot # creates $srcdir/DeviceKit-disks
...
git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build" # tries to clone $srcdir/udisks and fails


While having differing _gitroot/_gitname might not sound like a particularly helpful feature, the fix is totally trivial and harmless.
Attached is a "git format-patch" patch.
This task depends upon

Closed by  Allan McRae (Allan)
Monday, 25 January 2010, 12:32 GMT
Reason for closing:  Fixed
Additional comments about closing:  commit 2967c65f

Loading...