Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] Versioning in dependencies

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Dufflebunk <dufflebunk AT dufflebunk.homeip.net>
  • To: eric AT sandall.us
  • Cc: Source Mage - Discuss <sm-discuss AT lists.ibiblio.org>
  • Subject: Re: [SM-Discuss] Versioning in dependencies
  • Date: 23 Sep 2002 19:25:51 -0400

The biggest stumbling block to this is how to tell what version is
bigger. Examples:
Is 2.3b before or after 2.3 before or after 2.3f?
Dito for 2.3 and 2.3.0
Dito for 2.4-poopy-2 and 2.4.2
These are just off the top of my head. Things like that exist in our
grimoire, and more. And the answer to all of them is, it depends :/

I've done a fair amount on automating versioning (I even have a
versioning.sh lib) and it's a very nasty subject. If we were to limit
the checking to the standard x.y.z format (when x, y, and z are natural
numbers), then the problem becomes possible to solve nicely.

If we want to suuport more kinds of versioning than that, then a
VERSION_TYPE field will have to be added to DETAILS, or a VERSIONS file
in a spell must be added that contains the version number history.

On Mon, 2002-09-23 at 19:04, Eric Sandall wrote:
> Here's an old horse. :) We need to be able to have our spells depend on
> versions (i.e. <=, ==, >=, !=, etc.), and not just on the spell. This
> will add quite the complexity to sorcery, but it is apparent that it will
> help things along.
>
> Here is one reason: http://kerneltrap.org/node.php?id=422
>
> May also help with certain spells requiring certain versions (i.e. no more
> USEGCC2 required, just have "depends gcc < 3.0" in your DEPENDS file).
>
> Gentoo uses this fairly well, and I believe that if we want to keep going
> much further, we will need some way to implement this, and to have
> multiple versions installed.
>
> Ideas,comments?
>
> -One of Four
> a.k.a. sandalle
>
> --
> Eric Sandall | Source Mage GNU/Linux Developer
> eric AT sandall.us | http://www.sourcemage.org
> http://www.sandall.us/~sandalle | SysAdmin @ Inst. Shock Physics @ WSU
> http://counter.li.org #196285 | http://www.shock.wsu.edu/
>
>
> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss
>
--


Quidquid latine dictum sit, altum sonatur.
-----------------
PGP public key at
http://wwwkeys.ch.pgp.net:11371/pks/lookup?op=get&search=0x92B5D3F1

Attachment: signature.asc
Description: This is a digitally signed message part




Archive powered by MHonArc 2.6.24.

Top of Page