diff options
author | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2020-03-26 19:31:40 +0000 |
---|---|---|
committer | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2020-03-26 19:31:40 +0000 |
commit | cd33168edafa403b5f33ed895072b8ded3c2b520 (patch) | |
tree | 519d026b88e060936a975d680bb702ef43d6e4bc /share | |
parent | 576b96ccd32ea3e38f6c030f48baeaaec2c47c25 (diff) |
Add support for "alpha" suffixes in package versions
We already supported "beta" releases but not "alpha", probably to
discourage people from pushing "alpha-quality" software in the ports
tree.
We have 30 ports with distfiles matching "alpha", and people just work
around the lack of explicit support for "alpha" releases with mixes of
crafted PKGNAME and REVISION/EPOCH. This looks needlessly complicated
and a bit unfair when compared to GH_COMMIT support.
Pointers from landry@ and sthen@, lgtm landry@, no objection from espie@
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man7/packages-specs.7 | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/share/man/man7/packages-specs.7 b/share/man/man7/packages-specs.7 index 1d90496d531..8154206c775 100644 --- a/share/man/man7/packages-specs.7 +++ b/share/man/man7/packages-specs.7 @@ -1,4 +1,4 @@ -.\" $OpenBSD: packages-specs.7,v 1.26 2020/03/26 14:58:35 paco Exp $ +.\" $OpenBSD: packages-specs.7,v 1.27 2020/03/26 19:31:39 jca Exp $ .\" .\" Copyright (c) 2001 Marc Espie .\" @@ -109,6 +109,7 @@ Other parts are compared alphabetically. .It The last part may contain an extra suffix matching .Ar rc[N] , +.Ar alpha[N] , .Ar beta[N] , .Ar pre[N] , or @@ -118,12 +119,14 @@ with an optional number. These correspond to traditional notations for .Sq release candidate , +.Sq alpha version , .Sq beta version , .Sq pre-release , .Sq patch-level , and are ordered accordingly, e.g., -.Ar beta -is oldest, +.Ar alpha +is oldest, then +.Ar beta , .Ar rc and .Ar pre @@ -138,6 +141,8 @@ then normal version, and finally .It "foo-1.0rc2" is not comparable to "foo-1.0pre3" .It +"bar-1.0alpha5" is older than "bar-1.0beta3" +.It "bar-1.0beta3" is older than "bar-1.0rc1" .It "baz-1.0" is older than "baz-1.0pl1" |