+
Skip to content

Conversation

dcalavrezo-qorix
Copy link
Contributor

The ID is not being specified correctly: "Cargo" is the package manager, "Crates" is the software repository. The content ID should be specified using the latter.

e.g., in IPLab issue 21182 cargo/cargo/-/winapi/0.3.9 should be crate/cratesio/-/winapi/0.3.9.

Excerpt from the documenation:

Steps:

Use cargo to generate a dependency list;
Sort the results and remove duplicates;
Remove empty lines;
Remove references to project code;
Map each line to a ClearlyDefined ID; and
Invoke the tool.
Note that "Cargo" is the package manager, but "Crates" is the software repository. The content ID should be specified using the latter (crate/cratesio/...).

The above example skips code from the Eclipse Zenoh project. Anything that is not third-party content can be removed in a similar manner.

Note that, in order to better leverage ClearlyDefined data, the "v" should not be included in the version number. For example, serde_json v1.0.85 becomes crate/cratesio/-/serde_json/1.0.85.

Tested locally

dcalavrezo@DC-QORIX:~/sources/module_template$ cat bazel-out/k8-fastbuild/bin/formatted.txt
crate/cratesio/-/aho-corasick/1.1.3
crate/cratesio/-/aliasable/0.1.3

Addresses: #32

The ID is not being specified correctly: "Cargo" is the package manager, "Crates" is the software repository. The content ID should be specified using the latter.

e.g., in IPLab issue 21182 cargo/cargo/-/winapi/0.3.9 should be crate/cratesio/-/winapi/0.3.9.

Excerpt from the documenation:

Steps:

Use cargo to generate a dependency list;
Sort the results and remove duplicates;
Remove empty lines;
Remove references to project code;
Map each line to a ClearlyDefined ID; and
Invoke the tool.
Note that "Cargo" is the package manager, but "Crates" is the software repository. The content ID should be specified using the latter (crate/cratesio/...).

The above example skips code from the Eclipse Zenoh project. Anything that is not third-party content can be removed in a similar manner.

Note that, in order to better leverage ClearlyDefined data, the "v" should not be included in the version number. For example, serde_json v1.0.85 becomes crate/cratesio/-/serde_json/1.0.85.

Addresses: eclipse-score#32

Signed-off-by: Dan Calavrezo <dan.calavrezo.ext@qorix.ai>
@MaximilianSoerenPollak MaximilianSoerenPollak merged commit d798fb4 into eclipse-score:main May 26, 2025
1 check passed
@github-project-automation github-project-automation bot moved this from Todo to Done in Infrastructure May 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载