[arch-projects] [ABS] [PATCH] Merge bzr, git, hg and svn into a generic proto

Maxime Gauduin alucryd at gmail.com
Tue Oct 8 09:53:34 EDT 2013



On Tue, Oct 8, 2013 at 3:45 PM, Allan McRae <allan at archlinux.org> wrote:
> On 08/10/13 23:26, Maxime Gauduin wrote:
>>  Having separate prototypes for each VCS type is no longer relevant 
>> since
>>  Pacman 4.1. Having a generic prototype for regular, bzr, git hg and 
>> svn
>>  packages makes more sense. Left cvs, and darcs protos untouched as 
>> they
>>  are not yet supported in Pacman.
>>  
>>  Signed-off-by: Maxime Gauduin <alucryd at gmail.com>
>>  ---
>>   prototypes/PKGBUILD-bzr.proto |  64 -------------------------
>>   prototypes/PKGBUILD-git.proto |  64 -------------------------
>>   prototypes/PKGBUILD-hg.proto  |  65 -------------------------
>>   prototypes/PKGBUILD-svn.proto |  63 ------------------------
>>   prototypes/PKGBUILD.proto     | 108 
>> ++++++++++++++++++++++++++++++++++++++++++
>>   5 files changed, 108 insertions(+), 256 deletions(-)
>>   delete mode 100644 prototypes/PKGBUILD-bzr.proto
>>   delete mode 100644 prototypes/PKGBUILD-git.proto
>>   delete mode 100644 prototypes/PKGBUILD-hg.proto
>>   delete mode 100644 prototypes/PKGBUILD-svn.proto
>>   create mode 100644 prototypes/PKGBUILD.proto
>> 
> These are installed in /usr/share/pacman.   You might notice a file by
> that name already there and provided by pacman.
> 
> Allan
> 
Indeed, my bad, didn't notice there already was a proto for a generic 
PKGBUILD. How about PKGBUILD-vcs.proto? Then I can just drop the whole 
'VCS specific' paragraph and integrate it in the above. I'll also add a 
check function as to be closer to PKGBUILD.proto.
--
Maxime
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.archlinux.org/pipermail/arch-projects/attachments/20131008/e44eae48/attachment.html>


More information about the arch-projects mailing list