-
-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
In the frontend addon for example, in package.json, the following is generated:
"repository": {
"type": "git",
"url": "[email protected]:collective/volto-add-on"
},The url: [email protected]:collective/volto-add-on is not valid. This causes problems, for example, when submitting a project to Dendency Track. I'm getting the error:
{
"status": 400,
"title": "The uploaded BOM is invalid",
"detail": "Schema validation failed",
"errors": [
"cvc-datatype-valid.1.2.1: '[email protected]:collective/volto-add-on' is not a valid value for 'anyURI'.",
"cvc-type.3.1.3: The value '[email protected]:collective/volto-add-on' of element 'url' is not valid."
]
}Ref: DependencyTrack/dependency-track#3885
To fix, the url must be in the format:
"url": "git+https://github.com/collective/volto-add-on.git"
Metadata
Metadata
Assignees
Labels
No labels