-
-
Notifications
You must be signed in to change notification settings - Fork 50
feat: use source as vcs url #777
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
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Johannes Özkan Preisinger <johannes.preisinger@dynatrace.com>
0acdceb to
5dcf14e
Compare
|
@Shnatsel, what do you think? |
|
|
Heya, sorry this slipped through the cracks. Could you explain the motivation behind this change? What does this accomplish? |
@Shnatsel attempts to add the repo url as a VCS ExternalReference, to enrich the component information and link it to an origin repository |
|
According to https://doc.rust-lang.org/cargo/commands/cargo-metadata.html#json-format this field is meant to be opaque and its content is not stable between versions and does not conform to any particular format:
I'm not sure it's a good idea to rely on parsing an explicitly opaque value. |
Thats why we don't extract the repository url if the field does not exist |
|
@Shnatsel what do you think? |
|
Could this instead be accomplished by parsing the |
|
This field is already (not quite correctly) used:
|
No description provided.