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 normalisation logic to VCS URL #910

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Alex-Stevens
Copy link

An attempt to normalise the contents of the VCS URL to handle SCP-like Git URLs.

The behaviour is to:

  • Skip adding the external reference in the event the VCS URL cannot be normalised.
  • Add the https URL scheme (because modifying it to this scheme worked when cloning from GitHub, unlike alternatives).

I successfully validated the produced SBOM and uploaded it to Dependency Track.

#890

Normalise the contents of the VCS URL to handle SCP-like Git URLs

Signed-off-by: Alex Stevens <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant