purl 1.1.1 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitmodules +3 -0
- data/CHANGELOG.md +75 -0
- data/README.md +23 -0
- data/Rakefile +237 -0
- data/lib/purl/package_url.rb +16 -15
- data/lib/purl/registry_url.rb +6 -24
- data/lib/purl/version.rb +1 -1
- data/purl-types.json +155 -117
- metadata +3 -4
- data/schemas/purl-types.schema.json +0 -154
- data/schemas/test-suite-data.schema.json +0 -134
- data/test-suite-data.json +0 -710
data/test-suite-data.json
DELETED
|
@@ -1,710 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"description": "valid maven purl",
|
|
4
|
-
"purl": "pkg:maven/org.apache.commons/io@1.3.4",
|
|
5
|
-
"canonical_purl": "pkg:maven/org.apache.commons/io@1.3.4",
|
|
6
|
-
"type": "maven",
|
|
7
|
-
"namespace": "org.apache.commons",
|
|
8
|
-
"name": "io",
|
|
9
|
-
"version": "1.3.4",
|
|
10
|
-
"qualifiers": null,
|
|
11
|
-
"subpath": null,
|
|
12
|
-
"is_invalid": false
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"description": "basic valid maven purl without version",
|
|
16
|
-
"purl": "pkg:maven/org.apache.commons/io",
|
|
17
|
-
"canonical_purl": "pkg:maven/org.apache.commons/io",
|
|
18
|
-
"type": "maven",
|
|
19
|
-
"namespace": "org.apache.commons",
|
|
20
|
-
"name": "io",
|
|
21
|
-
"version": null,
|
|
22
|
-
"qualifiers": null,
|
|
23
|
-
"subpath": null,
|
|
24
|
-
"is_invalid": false
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"description": "valid go purl without version and with subpath",
|
|
28
|
-
"purl": "pkg:GOLANG/google.golang.org/genproto#/googleapis/api/annotations/",
|
|
29
|
-
"canonical_purl": "pkg:golang/google.golang.org/genproto#googleapis/api/annotations",
|
|
30
|
-
"type": "golang",
|
|
31
|
-
"namespace": "google.golang.org",
|
|
32
|
-
"name": "genproto",
|
|
33
|
-
"version": null,
|
|
34
|
-
"qualifiers": null,
|
|
35
|
-
"subpath": "googleapis/api/annotations",
|
|
36
|
-
"is_invalid": false
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"description": "valid go purl with version and subpath",
|
|
40
|
-
"purl": "pkg:GOLANG/google.golang.org/genproto@abcdedf#/googleapis/api/annotations/",
|
|
41
|
-
"canonical_purl": "pkg:golang/google.golang.org/genproto@abcdedf#googleapis/api/annotations",
|
|
42
|
-
"type": "golang",
|
|
43
|
-
"namespace": "google.golang.org",
|
|
44
|
-
"name": "genproto",
|
|
45
|
-
"version": "abcdedf",
|
|
46
|
-
"qualifiers": null,
|
|
47
|
-
"subpath": "googleapis/api/annotations",
|
|
48
|
-
"is_invalid": false
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"description": "invalid subpath - unencoded subpath cannot contain '..'",
|
|
52
|
-
"purl": "pkg:GOLANG/google.golang.org/genproto@abcdedf#/googleapis/%2E%2E/api/annotations/",
|
|
53
|
-
"canonical_purl": "pkg:golang/google.golang.org/genproto@abcdedf#googleapis/api/annotations",
|
|
54
|
-
"type": "golang",
|
|
55
|
-
"namespace": "google.golang.org",
|
|
56
|
-
"name": "genproto",
|
|
57
|
-
"version": "abcdedf",
|
|
58
|
-
"qualifiers": null,
|
|
59
|
-
"subpath": "googleapis/../api/annotations",
|
|
60
|
-
"is_invalid": false
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"description": "invalid subpath - unencoded subpath cannot contain '.'",
|
|
64
|
-
"purl": "pkg:GOLANG/google.golang.org/genproto@abcdedf#/googleapis/%2E/api/annotations/",
|
|
65
|
-
"canonical_purl": "pkg:golang/google.golang.org/genproto@abcdedf#googleapis/api/annotations",
|
|
66
|
-
"type": "golang",
|
|
67
|
-
"namespace": "google.golang.org",
|
|
68
|
-
"name": "genproto",
|
|
69
|
-
"version": "abcdedf",
|
|
70
|
-
"qualifiers": null,
|
|
71
|
-
"subpath": "googleapis/./api/annotations",
|
|
72
|
-
"is_invalid": false
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
"description": "bitbucket namespace and name should be lowercased",
|
|
76
|
-
"purl": "pkg:bitbucket/birKenfeld/pyGments-main@244fd47e07d1014f0aed9c",
|
|
77
|
-
"canonical_purl": "pkg:bitbucket/birkenfeld/pygments-main@244fd47e07d1014f0aed9c",
|
|
78
|
-
"type": "bitbucket",
|
|
79
|
-
"namespace": "birkenfeld",
|
|
80
|
-
"name": "pygments-main",
|
|
81
|
-
"version": "244fd47e07d1014f0aed9c",
|
|
82
|
-
"qualifiers": null,
|
|
83
|
-
"subpath": null,
|
|
84
|
-
"is_invalid": false
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
"description": "github namespace and name should be lowercased",
|
|
88
|
-
"purl": "pkg:github/Package-url/purl-Spec@244fd47e07d1004f0aed9c",
|
|
89
|
-
"canonical_purl": "pkg:github/package-url/purl-spec@244fd47e07d1004f0aed9c",
|
|
90
|
-
"type": "github",
|
|
91
|
-
"namespace": "package-url",
|
|
92
|
-
"name": "purl-spec",
|
|
93
|
-
"version": "244fd47e07d1004f0aed9c",
|
|
94
|
-
"qualifiers": null,
|
|
95
|
-
"subpath": null,
|
|
96
|
-
"is_invalid": false
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
"description": "debian can use qualifiers",
|
|
100
|
-
"purl": "pkg:deb/debian/curl@7.50.3-1?arch=i386&distro=jessie",
|
|
101
|
-
"canonical_purl": "pkg:deb/debian/curl@7.50.3-1?arch=i386&distro=jessie",
|
|
102
|
-
"type": "deb",
|
|
103
|
-
"namespace": "debian",
|
|
104
|
-
"name": "curl",
|
|
105
|
-
"version": "7.50.3-1",
|
|
106
|
-
"qualifiers": {"arch": "i386", "distro": "jessie"},
|
|
107
|
-
"subpath": null,
|
|
108
|
-
"is_invalid": false
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
"description": "docker uses qualifiers and hash image id as versions",
|
|
112
|
-
"purl": "pkg:docker/customer/dockerimage@sha256:244fd47e07d1004f0aed9c?repository_url=gcr.io",
|
|
113
|
-
"canonical_purl": "pkg:docker/customer/dockerimage@sha256:244fd47e07d1004f0aed9c?repository_url=gcr.io",
|
|
114
|
-
"type": "docker",
|
|
115
|
-
"namespace": "customer",
|
|
116
|
-
"name": "dockerimage",
|
|
117
|
-
"version": "sha256:244fd47e07d1004f0aed9c",
|
|
118
|
-
"qualifiers": {"repository_url": "gcr.io"},
|
|
119
|
-
"subpath": null,
|
|
120
|
-
"is_invalid": false
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
"description": "Java gem can use a qualifier",
|
|
124
|
-
"purl": "pkg:gem/jruby-launcher@1.1.2?Platform=java",
|
|
125
|
-
"canonical_purl": "pkg:gem/jruby-launcher@1.1.2?platform=java",
|
|
126
|
-
"type": "gem",
|
|
127
|
-
"namespace": null,
|
|
128
|
-
"name": "jruby-launcher",
|
|
129
|
-
"version": "1.1.2",
|
|
130
|
-
"qualifiers": {"platform": "java"},
|
|
131
|
-
"subpath": null,
|
|
132
|
-
"is_invalid": false
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
"description": "maven often uses qualifiers",
|
|
136
|
-
"purl": "pkg:Maven/org.apache.xmlgraphics/batik-anim@1.9.1?classifier=sources&repositorY_url=repo.spring.io/release",
|
|
137
|
-
"canonical_purl": "pkg:maven/org.apache.xmlgraphics/batik-anim@1.9.1?classifier=sources&repository_url=repo.spring.io/release",
|
|
138
|
-
"type": "maven",
|
|
139
|
-
"namespace": "org.apache.xmlgraphics",
|
|
140
|
-
"name": "batik-anim",
|
|
141
|
-
"version": "1.9.1",
|
|
142
|
-
"qualifiers": {"classifier": "sources", "repository_url": "repo.spring.io/release"},
|
|
143
|
-
"subpath": null,
|
|
144
|
-
"is_invalid": false
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
"description": "maven pom reference",
|
|
148
|
-
"purl": "pkg:Maven/org.apache.xmlgraphics/batik-anim@1.9.1?extension=pom&repositorY_url=repo.spring.io/release",
|
|
149
|
-
"canonical_purl": "pkg:maven/org.apache.xmlgraphics/batik-anim@1.9.1?extension=pom&repository_url=repo.spring.io/release",
|
|
150
|
-
"type": "maven",
|
|
151
|
-
"namespace": "org.apache.xmlgraphics",
|
|
152
|
-
"name": "batik-anim",
|
|
153
|
-
"version": "1.9.1",
|
|
154
|
-
"qualifiers": {"extension": "pom", "repository_url": "repo.spring.io/release"},
|
|
155
|
-
"subpath": null,
|
|
156
|
-
"is_invalid": false
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
"description": "maven can come with a type qualifier",
|
|
160
|
-
"purl": "pkg:Maven/net.sf.jacob-project/jacob@1.14.3?classifier=x86&type=dll",
|
|
161
|
-
"canonical_purl": "pkg:maven/net.sf.jacob-project/jacob@1.14.3?classifier=x86&type=dll",
|
|
162
|
-
"type": "maven",
|
|
163
|
-
"namespace": "net.sf.jacob-project",
|
|
164
|
-
"name": "jacob",
|
|
165
|
-
"version": "1.14.3",
|
|
166
|
-
"qualifiers": {"classifier": "x86", "type": "dll"},
|
|
167
|
-
"subpath": null,
|
|
168
|
-
"is_invalid": false
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
"description": "npm can be scoped",
|
|
172
|
-
"purl": "pkg:npm/%40angular/animation@12.3.1",
|
|
173
|
-
"canonical_purl": "pkg:npm/%40angular/animation@12.3.1",
|
|
174
|
-
"type": "npm",
|
|
175
|
-
"namespace": "@angular",
|
|
176
|
-
"name": "animation",
|
|
177
|
-
"version": "12.3.1",
|
|
178
|
-
"qualifiers": null,
|
|
179
|
-
"subpath": null,
|
|
180
|
-
"is_invalid": false
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
"description": "nuget names are case sensitive",
|
|
184
|
-
"purl": "pkg:Nuget/EnterpriseLibrary.Common@6.0.1304",
|
|
185
|
-
"canonical_purl": "pkg:nuget/EnterpriseLibrary.Common@6.0.1304",
|
|
186
|
-
"type": "nuget",
|
|
187
|
-
"namespace": null,
|
|
188
|
-
"name": "EnterpriseLibrary.Common",
|
|
189
|
-
"version": "6.0.1304",
|
|
190
|
-
"qualifiers": null,
|
|
191
|
-
"subpath": null,
|
|
192
|
-
"is_invalid": false
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
"description": "pypi names have special rules and not case sensitive",
|
|
196
|
-
"purl": "pkg:PYPI/Django_package@1.11.1.dev1",
|
|
197
|
-
"canonical_purl": "pkg:pypi/django-package@1.11.1.dev1",
|
|
198
|
-
"type": "pypi",
|
|
199
|
-
"namespace": null,
|
|
200
|
-
"name": "django-package",
|
|
201
|
-
"version": "1.11.1.dev1",
|
|
202
|
-
"qualifiers": null,
|
|
203
|
-
"subpath": null,
|
|
204
|
-
"is_invalid": false
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
"description": "rpm often use qualifiers",
|
|
208
|
-
"purl": "pkg:Rpm/fedora/curl@7.50.3-1.fc25?Arch=i386&Distro=fedora-25",
|
|
209
|
-
"canonical_purl": "pkg:rpm/fedora/curl@7.50.3-1.fc25?arch=i386&distro=fedora-25",
|
|
210
|
-
"type": "rpm",
|
|
211
|
-
"namespace": "fedora",
|
|
212
|
-
"name": "curl",
|
|
213
|
-
"version": "7.50.3-1.fc25",
|
|
214
|
-
"qualifiers": {"arch": "i386", "distro": "fedora-25"},
|
|
215
|
-
"subpath": null,
|
|
216
|
-
"is_invalid": false
|
|
217
|
-
},
|
|
218
|
-
{
|
|
219
|
-
"description": "a scheme is always required",
|
|
220
|
-
"purl": "EnterpriseLibrary.Common@6.0.1304",
|
|
221
|
-
"canonical_purl": "EnterpriseLibrary.Common@6.0.1304",
|
|
222
|
-
"type": null,
|
|
223
|
-
"namespace": null,
|
|
224
|
-
"name": "EnterpriseLibrary.Common",
|
|
225
|
-
"version": null,
|
|
226
|
-
"qualifiers": null,
|
|
227
|
-
"subpath": null,
|
|
228
|
-
"is_invalid": true
|
|
229
|
-
},
|
|
230
|
-
{
|
|
231
|
-
"description": "a type is always required",
|
|
232
|
-
"purl": "pkg:EnterpriseLibrary.Common@6.0.1304",
|
|
233
|
-
"canonical_purl": "pkg:EnterpriseLibrary.Common@6.0.1304",
|
|
234
|
-
"type": null,
|
|
235
|
-
"namespace": null,
|
|
236
|
-
"name": "EnterpriseLibrary.Common",
|
|
237
|
-
"version": "6.0.1304",
|
|
238
|
-
"qualifiers": null,
|
|
239
|
-
"subpath": null,
|
|
240
|
-
"is_invalid": true
|
|
241
|
-
},
|
|
242
|
-
{
|
|
243
|
-
"description": "a name is required",
|
|
244
|
-
"purl": "pkg:maven/@1.3.4",
|
|
245
|
-
"canonical_purl": "pkg:maven/@1.3.4",
|
|
246
|
-
"type": "maven",
|
|
247
|
-
"namespace": null,
|
|
248
|
-
"name": null,
|
|
249
|
-
"version": null,
|
|
250
|
-
"qualifiers": null,
|
|
251
|
-
"subpath": null,
|
|
252
|
-
"is_invalid": true
|
|
253
|
-
},
|
|
254
|
-
{
|
|
255
|
-
"description": "slash / after scheme is not significant",
|
|
256
|
-
"purl": "pkg:/maven/org.apache.commons/io",
|
|
257
|
-
"canonical_purl": "pkg:maven/org.apache.commons/io",
|
|
258
|
-
"type": "maven",
|
|
259
|
-
"namespace": "org.apache.commons",
|
|
260
|
-
"name": "io",
|
|
261
|
-
"version": null,
|
|
262
|
-
"qualifiers": null,
|
|
263
|
-
"subpath": null,
|
|
264
|
-
"is_invalid": false
|
|
265
|
-
},
|
|
266
|
-
{
|
|
267
|
-
"description": "double slash // after scheme is not significant",
|
|
268
|
-
"purl": "pkg://maven/org.apache.commons/io",
|
|
269
|
-
"canonical_purl": "pkg:maven/org.apache.commons/io",
|
|
270
|
-
"type": "maven",
|
|
271
|
-
"namespace": "org.apache.commons",
|
|
272
|
-
"name": "io",
|
|
273
|
-
"version": null,
|
|
274
|
-
"qualifiers": null,
|
|
275
|
-
"subpath": null,
|
|
276
|
-
"is_invalid": false
|
|
277
|
-
},
|
|
278
|
-
{
|
|
279
|
-
"description": "slash /// after scheme is not significant",
|
|
280
|
-
"purl": "pkg:///maven/org.apache.commons/io",
|
|
281
|
-
"canonical_purl": "pkg:maven/org.apache.commons/io",
|
|
282
|
-
"type": "maven",
|
|
283
|
-
"namespace": "org.apache.commons",
|
|
284
|
-
"name": "io",
|
|
285
|
-
"version": null,
|
|
286
|
-
"qualifiers": null,
|
|
287
|
-
"subpath": null,
|
|
288
|
-
"is_invalid": false
|
|
289
|
-
},
|
|
290
|
-
{
|
|
291
|
-
"description": "valid maven purl with case sensitive namespace and name",
|
|
292
|
-
"purl": "pkg:maven/HTTPClient/HTTPClient@0.3-3",
|
|
293
|
-
"canonical_purl": "pkg:maven/HTTPClient/HTTPClient@0.3-3",
|
|
294
|
-
"type": "maven",
|
|
295
|
-
"namespace": "HTTPClient",
|
|
296
|
-
"name": "HTTPClient",
|
|
297
|
-
"version": "0.3-3",
|
|
298
|
-
"qualifiers": null,
|
|
299
|
-
"subpath": null,
|
|
300
|
-
"is_invalid": false
|
|
301
|
-
},
|
|
302
|
-
{
|
|
303
|
-
"description": "valid maven purl containing a space in the version and qualifier",
|
|
304
|
-
"purl": "pkg:maven/mygroup/myartifact@1.0.0%20Final?mykey=my%20value",
|
|
305
|
-
"canonical_purl": "pkg:maven/mygroup/myartifact@1.0.0%20Final?mykey=my%20value",
|
|
306
|
-
"type": "maven",
|
|
307
|
-
"namespace": "mygroup",
|
|
308
|
-
"name": "myartifact",
|
|
309
|
-
"version": "1.0.0 Final",
|
|
310
|
-
"qualifiers": {"mykey": "my value"},
|
|
311
|
-
"subpath": null,
|
|
312
|
-
"is_invalid": false
|
|
313
|
-
},
|
|
314
|
-
{
|
|
315
|
-
"description": "checks for invalid qualifier keys",
|
|
316
|
-
"purl": "pkg:npm/myartifact@1.0.0?in%20production=true",
|
|
317
|
-
"canonical_purl": null,
|
|
318
|
-
"type": "npm",
|
|
319
|
-
"namespace": null,
|
|
320
|
-
"name": "myartifact",
|
|
321
|
-
"version": "1.0.0",
|
|
322
|
-
"qualifiers": {"in production": "true"},
|
|
323
|
-
"subpath": null,
|
|
324
|
-
"is_invalid": true
|
|
325
|
-
},
|
|
326
|
-
{
|
|
327
|
-
"description": "valid conan purl",
|
|
328
|
-
"purl": "pkg:conan/cctz@2.3",
|
|
329
|
-
"canonical_purl": "pkg:conan/cctz@2.3",
|
|
330
|
-
"type": "conan",
|
|
331
|
-
"namespace": null,
|
|
332
|
-
"name": "cctz",
|
|
333
|
-
"version": "2.3",
|
|
334
|
-
"qualifiers": null,
|
|
335
|
-
"subpath": null,
|
|
336
|
-
"is_invalid": false
|
|
337
|
-
},
|
|
338
|
-
{
|
|
339
|
-
"description": "valid conan purl with namespace and qualifier channel",
|
|
340
|
-
"purl": "pkg:conan/bincrafters/cctz@2.3?channel=stable",
|
|
341
|
-
"canonical_purl": "pkg:conan/bincrafters/cctz@2.3?channel=stable",
|
|
342
|
-
"type": "conan",
|
|
343
|
-
"namespace": "bincrafters",
|
|
344
|
-
"name": "cctz",
|
|
345
|
-
"version": "2.3",
|
|
346
|
-
"qualifiers": {"channel": "stable"},
|
|
347
|
-
"subpath": null,
|
|
348
|
-
"is_invalid": false
|
|
349
|
-
},
|
|
350
|
-
{
|
|
351
|
-
"description": "invalid conan purl only namespace",
|
|
352
|
-
"purl": "pkg:conan/bincrafters/cctz@2.3",
|
|
353
|
-
"canonical_purl": "pkg:conan/bincrafters/cctz@2.3",
|
|
354
|
-
"type": "conan",
|
|
355
|
-
"namespace": "bincrafters",
|
|
356
|
-
"name": "cctz",
|
|
357
|
-
"version": "2.3",
|
|
358
|
-
"qualifiers": null,
|
|
359
|
-
"subpath": null,
|
|
360
|
-
"is_invalid": true
|
|
361
|
-
},
|
|
362
|
-
{
|
|
363
|
-
"description": "invalid conan purl only channel qualifier",
|
|
364
|
-
"purl": "pkg:conan/cctz@2.3?channel=stable",
|
|
365
|
-
"canonical_purl": "pkg:conan/cctz@2.3?channel=stable",
|
|
366
|
-
"type": "conan",
|
|
367
|
-
"namespace": null,
|
|
368
|
-
"name": "cctz",
|
|
369
|
-
"version": "2.3",
|
|
370
|
-
"qualifiers": {"channel": "stable"},
|
|
371
|
-
"subpath": null,
|
|
372
|
-
"is_invalid": true
|
|
373
|
-
},
|
|
374
|
-
{
|
|
375
|
-
"description": "valid conda purl with qualifiers",
|
|
376
|
-
"purl": "pkg:conda/absl-py@0.4.1?build=py36h06a4308_0&channel=main&subdir=linux-64&type=tar.bz2",
|
|
377
|
-
"canonical_purl": "pkg:conda/absl-py@0.4.1?build=py36h06a4308_0&channel=main&subdir=linux-64&type=tar.bz2",
|
|
378
|
-
"type": "conda",
|
|
379
|
-
"namespace": null,
|
|
380
|
-
"name": "absl-py",
|
|
381
|
-
"version": "0.4.1",
|
|
382
|
-
"qualifiers": {"build": "py36h06a4308_0", "channel": "main", "subdir": "linux-64", "type": "tar.bz2"},
|
|
383
|
-
"subpath": null,
|
|
384
|
-
"is_invalid": false
|
|
385
|
-
},
|
|
386
|
-
{
|
|
387
|
-
"description": "valid cran purl",
|
|
388
|
-
"purl": "pkg:cran/A3@0.9.1",
|
|
389
|
-
"canonical_purl": "pkg:cran/A3@0.9.1",
|
|
390
|
-
"type": "cran",
|
|
391
|
-
"namespace": null,
|
|
392
|
-
"name": "A3",
|
|
393
|
-
"version": "0.9.1",
|
|
394
|
-
"qualifiers": null,
|
|
395
|
-
"subpath": null,
|
|
396
|
-
"is_invalid": false
|
|
397
|
-
},
|
|
398
|
-
{
|
|
399
|
-
"description": "invalid cran purl without name",
|
|
400
|
-
"purl": "pkg:cran/@0.9.1",
|
|
401
|
-
"canonical_purl": "pkg:cran/@0.9.1",
|
|
402
|
-
"type": "cran",
|
|
403
|
-
"namespace": null,
|
|
404
|
-
"name": null,
|
|
405
|
-
"version": "0.9.1",
|
|
406
|
-
"qualifiers": null,
|
|
407
|
-
"subpath": null,
|
|
408
|
-
"is_invalid": true
|
|
409
|
-
},
|
|
410
|
-
{
|
|
411
|
-
"description": "invalid cran purl without version",
|
|
412
|
-
"purl": "pkg:cran/A3",
|
|
413
|
-
"canonical_purl": "pkg:cran/A3",
|
|
414
|
-
"type": "cran",
|
|
415
|
-
"namespace": null,
|
|
416
|
-
"name": "A3",
|
|
417
|
-
"version": null,
|
|
418
|
-
"qualifiers": null,
|
|
419
|
-
"subpath": null,
|
|
420
|
-
"is_invalid": true
|
|
421
|
-
},
|
|
422
|
-
{
|
|
423
|
-
"description": "valid swift purl",
|
|
424
|
-
"purl": "pkg:swift/github.com/Alamofire/Alamofire@5.4.3",
|
|
425
|
-
"canonical_purl": "pkg:swift/github.com/Alamofire/Alamofire@5.4.3",
|
|
426
|
-
"type": "swift",
|
|
427
|
-
"namespace": "github.com/Alamofire",
|
|
428
|
-
"name": "Alamofire",
|
|
429
|
-
"version": "5.4.3",
|
|
430
|
-
"qualifiers": null,
|
|
431
|
-
"subpath": null,
|
|
432
|
-
"is_invalid": false
|
|
433
|
-
},
|
|
434
|
-
{
|
|
435
|
-
"description": "invalid swift purl without namespace",
|
|
436
|
-
"purl": "pkg:swift/Alamofire@5.4.3",
|
|
437
|
-
"canonical_purl": "pkg:swift/Alamofire@5.4.3",
|
|
438
|
-
"type": "swift",
|
|
439
|
-
"namespace": null,
|
|
440
|
-
"name": "Alamofire",
|
|
441
|
-
"version": "5.4.3",
|
|
442
|
-
"qualifiers": null,
|
|
443
|
-
"subpath": null,
|
|
444
|
-
"is_invalid": true
|
|
445
|
-
},
|
|
446
|
-
{
|
|
447
|
-
"description": "invalid swift purl without name",
|
|
448
|
-
"purl": "pkg:swift/github.com/Alamofire/@5.4.3",
|
|
449
|
-
"canonical_purl": "pkg:swift/github.com/Alamofire/@5.4.3",
|
|
450
|
-
"type": "swift",
|
|
451
|
-
"namespace": "github.com/Alamofire",
|
|
452
|
-
"name": null,
|
|
453
|
-
"version": "5.4.3",
|
|
454
|
-
"qualifiers": null,
|
|
455
|
-
"subpath": null,
|
|
456
|
-
"is_invalid": true
|
|
457
|
-
},
|
|
458
|
-
{
|
|
459
|
-
"description": "invalid swift purl without version",
|
|
460
|
-
"purl": "pkg:swift/github.com/Alamofire/Alamofire",
|
|
461
|
-
"canonical_purl": "pkg:swift/github.com/Alamofire/Alamofire",
|
|
462
|
-
"type": "swift",
|
|
463
|
-
"namespace": "github.com/Alamofire",
|
|
464
|
-
"name": "Alamofire",
|
|
465
|
-
"version": null,
|
|
466
|
-
"qualifiers": null,
|
|
467
|
-
"subpath": null,
|
|
468
|
-
"is_invalid": true
|
|
469
|
-
},
|
|
470
|
-
{
|
|
471
|
-
"description": "valid hackage purl",
|
|
472
|
-
"purl": "pkg:hackage/AC-HalfInteger@1.2.1",
|
|
473
|
-
"canonical_purl": "pkg:hackage/AC-HalfInteger@1.2.1",
|
|
474
|
-
"type": "hackage",
|
|
475
|
-
"namespace": null,
|
|
476
|
-
"name": "AC-HalfInteger",
|
|
477
|
-
"version": "1.2.1",
|
|
478
|
-
"qualifiers": null,
|
|
479
|
-
"subpath": null,
|
|
480
|
-
"is_invalid": false
|
|
481
|
-
},
|
|
482
|
-
{
|
|
483
|
-
"description": "name and version are always required",
|
|
484
|
-
"purl": "pkg:hackage",
|
|
485
|
-
"canonical_purl": "pkg:hackage",
|
|
486
|
-
"type": "hackage",
|
|
487
|
-
"namespace": null,
|
|
488
|
-
"name": null,
|
|
489
|
-
"version": null,
|
|
490
|
-
"qualifiers": null,
|
|
491
|
-
"subpath": null,
|
|
492
|
-
"is_invalid": true
|
|
493
|
-
},
|
|
494
|
-
{
|
|
495
|
-
"description": "minimal Hugging Face model",
|
|
496
|
-
"purl": "pkg:huggingface/distilbert-base-uncased@043235d6088ecd3dd5fb5ca3592b6913fd516027",
|
|
497
|
-
"canonical_purl": "pkg:huggingface/distilbert-base-uncased@043235d6088ecd3dd5fb5ca3592b6913fd516027",
|
|
498
|
-
"type": "huggingface",
|
|
499
|
-
"namespace": null,
|
|
500
|
-
"name": "distilbert-base-uncased",
|
|
501
|
-
"version": "043235d6088ecd3dd5fb5ca3592b6913fd516027",
|
|
502
|
-
"qualifiers": null,
|
|
503
|
-
"subpath": null,
|
|
504
|
-
"is_invalid": false
|
|
505
|
-
},
|
|
506
|
-
{
|
|
507
|
-
"description": "Hugging Face model with staging endpoint",
|
|
508
|
-
"purl": "pkg:huggingface/microsoft/deberta-v3-base@559062ad13d311b87b2c455e67dcd5f1c8f65111?repository_url=https://hub-ci.huggingface.co",
|
|
509
|
-
"canonical_purl": "pkg:huggingface/microsoft/deberta-v3-base@559062ad13d311b87b2c455e67dcd5f1c8f65111?repository_url=https://hub-ci.huggingface.co",
|
|
510
|
-
"type": "huggingface",
|
|
511
|
-
"namespace": "microsoft",
|
|
512
|
-
"name": "deberta-v3-base",
|
|
513
|
-
"version": "559062ad13d311b87b2c455e67dcd5f1c8f65111",
|
|
514
|
-
"qualifiers": {"repository_url": "https://hub-ci.huggingface.co"},
|
|
515
|
-
"subpath": null,
|
|
516
|
-
"is_invalid": false
|
|
517
|
-
},
|
|
518
|
-
{
|
|
519
|
-
"description": "Hugging Face model with various cases",
|
|
520
|
-
"purl": "pkg:huggingface/EleutherAI/gpt-neo-1.3B@797174552AE47F449AB70B684CABCB6603E5E85E",
|
|
521
|
-
"canonical_purl": "pkg:huggingface/EleutherAI/gpt-neo-1.3B@797174552ae47f449ab70b684cabcb6603e5e85e",
|
|
522
|
-
"type": "huggingface",
|
|
523
|
-
"namespace": "EleutherAI",
|
|
524
|
-
"name": "gpt-neo-1.3B",
|
|
525
|
-
"version": "797174552ae47f449ab70b684cabcb6603e5e85e",
|
|
526
|
-
"qualifiers": null,
|
|
527
|
-
"subpath": null,
|
|
528
|
-
"is_invalid": false
|
|
529
|
-
},
|
|
530
|
-
{
|
|
531
|
-
"description": "MLflow model tracked in Azure Databricks (case insensitive)",
|
|
532
|
-
"purl": "pkg:mlflow/CreditFraud@3?repository_url=https://adb-5245952564735461.0.azuredatabricks.net/api/2.0/mlflow",
|
|
533
|
-
"canonical_purl": "pkg:mlflow/creditfraud@3?repository_url=https://adb-5245952564735461.0.azuredatabricks.net/api/2.0/mlflow",
|
|
534
|
-
"type": "mlflow",
|
|
535
|
-
"namespace": null,
|
|
536
|
-
"name": "creditfraud",
|
|
537
|
-
"version": "3",
|
|
538
|
-
"qualifiers": {"repository_url": "https://adb-5245952564735461.0.azuredatabricks.net/api/2.0/mlflow"},
|
|
539
|
-
"subpath": null,
|
|
540
|
-
"is_invalid": false
|
|
541
|
-
},
|
|
542
|
-
{
|
|
543
|
-
"description": "MLflow model tracked in Azure ML (case sensitive)",
|
|
544
|
-
"purl": "pkg:mlflow/CreditFraud@3?repository_url=https://westus2.api.azureml.ms/mlflow/v1.0/subscriptions/a50f2011-fab8-4164-af23-c62881ef8c95/resourceGroups/TestResourceGroup/providers/Microsoft.MachineLearningServices/workspaces/TestWorkspace",
|
|
545
|
-
"canonical_purl": "pkg:mlflow/CreditFraud@3?repository_url=https://westus2.api.azureml.ms/mlflow/v1.0/subscriptions/a50f2011-fab8-4164-af23-c62881ef8c95/resourceGroups/TestResourceGroup/providers/Microsoft.MachineLearningServices/workspaces/TestWorkspace",
|
|
546
|
-
"type": "mlflow",
|
|
547
|
-
"namespace": null,
|
|
548
|
-
"name": "CreditFraud",
|
|
549
|
-
"version": "3",
|
|
550
|
-
"qualifiers": {"repository_url": "https://westus2.api.azureml.ms/mlflow/v1.0/subscriptions/a50f2011-fab8-4164-af23-c62881ef8c95/resourceGroups/TestResourceGroup/providers/Microsoft.MachineLearningServices/workspaces/TestWorkspace"},
|
|
551
|
-
"subpath": null,
|
|
552
|
-
"is_invalid": false
|
|
553
|
-
},
|
|
554
|
-
{
|
|
555
|
-
"description": "MLflow model with unique identifiers",
|
|
556
|
-
"purl": "pkg:mlflow/trafficsigns@10?model_uuid=36233173b22f4c89b451f1228d700d49&run_id=410a3121-2709-4f88-98dd-dba0ef056b0a&repository_url=https://adb-5245952564735461.0.azuredatabricks.net/api/2.0/mlflow",
|
|
557
|
-
"canonical_purl": "pkg:mlflow/trafficsigns@10?model_uuid=36233173b22f4c89b451f1228d700d49&repository_url=https://adb-5245952564735461.0.azuredatabricks.net/api/2.0/mlflow&run_id=410a3121-2709-4f88-98dd-dba0ef056b0a",
|
|
558
|
-
"type": "mlflow",
|
|
559
|
-
"namespace": null,
|
|
560
|
-
"name": "trafficsigns",
|
|
561
|
-
"version": "10",
|
|
562
|
-
"qualifiers": {"model_uuid": "36233173b22f4c89b451f1228d700d49", "run_id": "410a3121-2709-4f88-98dd-dba0ef056b0a", "repository_url": "https://adb-5245952564735461.0.azuredatabricks.net/api/2.0/mlflow"},
|
|
563
|
-
"subpath": null,
|
|
564
|
-
"is_invalid": false
|
|
565
|
-
},
|
|
566
|
-
{
|
|
567
|
-
"description": "composer names are not case sensitive",
|
|
568
|
-
"purl": "pkg:composer/Laravel/Laravel@5.5.0",
|
|
569
|
-
"canonical_purl": "pkg:composer/laravel/laravel@5.5.0",
|
|
570
|
-
"type": "composer",
|
|
571
|
-
"namespace": "laravel",
|
|
572
|
-
"name": "laravel",
|
|
573
|
-
"version": "5.5.0",
|
|
574
|
-
"qualifiers": null,
|
|
575
|
-
"subpath": null,
|
|
576
|
-
"is_invalid": false
|
|
577
|
-
},
|
|
578
|
-
{
|
|
579
|
-
"description": "cpan distribution name are case sensitive",
|
|
580
|
-
"purl": "pkg:cpan/DROLSKY/DateTime@1.55",
|
|
581
|
-
"canonical_purl": "pkg:cpan/DROLSKY/DateTime@1.55",
|
|
582
|
-
"type": "cpan",
|
|
583
|
-
"namespace": "DROLSKY",
|
|
584
|
-
"name": "DateTime",
|
|
585
|
-
"version": "1.55",
|
|
586
|
-
"qualifiers": null,
|
|
587
|
-
"subpath": null,
|
|
588
|
-
"is_invalid": false
|
|
589
|
-
},
|
|
590
|
-
{
|
|
591
|
-
"description": "cpan module name are case sensitive",
|
|
592
|
-
"purl": "pkg:cpan/URI::PackageURL@2.11",
|
|
593
|
-
"canonical_purl": "pkg:cpan/URI::PackageURL@2.11",
|
|
594
|
-
"type": "cpan",
|
|
595
|
-
"namespace": null,
|
|
596
|
-
"name": "URI::PackageURL",
|
|
597
|
-
"version": "2.11",
|
|
598
|
-
"qualifiers": null,
|
|
599
|
-
"subpath": null,
|
|
600
|
-
"is_invalid": false
|
|
601
|
-
},
|
|
602
|
-
{
|
|
603
|
-
"description": "cpan module name like distribution name",
|
|
604
|
-
"purl": "pkg:cpan/Perl-Version@1.013",
|
|
605
|
-
"canonical_purl": "pkg:cpan/Perl-Version@1.013",
|
|
606
|
-
"type": "cpan",
|
|
607
|
-
"namespace": null,
|
|
608
|
-
"name": "Perl-Version",
|
|
609
|
-
"version": "1.013",
|
|
610
|
-
"qualifiers": null,
|
|
611
|
-
"subpath": null,
|
|
612
|
-
"is_invalid": true
|
|
613
|
-
},
|
|
614
|
-
{
|
|
615
|
-
"description": "cpan distribution name like module name",
|
|
616
|
-
"purl": "pkg:cpan/GDT/URI::PackageURL@2.11",
|
|
617
|
-
"canonical_purl": "pkg:cpan/GDT/URI::PackageURL",
|
|
618
|
-
"type": "cpan",
|
|
619
|
-
"namespace": "GDT",
|
|
620
|
-
"name": "URI::PackageURL",
|
|
621
|
-
"version": null,
|
|
622
|
-
"qualifiers": null,
|
|
623
|
-
"subpath": null,
|
|
624
|
-
"is_invalid": true
|
|
625
|
-
},
|
|
626
|
-
{
|
|
627
|
-
"description": "cpan valid module name",
|
|
628
|
-
"purl": "pkg:cpan/DateTime@1.55",
|
|
629
|
-
"canonical_purl": "pkg:cpan/DateTime@1.55",
|
|
630
|
-
"type": "cpan",
|
|
631
|
-
"namespace": null,
|
|
632
|
-
"name": "DateTime",
|
|
633
|
-
"version": "1.55",
|
|
634
|
-
"qualifiers": null,
|
|
635
|
-
"subpath": null,
|
|
636
|
-
"is_invalid": false
|
|
637
|
-
},
|
|
638
|
-
{
|
|
639
|
-
"description": "cpan valid module name without version",
|
|
640
|
-
"purl": "pkg:cpan/URI",
|
|
641
|
-
"canonical_purl": "pkg:cpan/URI",
|
|
642
|
-
"type": "cpan",
|
|
643
|
-
"namespace": null,
|
|
644
|
-
"name": "URI",
|
|
645
|
-
"version": null,
|
|
646
|
-
"qualifiers": null,
|
|
647
|
-
"subpath": null,
|
|
648
|
-
"is_invalid": false
|
|
649
|
-
},
|
|
650
|
-
{
|
|
651
|
-
"description": "ensure namespace allows multiple segments",
|
|
652
|
-
"purl": "pkg:bintray/apache/couchdb/couchdb-mac@2.3.0",
|
|
653
|
-
"canonical_purl": "pkg:bintray/apache/couchdb/couchdb-mac@2.3.0",
|
|
654
|
-
"type": "bintray",
|
|
655
|
-
"namespace": "apache/couchdb",
|
|
656
|
-
"name": "couchdb-mac",
|
|
657
|
-
"version": "2.3.0",
|
|
658
|
-
"qualifiers": null,
|
|
659
|
-
"subpath": null,
|
|
660
|
-
"is_invalid": false
|
|
661
|
-
},
|
|
662
|
-
{
|
|
663
|
-
"description": "invalid encoded colon : between scheme and type",
|
|
664
|
-
"purl": "pkg%3Amaven/org.apache.commons/io",
|
|
665
|
-
"canonical_purl": null,
|
|
666
|
-
"type": "maven",
|
|
667
|
-
"namespace": "org.apache.commons",
|
|
668
|
-
"name": "io",
|
|
669
|
-
"version": null,
|
|
670
|
-
"qualifiers": null,
|
|
671
|
-
"subpath": null,
|
|
672
|
-
"is_invalid": true
|
|
673
|
-
},
|
|
674
|
-
{
|
|
675
|
-
"description": "check for invalid character in type",
|
|
676
|
-
"purl": "pkg:n&g?inx/nginx@0.8.9",
|
|
677
|
-
"canonical_purl": null,
|
|
678
|
-
"type": null,
|
|
679
|
-
"namespace": null,
|
|
680
|
-
"name": "nginx",
|
|
681
|
-
"version": "0.8.9",
|
|
682
|
-
"qualifiers": null,
|
|
683
|
-
"subpath": null,
|
|
684
|
-
"is_invalid": true
|
|
685
|
-
},
|
|
686
|
-
{
|
|
687
|
-
"description": "check for type that starts with number",
|
|
688
|
-
"purl": "pkg:3nginx/nginx@0.8.9",
|
|
689
|
-
"canonical_purl": null,
|
|
690
|
-
"type": null,
|
|
691
|
-
"namespace": null,
|
|
692
|
-
"name": "nginx",
|
|
693
|
-
"version": "0.8.9",
|
|
694
|
-
"qualifiers": null,
|
|
695
|
-
"subpath": null,
|
|
696
|
-
"is_invalid": true
|
|
697
|
-
},
|
|
698
|
-
{
|
|
699
|
-
"description": "check for colon in type",
|
|
700
|
-
"purl": "pkg:nginx:a/nginx@0.8.9",
|
|
701
|
-
"canonical_purl": null,
|
|
702
|
-
"type": null,
|
|
703
|
-
"namespace": null,
|
|
704
|
-
"name": "nginx",
|
|
705
|
-
"version": "0.8.9",
|
|
706
|
-
"qualifiers": null,
|
|
707
|
-
"subpath": null,
|
|
708
|
-
"is_invalid": true
|
|
709
|
-
}
|
|
710
|
-
]
|