[gentoo-dev] Re: Handling branch strings

2007-12-11 Thread Christian Faulhammer
Donnie Berkholz <[EMAIL PROTECTED]>:

> While we're getting a bit off the original topic here, it occurred to
> me that using SLOTs for this, in combination with various SLOT deps
> and SLOT blockers, might work. Then one could use a search tool that
> would display SLOTs to show you which branch you're getting.

$ grep SLOT\= *.ebuild
emacs-18.59-r4.ebuild:SLOT="18"
emacs-21.4-r14.ebuild:SLOT="21"
emacs-22.1-r3.ebuild:SLOT="22"

$ grep SLOT\= *.ebuild
emacs-cvs-22.1.50-r2.ebuild:SLOT="22"
emacs-cvs-23.0.50-r1.ebuild:SLOT="23"
emacs-cvs-23.0.60-r1.ebuild:SLOT="23-unicode"


 That's how we solved it for GNU Emacs...but we had to tackle file
collisions for a while, but now you can have all versions side by
side.  Branches are easily distinguished by version numbers in
upstream's repository, but Emacs may be a special case.

V-Li

-- 
Christian Faulhammer, Gentoo Lisp project
http://www.gentoo.org/proj/en/lisp/>, #gentoo-lisp on FreeNode

http://www.faulhammer.org/>


signature.asc
Description: PGP signature


[gentoo-dev] Re: Handling branch strings

2007-12-10 Thread Ryan Hill

Donnie Berkholz wrote:

On 10:34 Mon 10 Dec , Santiago M. Mola wrote:

On Dec 10, 2007 10:21 AM, Donnie Berkholz <[EMAIL PROTECTED]> wrote:



While we're getting a bit off the original topic here, it occurred to me
that using SLOTs for this, in combination with various SLOT deps and
SLOT blockers, might work. Then one could use a search tool that would
display SLOTs to show you which branch you're getting.



Too tricky. It would confuse package managers and would break the
meaning of SLOT. An use expanded SCM_BRANCH combined with use
dependencies makes more sense and, hopefully, would be something
manageable.


You've made these assertions about confusion and breakage, and I would 
like to understand the reasoning behind them. I don't understand how it 
would be different than any other SLOT, because they're already a 
string. USE_EXPAND doesn't allow for the possibility of multiple SLOTs 
installed at once, which is a feature I would like.


Right, can't you just suffix the SLOT name?  My gcc svn builds just
do SLOT="${GCC_BRANCH_VER}-svn".  This could be a special case though
since a gcc install is pretty carefully separated from its other SLOTs.


--
   looks like christmas at fifty-five degrees
   this latitude weakens my knees
   EFFD 380E 047A 4B51 D2BD  C64F 8AA8 8346 F9A4 0662 (0xF9A40662)

--
[EMAIL PROTECTED] mailing list