FS#34485 - [abs] Update prototypes for pacman 4.1 new features

Attached to Project: Arch Linux
Opened by Rafael Fontenelle (josephg) - Wednesday, 27 March 2013, 01:24 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 15 May 2017, 17:18 GMT
Task Type Feature Request
Category Arch Projects
Status Closed
Assigned To matt mooney (mfm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 28
Private No

Details

Description:

Pacman 4.1 introduces some features that impact in the prototypes available in abs (e.g. support for VCS URLs) and it would be nice to be able keep using them as template for new packages (or as reliable example).

Additional info:
* package version(s)
abs 2.4.4-1
pacman git/4.1rc1 (http://allanmcrae.com/2013/03/pacman-4-1-0rc1/)
This task depends upon

Closed by  Doug Newgard (Scimmia)
Monday, 15 May 2017, 17:18 GMT
Reason for closing:  None
Additional comments about closing:  Removed from repos
Comment by John (graysky) - Friday, 05 April 2013, 09:10 GMT
::Confused:: Shouldn't the VCS PKGBUILD protos be removed, not updated?
http://allanmcrae.com/2012/08/changes-to-vcs-packaging-support-in-makepkg/
Comment by Rafael Fontenelle (josephg) - Friday, 05 April 2013, 09:34 GMT
Why remove? Since pacman 4.1, they way pacman supports VCS has changed, but, as far as I can tell, they are not exactly the same as the default PKGUBILD. e.g.: a GIT proto PKGBUILD would have a git source URL (git+http:// ....), makedepends=('git') and a pkgver() formatted.
Comment by mark (mmm) - Wednesday, 08 May 2013, 15:23 GMT
@Matt: are you working on it? or should i post some patches?
Comment by Rafael Fontenelle (josephg) - Thursday, 09 May 2013, 00:29 GMT
FWIW, I attached a suggestion of changes in the prototypes and a patch, as another point of view.
Comment by jstjohn (jstjohn) - Tuesday, 24 September 2013, 15:28 GMT
There are numerous patches relating to the PKGBUILD prototypes that have been on the mailing list for months. This collection of patches covers a few different ways to deal with prototypes (removing them completely, fixing them, etc.), so pick and choose as needed.

https://mailman.archlinux.org/pipermail/arch-projects/2013-April/003712.html
https://mailman.archlinux.org/pipermail/arch-projects/2013-April/003714.html
https://mailman.archlinux.org/pipermail/arch-projects/2013-April/003715.html
https://mailman.archlinux.org/pipermail/arch-projects/2013-April/003717.html
https://mailman.archlinux.org/pipermail/arch-projects/2013-April/003723.html


And this one is for the rc script prototype:
https://mailman.archlinux.org/pipermail/arch-projects/2013-April/003713.html
Comment by WorMzy Tykashi (WorMzy) - Saturday, 22 February 2014, 22:33 GMT
11 months on from the initial bug report, is there any progress on this? The last commit to abs.git (https://projects.archlinux.org/abs.git/) appears to be in 2012, so I'm a little worried this has dropped off the radar.

If interest in fixing the .proto files has been lost, can we drop them with a pkgrel bump instead? People still seem to be using the outdated templates for new packages.

Cheers.
Comment by UnicornDarkness (Xorg) - Friday, 09 May 2014, 00:08 GMT
There are goods examples on Wiki (at https://wiki.archlinux.org/index.php/VCS_PKGBUILD_Guidelines), and many patchs (see comments above).

Someone try to send mail to mfm ? Like WorMzy, I don't understand why it's taking much time.
Comment by Rafael Fontenelle (josephg) - Tuesday, 15 July 2014, 15:37 GMT
Someone please work on this bug. We are talking about an attempt of standardization, which will benefit the whole arch community..
Comment by Olivier Mehani (shtrom) - Monday, 21 July 2014, 06:35 GMT
Another patch for the Git prototype, using the (al)most generic pkgver function from [0]

[0] http://wiki.archlinux.org/index.php/VCS_PKGBUILD_Guidelines
Comment by M. Greyson Christoforo (greyltc) - Wednesday, 27 May 2015, 10:31 GMT
Is there a reason this bug is being ignored? It would be very beneficial if there was one simple, authoritative place to look for these prototypes.
Comment by Johannes Löthberg (demize) - Wednesday, 27 May 2015, 10:49 GMT
Well, it's mostly that there isn't any maintainer for ABS right now, and since Allan has said that he wants to merge the functionality of ABS into pacman there likely won't be any maintainer either.

Anyway, they don't really belong in the ABS package at all, and should all be removed if anything.
Comment by M. Greyson Christoforo (greyltc) - Wednesday, 27 May 2015, 11:05 GMT
Is there a reason this bug is being ignored? It would be very beneficial if there was one simple, authoritative place to look for these prototypes.

Loading...