Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for dependency graph introduced in v1.2 of the spec #14

Closed
coderpatros opened this issue May 27, 2020 · 2 comments · Fixed by #504
Closed

Add support for dependency graph introduced in v1.2 of the spec #14

coderpatros opened this issue May 27, 2020 · 2 comments · Fixed by #504
Labels
enhancement New feature or request

Comments

@coderpatros
Copy link
Member

No description provided.

@amy-keibler amy-keibler added the enhancement New feature or request label Dec 1, 2021
@amy-keibler
Copy link
Collaborator

The XML schema definition and the JSON schema definition are good starting points.

You'll want to run with the --all flag (e.g. cargo run -- cyclonedx --all) to generate the full dependency list. You can visually spot-check your output dependency graph using cargo tree to ensure the graph is constructed correctly.

The relevant code is in generator.rs. This will require some refactoring to support retaining the dependency relationships when processing the cargo manifest files.

@monokles
Copy link

Hey! I see that there already exists a PR for this issue, which is awesome. Are there any blockers for merging?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
3 participants