Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   ArchLinux Pacman Development (http://www.linux-archive.org/archlinux-pacman-development/)
-   -   VCS versioning modifications (http://www.linux-archive.org/archlinux-pacman-development/643721-vcs-versioning-modifications.html)

03-12-2012 05:53 PM

VCS versioning modifications
 
From: Matthew Monaco <matthew.monaco@0x01b.net>

I've been bothered by makepkg automatically adjusting pkgver if a
package doesn't have the correct -git/svn/etc suffix.

The first 4 patches might be useful regardless. They allow for multiple
sets of _vcs variables in a PKGBUILD and use the package's name to clear
up any ambiguity.

The 5th patch changes the current semantics of makepkg. The 6th patch
provides a new option to force the old semantics. An alternative might
be to sanitize the --forcever option so that it may be used from the
command line as well as internally.

Matthew Monaco (6):
makepkg: remove unused variable
makepkg: devel_check(): determine vcs
makepkg: devel_check(): consolidate common code
makepkg: devel_check(): set newpkgver (cleanup)
makepkg: devel_check(): only work for -vcs pkgnames
makepkg: add --devver option for SCM packages

doc/PKGBUILD.5.txt | 3 +-
doc/makepkg.8.txt | 4 ++
scripts/makepkg.sh.in | 126 +++++++++++++++++++++++++++----------------------
3 files changed, 75 insertions(+), 58 deletions(-)

--
1.7.9.3


All times are GMT. The time now is 10:17 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.