-
Notifications
You must be signed in to change notification settings - Fork 321
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cargo: Fix the package type to be "Crate"
Note that there is currently some discussion pending whether PURL should also use "crate" instead of "cargo" as the package type [1], but until that is the case we need to map "crate" to "cargo" for PURLs. [1] package-url/purl-spec#75 (comment) Signed-off-by: Sebastian Schuberth <[email protected]>
- Loading branch information
1 parent
dad457b
commit 5dea2dd
Showing
7 changed files
with
77 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,110 +20,110 @@ project: | |
scopes: | ||
- name: "build-dependencies" | ||
dependencies: | ||
- id: "Cargo::spin:0.5.0" | ||
- id: "Crate::spin:0.5.0" | ||
linkage: "STATIC" | ||
- name: "dependencies" | ||
dependencies: | ||
- id: "Cargo::cfg-if:0.1.9" | ||
- id: "Crate::cfg-if:0.1.9" | ||
linkage: "STATIC" | ||
- name: "dev-dependencies" | ||
dependencies: | ||
- id: "Cargo::rand:0.6.5" | ||
- id: "Crate::rand:0.6.5" | ||
linkage: "STATIC" | ||
dependencies: | ||
- id: "Cargo::libc:0.2.62" | ||
- id: "Crate::libc:0.2.62" | ||
linkage: "STATIC" | ||
- id: "Cargo::rand_chacha:0.1.1" | ||
- id: "Crate::rand_chacha:0.1.1" | ||
linkage: "STATIC" | ||
dependencies: | ||
- id: "Cargo::rand_core:0.3.1" | ||
- id: "Crate::rand_core:0.3.1" | ||
linkage: "STATIC" | ||
dependencies: | ||
- id: "Cargo::rand_core:0.4.2" | ||
- id: "Crate::rand_core:0.4.2" | ||
linkage: "STATIC" | ||
- id: "Cargo::rand_core:0.4.2" | ||
- id: "Crate::rand_core:0.4.2" | ||
linkage: "STATIC" | ||
- id: "Cargo::rand_hc:0.1.0" | ||
- id: "Crate::rand_hc:0.1.0" | ||
linkage: "STATIC" | ||
dependencies: | ||
- id: "Cargo::rand_core:0.3.1" | ||
- id: "Crate::rand_core:0.3.1" | ||
linkage: "STATIC" | ||
dependencies: | ||
- id: "Cargo::rand_core:0.4.2" | ||
- id: "Crate::rand_core:0.4.2" | ||
linkage: "STATIC" | ||
- id: "Cargo::rand_isaac:0.1.1" | ||
- id: "Crate::rand_isaac:0.1.1" | ||
linkage: "STATIC" | ||
dependencies: | ||
- id: "Cargo::rand_core:0.3.1" | ||
- id: "Crate::rand_core:0.3.1" | ||
linkage: "STATIC" | ||
dependencies: | ||
- id: "Cargo::rand_core:0.4.2" | ||
- id: "Crate::rand_core:0.4.2" | ||
linkage: "STATIC" | ||
- id: "Cargo::rand_jitter:0.1.4" | ||
- id: "Crate::rand_jitter:0.1.4" | ||
linkage: "STATIC" | ||
dependencies: | ||
- id: "Cargo::libc:0.2.62" | ||
- id: "Crate::libc:0.2.62" | ||
linkage: "STATIC" | ||
- id: "Cargo::rand_core:0.4.2" | ||
- id: "Crate::rand_core:0.4.2" | ||
linkage: "STATIC" | ||
- id: "Cargo::winapi:0.3.8" | ||
- id: "Crate::winapi:0.3.8" | ||
linkage: "STATIC" | ||
dependencies: | ||
- id: "Cargo::winapi-i686-pc-windows-gnu:0.4.0" | ||
- id: "Crate::winapi-i686-pc-windows-gnu:0.4.0" | ||
linkage: "STATIC" | ||
- id: "Cargo::winapi-x86_64-pc-windows-gnu:0.4.0" | ||
- id: "Crate::winapi-x86_64-pc-windows-gnu:0.4.0" | ||
linkage: "STATIC" | ||
- id: "Cargo::rand_os:0.1.3" | ||
- id: "Crate::rand_os:0.1.3" | ||
linkage: "STATIC" | ||
dependencies: | ||
- id: "Cargo::cloudabi:0.0.3" | ||
- id: "Crate::cloudabi:0.0.3" | ||
linkage: "STATIC" | ||
dependencies: | ||
- id: "Cargo::bitflags:1.1.0" | ||
- id: "Crate::bitflags:1.1.0" | ||
linkage: "STATIC" | ||
- id: "Cargo::fuchsia-cprng:0.1.1" | ||
- id: "Crate::fuchsia-cprng:0.1.1" | ||
linkage: "STATIC" | ||
- id: "Cargo::libc:0.2.62" | ||
- id: "Crate::libc:0.2.62" | ||
linkage: "STATIC" | ||
- id: "Cargo::rand_core:0.4.2" | ||
- id: "Crate::rand_core:0.4.2" | ||
linkage: "STATIC" | ||
- id: "Cargo::rdrand:0.4.0" | ||
- id: "Crate::rdrand:0.4.0" | ||
linkage: "STATIC" | ||
dependencies: | ||
- id: "Cargo::rand_core:0.3.1" | ||
- id: "Crate::rand_core:0.3.1" | ||
linkage: "STATIC" | ||
dependencies: | ||
- id: "Cargo::rand_core:0.4.2" | ||
- id: "Crate::rand_core:0.4.2" | ||
linkage: "STATIC" | ||
- id: "Cargo::winapi:0.3.8" | ||
- id: "Crate::winapi:0.3.8" | ||
linkage: "STATIC" | ||
dependencies: | ||
- id: "Cargo::winapi-i686-pc-windows-gnu:0.4.0" | ||
- id: "Crate::winapi-i686-pc-windows-gnu:0.4.0" | ||
linkage: "STATIC" | ||
- id: "Cargo::winapi-x86_64-pc-windows-gnu:0.4.0" | ||
- id: "Crate::winapi-x86_64-pc-windows-gnu:0.4.0" | ||
linkage: "STATIC" | ||
- id: "Cargo::rand_pcg:0.1.2" | ||
- id: "Crate::rand_pcg:0.1.2" | ||
linkage: "STATIC" | ||
dependencies: | ||
- id: "Cargo::rand_core:0.4.2" | ||
- id: "Crate::rand_core:0.4.2" | ||
linkage: "STATIC" | ||
- id: "Cargo::rand_xorshift:0.1.1" | ||
- id: "Crate::rand_xorshift:0.1.1" | ||
linkage: "STATIC" | ||
dependencies: | ||
- id: "Cargo::rand_core:0.3.1" | ||
- id: "Crate::rand_core:0.3.1" | ||
linkage: "STATIC" | ||
dependencies: | ||
- id: "Cargo::rand_core:0.4.2" | ||
- id: "Crate::rand_core:0.4.2" | ||
linkage: "STATIC" | ||
- id: "Cargo::winapi:0.3.8" | ||
- id: "Crate::winapi:0.3.8" | ||
linkage: "STATIC" | ||
dependencies: | ||
- id: "Cargo::winapi-i686-pc-windows-gnu:0.4.0" | ||
- id: "Crate::winapi-i686-pc-windows-gnu:0.4.0" | ||
linkage: "STATIC" | ||
- id: "Cargo::winapi-x86_64-pc-windows-gnu:0.4.0" | ||
- id: "Crate::winapi-x86_64-pc-windows-gnu:0.4.0" | ||
linkage: "STATIC" | ||
packages: | ||
- id: "Cargo::autocfg:0.1.6" | ||
- id: "Crate::autocfg:0.1.6" | ||
purl: "pkg:cargo/[email protected]" | ||
declared_licenses: | ||
- "Apache-2.0 OR MIT" | ||
|
@@ -151,7 +151,7 @@ packages: | |
url: "https://github.com/cuviper/autocfg.git" | ||
revision: "" | ||
path: "" | ||
- id: "Cargo::bitflags:1.1.0" | ||
- id: "Crate::bitflags:1.1.0" | ||
purl: "pkg:cargo/[email protected]" | ||
declared_licenses: | ||
- "MIT OR Apache-2.0" | ||
|
@@ -179,7 +179,7 @@ packages: | |
url: "https://github.com/bitflags/bitflags.git" | ||
revision: "" | ||
path: "" | ||
- id: "Cargo::cfg-if:0.1.9" | ||
- id: "Crate::cfg-if:0.1.9" | ||
purl: "pkg:cargo/[email protected]" | ||
declared_licenses: | ||
- "MIT OR Apache-2.0" | ||
|
@@ -209,7 +209,7 @@ packages: | |
url: "https://github.com/alexcrichton/cfg-if.git" | ||
revision: "" | ||
path: "" | ||
- id: "Cargo::cloudabi:0.0.3" | ||
- id: "Crate::cloudabi:0.0.3" | ||
purl: "pkg:cargo/[email protected]" | ||
declared_licenses: | ||
- "BSD-2-Clause" | ||
|
@@ -238,7 +238,7 @@ packages: | |
url: "https://github.com/nuxinl/cloudabi.git" | ||
revision: "" | ||
path: "" | ||
- id: "Cargo::fuchsia-cprng:0.1.1" | ||
- id: "Crate::fuchsia-cprng:0.1.1" | ||
purl: "pkg:cargo/[email protected]" | ||
declared_licenses: [] | ||
declared_licenses_processed: {} | ||
|
@@ -265,7 +265,7 @@ packages: | |
url: "https://fuchsia.googlesource.com/fuchsia/+/master/garnet/public/rust/fuchsia-cprng" | ||
revision: "" | ||
path: "" | ||
- id: "Cargo::libc:0.2.62" | ||
- id: "Crate::libc:0.2.62" | ||
purl: "pkg:cargo/[email protected]" | ||
declared_licenses: | ||
- "MIT OR Apache-2.0" | ||
|
@@ -293,7 +293,7 @@ packages: | |
url: "https://github.com/rust-lang/libc.git" | ||
revision: "" | ||
path: "" | ||
- id: "Cargo::rand:0.6.5" | ||
- id: "Crate::rand:0.6.5" | ||
purl: "pkg:cargo/[email protected]" | ||
declared_licenses: | ||
- "MIT OR Apache-2.0" | ||
|
@@ -321,7 +321,7 @@ packages: | |
url: "https://github.com/rust-random/rand.git" | ||
revision: "" | ||
path: "" | ||
- id: "Cargo::rand_chacha:0.1.1" | ||
- id: "Crate::rand_chacha:0.1.1" | ||
purl: "pkg:cargo/[email protected]" | ||
declared_licenses: | ||
- "MIT OR Apache-2.0" | ||
|
@@ -349,7 +349,7 @@ packages: | |
url: "https://github.com/rust-random/rand.git" | ||
revision: "" | ||
path: "" | ||
- id: "Cargo::rand_core:0.3.1" | ||
- id: "Crate::rand_core:0.3.1" | ||
purl: "pkg:cargo/[email protected]" | ||
declared_licenses: | ||
- "MIT OR Apache-2.0" | ||
|
@@ -377,7 +377,7 @@ packages: | |
url: "https://github.com/rust-random/rand.git" | ||
revision: "" | ||
path: "" | ||
- id: "Cargo::rand_core:0.4.2" | ||
- id: "Crate::rand_core:0.4.2" | ||
purl: "pkg:cargo/[email protected]" | ||
declared_licenses: | ||
- "MIT OR Apache-2.0" | ||
|
@@ -405,7 +405,7 @@ packages: | |
url: "https://github.com/rust-random/rand.git" | ||
revision: "" | ||
path: "" | ||
- id: "Cargo::rand_hc:0.1.0" | ||
- id: "Crate::rand_hc:0.1.0" | ||
purl: "pkg:cargo/[email protected]" | ||
declared_licenses: | ||
- "MIT OR Apache-2.0" | ||
|
@@ -433,7 +433,7 @@ packages: | |
url: "https://github.com/rust-random/rand.git" | ||
revision: "" | ||
path: "" | ||
- id: "Cargo::rand_isaac:0.1.1" | ||
- id: "Crate::rand_isaac:0.1.1" | ||
purl: "pkg:cargo/[email protected]" | ||
declared_licenses: | ||
- "MIT OR Apache-2.0" | ||
|
@@ -461,7 +461,7 @@ packages: | |
url: "https://github.com/rust-random/rand.git" | ||
revision: "" | ||
path: "" | ||
- id: "Cargo::rand_jitter:0.1.4" | ||
- id: "Crate::rand_jitter:0.1.4" | ||
purl: "pkg:cargo/[email protected]" | ||
declared_licenses: | ||
- "MIT OR Apache-2.0" | ||
|
@@ -489,7 +489,7 @@ packages: | |
url: "https://github.com/rust-random/rand.git" | ||
revision: "" | ||
path: "" | ||
- id: "Cargo::rand_os:0.1.3" | ||
- id: "Crate::rand_os:0.1.3" | ||
purl: "pkg:cargo/[email protected]" | ||
declared_licenses: | ||
- "MIT OR Apache-2.0" | ||
|
@@ -517,7 +517,7 @@ packages: | |
url: "https://github.com/rust-random/rand.git" | ||
revision: "" | ||
path: "" | ||
- id: "Cargo::rand_pcg:0.1.2" | ||
- id: "Crate::rand_pcg:0.1.2" | ||
purl: "pkg:cargo/[email protected]" | ||
declared_licenses: | ||
- "MIT OR Apache-2.0" | ||
|
@@ -545,7 +545,7 @@ packages: | |
url: "https://github.com/rust-random/rand.git" | ||
revision: "" | ||
path: "" | ||
- id: "Cargo::rand_xorshift:0.1.1" | ||
- id: "Crate::rand_xorshift:0.1.1" | ||
purl: "pkg:cargo/[email protected]" | ||
declared_licenses: | ||
- "MIT OR Apache-2.0" | ||
|
@@ -573,7 +573,7 @@ packages: | |
url: "https://github.com/rust-random/rand.git" | ||
revision: "" | ||
path: "" | ||
- id: "Cargo::rdrand:0.4.0" | ||
- id: "Crate::rdrand:0.4.0" | ||
purl: "pkg:cargo/[email protected]" | ||
declared_licenses: | ||
- "ISC" | ||
|
@@ -602,7 +602,7 @@ packages: | |
url: "https://github.com/nagisa/rust_rdrand.git" | ||
revision: "" | ||
path: "" | ||
- id: "Cargo::spin:0.5.0" | ||
- id: "Crate::spin:0.5.0" | ||
purl: "pkg:cargo/[email protected]" | ||
declared_licenses: | ||
- "MIT" | ||
|
@@ -631,7 +631,7 @@ packages: | |
url: "https://github.com/mvdnes/spin-rs.git" | ||
revision: "" | ||
path: "" | ||
- id: "Cargo::winapi-i686-pc-windows-gnu:0.4.0" | ||
- id: "Crate::winapi-i686-pc-windows-gnu:0.4.0" | ||
purl: "pkg:cargo/[email protected]" | ||
declared_licenses: | ||
- "MIT OR Apache-2.0" | ||
|
@@ -660,7 +660,7 @@ packages: | |
url: "https://github.com/retep998/winapi-rs.git" | ||
revision: "" | ||
path: "" | ||
- id: "Cargo::winapi-x86_64-pc-windows-gnu:0.4.0" | ||
- id: "Crate::winapi-x86_64-pc-windows-gnu:0.4.0" | ||
purl: "pkg:cargo/[email protected]" | ||
declared_licenses: | ||
- "MIT OR Apache-2.0" | ||
|
@@ -689,7 +689,7 @@ packages: | |
url: "https://github.com/retep998/winapi-rs.git" | ||
revision: "" | ||
path: "" | ||
- id: "Cargo::winapi:0.3.8" | ||
- id: "Crate::winapi:0.3.8" | ||
purl: "pkg:cargo/[email protected]" | ||
declared_licenses: | ||
- "MIT OR Apache-2.0" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,13 +18,13 @@ project: | |
scopes: | ||
- name: "dependencies" | ||
dependencies: | ||
- id: "Cargo::lib:0.1.0" | ||
- id: "Crate::lib:0.1.0" | ||
linkage: "PROJECT_STATIC" | ||
dependencies: | ||
- id: "Cargo::cfg-if:0.1.9" | ||
- id: "Crate::cfg-if:0.1.9" | ||
linkage: "STATIC" | ||
packages: | ||
- id: "Cargo::cfg-if:0.1.9" | ||
- id: "Crate::cfg-if:0.1.9" | ||
purl: "pkg:cargo/[email protected]" | ||
declared_licenses: | ||
- "MIT OR Apache-2.0" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,10 +18,10 @@ project: | |
scopes: | ||
- name: "dependencies" | ||
dependencies: | ||
- id: "Cargo::spin:0.4.10" | ||
- id: "Crate::spin:0.4.10" | ||
linkage: "STATIC" | ||
packages: | ||
- id: "Cargo::spin:0.4.10" | ||
- id: "Crate::spin:0.4.10" | ||
purl: "pkg:cargo/[email protected]" | ||
declared_licenses: | ||
- "MIT" | ||
|
Oops, something went wrong.