public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* Re: [gentoo-dev] Portage feature comments please
       [not found]       ` <20010311023213.B20547@tsuny.ctn.cogs.susx.ac.uk>
@ 2001-03-11 12:00         ` Achim Gottinger
  0 siblings, 0 replies; only message in thread
From: Achim Gottinger @ 2001-03-11 12:00 UTC (permalink / raw
  To: gentoo-dev

Thomas Flavel wrote:
> 
> On Sat, Mar 10, 2001 at 07:18:32PM -0700, drobbins@gentoo.org wrote:
> >
> > What if I code it so that:
> >
> > DEPEND="~foo/bar-1"
> >
> > would match foo/bar-1.0, foo/bar-1.1, foo/bar-1.2, etc.
> >
> > DEPEND="~foo/bar-1.0"
> >
> > could match foo/bar-1.0.1 as well as foo/bar-1.0-r1, etc.  Is that a useful
> > extension or am I generalizing the functionality too much by matching
> > sub-versions as well as multiple revs?

What about that situation.

> >
> 
> I think that would be nice. Would it make more sense though to say
> 
> DEPEND="=foo/bar-1*"
> 
> and
> 
> DEPEND="=food/bar-1.0*"
> 
> that way >=, = etc could be combined with wildcards, like:
> 
> DEPEND=">=foo/bar-1*"

I whould prefere wildcards too. To simplify coding I think that a
wildcard should only match a version or 
subversion number. So things like foo/b*r-1.0 don't work. Maybe thinks
like {alpha,beta} [1-2] whould be nice too. 
But the ~ syntax should be easier to code and satisfy our needs too.

achim~

> 
> - Tom
> 
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://www.gentoo.org/mailman/listinfo/gentoo-dev





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-03-11 18:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20010310182442.A10972@cvs.gentoo.org>
     [not found] ` <20010311015020.A20547@tsuny.ctn.cogs.susx.ac.uk>
     [not found]   ` <20010310190643.B10972@cvs.gentoo.org>
     [not found]     ` <20010310191832.C10972@cvs.gentoo.org>
     [not found]       ` <20010311023213.B20547@tsuny.ctn.cogs.susx.ac.uk>
2001-03-11 12:00         ` [gentoo-dev] Portage feature comments please Achim Gottinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox