From 182aa5da4d83b20a55d9f740a9c10deddb2f972b Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 08 Oct 2012 10:44:15 -0400 Subject: Don't allow slashes in . Slashes can't be used in version IDs because they aren't allowed in filenames in most/all filesystems. --- diff --git a/specs/spf-2.0/metadata.mdwn b/specs/spf-2.0/metadata.mdwn index 369e379..90e88fa 100644 --- a/specs/spf-2.0/metadata.mdwn +++ b/specs/spf-2.0/metadata.mdwn @@ -126,12 +126,11 @@ expression for this is `[1-9][0-9]*`.) If the package is to be installed into a distribution other than `trunk`, the string `+~` must be appended to the end of the version identifier. `` is the distribution into which the package is to be -installed; may only consist of lowercase Latin letters, digits, and slashes; and -must be at least one character long. The first character may not be a slash. -(A regular expression for this is `[a-z0-9][a-z0-9/]*`.) `` is a -number that should be incremented on each upload to `` while ``, -``, and `` remain constant. It should be reset to `1` for the -first upload to `` of a new upstream package version, source archive -repack, or distribution packaging revision. It must be a string of one or more -digits, the first of which must be greater than or equal to `1`. (A regular -expression for this is `[1-9][0-9]*`.) +installed, may only consist of lowercase Latin letters and digits, and must be +at least one character long. (A regular expression for this is `[a-z0-9]+`.) +`` is a number that should be incremented on each upload to `` +while ``, ``, and `` remain constant. It should be +reset to `1` for the first upload to `` of a new upstream package version, +source archive repack, or distribution packaging revision. It must be a string +of one or more digits, the first of which must be greater than or equal to `1`. +(A regular expression for this is `[1-9][0-9]*`.) -- cgit v0.9.1