Hi Trevor,

Debian uses the tilde (~) for this:

  1.2~alpha < 1.2~beta < 1.2~rc < 1.2

See the Debian Policy[1] for all gory details, specifically Footnote#34


Best Regards, David

[1]http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Version

On 28.01.2011 13:29, Trevor Vaughan wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Interesting. Is is possible to have 1.2.3a be<  1.2.3?

If I'm putting out alpha code, I probably want you to upgrade to the
non-alpha with no issue.

So, 1<  1.2<  1.2.3a<  1.2.3b<  1.2.3rc<  1.2.3.

Thanks,

Trevor

On 01/27/2011 05:47 PM, Nick Lewis wrote:
On Thu, Jan 27, 2011 at 2:19 PM, Kenn Hussey<[email protected]
<mailto:[email protected]>>  wrote:

     What are the allowable constraints on module dependency version
     requirements? So far, I've only ever seen "greater than or equal"
     used, e.g., '>= 1.2.3'. It seems that other qualifiers ought to be
     allowed/supported, e.g., "compatible", "equivalent", "perfect", etc..


A brief look into the code indicates that the available matchers in the
Forge are ==,>,<,>=, and<=. Comparison defers to Versionomy, so I'm
not sure exactly what is considered to match. Playing around with
Versionomy, the matching seems intuitive enough. 1.2.3.a == 1.2.3a>
1.2.3>  1.2>  1. Are there any comparisons that you were thinking that
aren't possible with those?


     --
     You received this message because you are subscribed to the Google
     Groups "Puppet Developers" group.
     To post to this group, send email to [email protected]
     <mailto:[email protected]>.
     To unsubscribe from this group, send email to
     [email protected]
     <mailto:puppet-dev%[email protected]>.
     For more options, visit this group at
     http://groups.google.com/group/puppet-dev?hl=en.


--
You received this message because you are subscribed to the Google
Groups "Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-dev?hl=en.

- --
Trevor Vaughan
  Vice President, Onyx Point, Inc.
  email: [email protected]
  phone: 410-541-ONYX (6699)
  pgp: 0x6C701E94

- -- This account not approved for unencrypted sensitive information --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEcBAEBAgAGBQJNQra4AAoJECNCGV1OLcyp4LAIAJhfb7OL8c0W2TE7jzB5qnA5
39gwjx24Aqmsd+11OkAr77GAMTQ1YWoLlemEC2kfGOeapjqQK1bYigrSKY+xWtdf
mgnPlTzvLaccUARlTgRAgkgMUoAX7ReJgwXT4IaTL0SmEXg8o6Y7k4LZtEXSlN6c
xl5FCsF/mTb+emTGWu3MukqTQN0vB72jlZIVfQcg5oLaD5SCzEQQohHIhM6cAHOf
B5T4ZlCyazk5X2Cs5jqOPF1WofekINUJFQGiJKIagefMRfP1zZFHVOtozWYeVMN8
eFPnRDGuHSjO4AZ0G8W6vjvR59KZNb5/71DKVETulnp98hvmvWXwc48FaiN55zA=
=nEIJ
-----END PGP SIGNATURE-----



--
dasz.at OG              Tel: +43 (0)664 2602670     Web: http://dasz.at
Klosterneuburg                                         UID: ATU64260999

       FB-Nr.: FN 309285 g          FB-Gericht: LG Korneuburg

--
You received this message because you are subscribed to the Google Groups "Puppet 
Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to