public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Roy Marples <uberlord@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] RFC: sh versionator.eclass
Date: Tue, 02 Oct 2007 07:46:49 +0100	[thread overview]
Message-ID: <1191307609.2216.2.camel@uberlaptop.marples.name> (raw)
In-Reply-To: <1191306907.17531.6.camel@nc.nor.wtbts.org>

On Tue, 2007-10-02 at 08:35 +0200, Natanael Copa wrote:
> After a quick look I wonder how/if it deals with:
> 
> 1.01 < 1.1

It treats them the same way

roy@uberlaptop ~ $ bash -c '. /usr/portage/eclass/versionator.eclass;
version_compare 1.01 1.1; echo $?'
2
roy@uberlaptop ~ $ bash -c '. ./versionator.eclass; version_compare 1.01
1.1; echo $?'
2

I'm also glad you asked as spb claims my version is broken with repsect
to this. I disagree as it matches the portage version.

Thanks

Roy

-- 
gentoo-dev@gentoo.org mailing list



  reply	other threads:[~2007-10-02  6:58 UTC|newest]

Thread overview: 85+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-01 21:59 [gentoo-dev] RFC: sh versionator.eclass Roy Marples
2007-10-01 22:30 ` Roy Marples
2007-10-01 22:41   ` Fernando J. Pereda
2007-10-01 22:48     ` Roy Marples
2007-10-02  0:22       ` Mike Frysinger
2007-10-02  6:26         ` Roy Marples
2007-10-02  8:56           ` [gentoo-dev] " Duncan
2007-10-02  9:28           ` [gentoo-dev] " Mike Frysinger
2007-10-02  6:35   ` Natanael Copa
2007-10-02  6:46     ` Roy Marples [this message]
2007-10-02  9:50       ` [gentoo-dev] " Steve Long
2007-10-02  7:29 ` [gentoo-dev] " Fabian Groffen
2007-10-02  8:48   ` Roy Marples
2007-10-02  9:22     ` Fabian Groffen
2007-10-02  9:37       ` Roy Marples
2007-10-02  9:49         ` Fabian Groffen
2007-10-02 10:09           ` Roy Marples
2007-10-02 10:28             ` Mike Frysinger
2007-10-02 10:49               ` Roy Marples
2007-10-02 11:00                 ` Mike Frysinger
2007-10-02 10:41             ` Fabian Groffen
2007-10-02 11:00               ` Roy Marples
2007-10-02 11:10                 ` Fabian Groffen
2007-10-02 10:10         ` Mike Frysinger
2007-10-02 10:31           ` Roy Marples
2007-10-02 10:49             ` Mike Frysinger
2007-10-02 11:38               ` Roy Marples
2007-10-02 11:50                 ` Luca Barbato
2007-10-02 12:38                   ` Mike Frysinger
2007-10-02 13:16                     ` Luca Barbato
2007-10-02 13:26                       ` Mike Frysinger
2007-10-02 14:01                         ` Natanael Copa
2007-10-02 12:35                 ` Mike Frysinger
2007-10-02 12:39                 ` Alec Warner
2007-10-02 14:03                   ` Natanael Copa
2007-10-02 15:36                     ` Richard Freeman
2007-10-02 23:02           ` Joe Peterson
2007-10-02 23:11             ` Roy Marples
2007-10-03  0:55               ` [gentoo-dev] " Steve Long
2007-10-03  8:40                 ` Roy Marples
2007-10-03 18:06                   ` Fabian Groffen
2007-10-07  5:03             ` [gentoo-dev] " Mike Frysinger
2007-10-07 16:19               ` Joe Peterson
2007-10-07 22:15                 ` Fabian Groffen
2007-10-07 22:37                   ` Joe Peterson
2007-10-08  6:31                     ` Fabian Groffen
2007-10-08  1:51                   ` Mike Frysinger
2007-10-08  3:26                     ` Joe Peterson
2007-10-08  8:50                       ` [gentoo-dev] GNU userland and binary package (WAS: RFC: sh versionator.eclass) Natanael Copa
2007-10-08 13:52                         ` Alec Warner
2007-10-08 15:02                           ` Natanael Copa
2007-10-08 19:25                             ` [gentoo-dev] " Steve Long
2007-10-09  9:00                               ` Natanael Copa
2007-10-09 16:28                                 ` [gentoo-dev] " Steve Long
2007-10-11  3:03                             ` [gentoo-dev] " Alec Warner
2007-10-11  6:46                               ` Roy Marples
2007-10-02  9:39     ` [gentoo-dev] RFC: sh versionator.eclass Mike Frysinger
2007-10-02 10:24       ` Roy Marples
2007-10-02 10:57         ` Mike Frysinger
2007-10-02 11:28           ` Roy Marples
2007-10-02 12:29             ` Mike Frysinger
2007-10-02 12:58             ` [gentoo-dev] " Duncan
2007-10-02 13:10               ` Alec Warner
2007-10-02 13:17               ` Mike Frysinger
2007-10-03 12:40           ` [gentoo-dev] " Roy Marples
2007-10-07  5:06             ` Mike Frysinger
2007-10-07 17:38               ` Roy Marples
2007-10-08  1:44                 ` Mike Frysinger
2007-10-02 12:36       ` [gentoo-dev] " Steve Long
2007-10-02 14:18         ` Roy Marples
2007-10-02 14:25           ` Roy Marples
2007-10-02 16:30             ` George Shapovalov
2007-10-02 16:52               ` Roy Marples
2007-10-02 18:37                 ` [gentoo-dev] " Steve Long
2007-10-02 19:44                   ` Roy Marples
2007-10-02 22:18                     ` [gentoo-dev] " Steve Long
2007-10-02 22:47                       ` Roy Marples
2007-10-03  1:29                       ` [gentoo-dev] " Ryan Hill
2007-10-03  6:44                         ` Roy Marples
2007-10-07  5:09               ` Mike Frysinger
2007-10-07 17:31                 ` Roy Marples
2007-10-08  1:42                   ` Mike Frysinger
2007-10-02 18:46           ` Alex Tarkovsky
2007-10-03 12:34             ` Yuri Gagarin
2007-10-02  9:10   ` [gentoo-dev] " Natanael Copa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1191307609.2216.2.camel@uberlaptop.marples.name \
    --to=uberlord@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox