Skip to content

Commit 97dd782

Browse files
committed
docs: update link to version-range-spec
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent 03bf599 commit 97dd782

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

schema/bom-1.7.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ message Component {
116116
// Must be used exclusively, either 'version' or 'versionRange', but not both.
117117
string version = 9;
118118
// For an external component, this specifies the accepted version range.
119-
// The value must adhere to the Package URL Version Range syntax (vers), as defined at https://github.com/package-url/purl-spec/blob/master/VERSION-RANGE-SPEC.rst.
119+
// The value must adhere to the Package URL Version Range syntax (vers), as defined at https://github.com/package-url/vers-spec/blob/main/VERSION-RANGE-SPEC.md.
120120
// May only be used if `isExternal` is set to `true`.
121121
// Must be used exclusively, either 'version' or 'versionRange', but not both.
122122
optional string versionRange = 33;
@@ -1195,7 +1195,7 @@ message VulnerabilityAffectedVersions {
11951195
oneof choice {
11961196
// A single version of a component or service.
11971197
string version = 1;
1198-
// A version range specified in Package URL Version Range syntax (vers), which is defined at https://github.com/package-url/purl-spec/blob/master/VERSION-RANGE-SPEC.rst
1198+
// A version range specified in Package URL Version Range syntax (vers), which is defined at https://github.com/package-url/vers-spec/blob/main/VERSION-RANGE-SPEC.md
11991199
string range = 2;
12001200
}
12011201
// The vulnerability status for the version or range of versions. Defaults to VULNERABILITY_AFFECTED_STATUS_AFFECTED if not specified.

schema/bom-1.7.schema.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -981,7 +981,7 @@
981981
"versionRange": {
982982
"$ref": "#/definitions/versionRange",
983983
"title": "Component Version Range",
984-
"description": "For an external component, this specifies the accepted version range.\nThe value must adhere to the Package URL Version Range syntax (vers), as defined at <https://github.com/package-url/purl-spec/blob/master/VERSION-RANGE-SPEC.rst>.\nMay only be used if `.isExternal` is set to `true`.\nMust be used exclusively, either 'version' or 'versionRange', but not both."
984+
"description": "For an external component, this specifies the accepted version range.\nThe value must adhere to the Package URL Version Range syntax (vers), as defined at <https://github.com/package-url/vers-spec/blob/main/VERSION-RANGE-SPEC.md\nMay only be used if `.isExternal` is set to `true`.\nMust be used exclusively, either 'version' or 'versionRange', but not both."
985985
},
986986
"isExternal": {
987987
"type": "boolean",
@@ -3089,7 +3089,7 @@
30893089
},
30903090
"range": {
30913091
"title": "Version Range",
3092-
"description": "A version range specified in Package URL Version Range syntax (vers) which is defined at https://github.com/package-url/purl-spec/blob/master/VERSION-RANGE-SPEC.rst",
3092+
"description": "A version range specified in Package URL Version Range syntax (vers) which is defined at https://github.com/package-url/vers-spec/blob/main/VERSION-RANGE-SPEC.md",
30933093
"$ref": "#/definitions/versionRange"
30943094
},
30953095
"status": {
@@ -3144,7 +3144,7 @@
31443144
]
31453145
},
31463146
"versionRange": {
3147-
"description": "A version range specified in Package URL Version Range syntax (vers) which is defined at https://github.com/package-url/purl-spec/blob/master/VERSION-RANGE-SPEC.rst",
3147+
"description": "A version range specified in Package URL Version Range syntax (vers) which is defined at https://github.com/package-url/vers-spec/blob/main/VERSION-RANGE-SPEC.md",
31483148
"type": "string",
31493149
"minLength": 1,
31503150
"maxLength": 4096,

schema/bom-1.7.xsd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ limitations under the License.
7676
<xs:simpleType name="versionRangeType">
7777
<xs:annotation>
7878
<xs:documentation xml:lang="en"><![CDATA[
79-
A version range specified in Package URL Version Range syntax (vers) which is defined at https://github.com/package-url/purl-spec/blob/master/VERSION-RANGE-SPEC.rst
79+
A version range specified in Package URL Version Range syntax (vers) which is defined at https://github.com/package-url/vers-spec/blob/main/VERSION-RANGE-SPEC.md
8080

8181
Example values:
8282
- "vers:cargo/9.0.14"
@@ -634,7 +634,7 @@ limitations under the License.
634634
<xs:annotation>
635635
<xs:documentation><![CDATA[
636636
For an external component, this specifies the accepted version range.
637-
The value must adhere to the Package URL Version Range syntax (vers), as defined at https://github.com/package-url/purl-spec/blob/master/VERSION-RANGE-SPEC.rst.
637+
The value must adhere to the Package URL Version Range syntax (vers), as defined at https://github.com/package-url/vers-spec/blob/main/VERSION-RANGE-SPEC.md.
638638
May only be used if `@isExternal` is set to `true`.
639639
]]></xs:documentation>
640640
</xs:annotation>
@@ -4718,7 +4718,7 @@ limitations under the License.
47184718
</xs:element>
47194719
<xs:element name="range" type="bom:versionRangeType" minOccurs="1" maxOccurs="1">
47204720
<xs:annotation>
4721-
<xs:documentation>A version range specified in Package URL Version Range syntax (vers) which is defined at https://github.com/package-url/purl-spec/blob/master/VERSION-RANGE-SPEC.rst</xs:documentation>
4721+
<xs:documentation>A version range specified in Package URL Version Range syntax (vers) which is defined at https://github.com/package-url/vers-spec/blob/main/VERSION-RANGE-SPEC.md</xs:documentation>
47224722
</xs:annotation>
47234723
</xs:element>
47244724
</xs:choice>

0 commit comments

Comments
 (0)