[prev in list] [next in list] [prev in thread] [next in thread] 

List:       buildroot
Subject:    Re: [Buildroot] [PATCH 1/1] Allow svn tags and branches notation in $(PKG)_VERSION variable.
From:       Thomas Petazzoni <thomas.petazzoni () free-electrons ! com>
Date:       2013-09-18 17:20:20
Message-ID: 20130918192020.2ea7cb7e () skate
[Download RAW message or body]

Dear Raúl Sánchez Siles,

On Wed, 18 Sep 2013 07:11:43 +0200, Raúl Sánchez Siles wrote:

> According to user manual "generic-package Reference" section, LIBFOO_VERSION
> could refer to a branch or tag. This patch adds supports for this in the svn
> method case for the repositories following the branches/tags/trunk layout.
> 
> Examples:
> LIBFOO_VERSION = tags/v3.2.1
> LIBFOO_SITE = svn://svn.server.net/myproject
> 
> LIBFOO2_VERSION = branches/featureA
> LIBFOO2_SITE = http://svn.happyserver.net/theproject
> LIBFOO2_SITE_METHOD = svn
> 
> Signed-off-by: Raúl Sánchez Siles <rasasi78@gmail.com>

Hum, I am not sure. In the SVN world, a version is really a revision
number that you get with 'svn checkout -r'.

I believe to get a specific branch or tag with SVN, one should instead
use:

LIBFOO2_VERSION = <some revision number>
LIBFOO2_SITE = http://svn.happyserver.net/theproject/branches/featureA

I do understand the wish to make things 'like other VCS', but I am not
entirely convinced it's a good idea. But I can probably be convinced
with good arguments :)

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
_______________________________________________
buildroot mailing list
buildroot@busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic