Introduce "all" and "none" specifiers - #146
Conversation
|
Do we check somewhere that the strings are just |
|
@immqu Please also check that your commits are signed (see DCO fails). |
Signed-off-by: Immanuel Kunz <immanuel.kunz@aisec.fraunhofer.de> Signed-off-by: Kunz, Immanuel <immanuel.kunz@aisec.fraunhofer.de>
Signed-off-by: Immanuel Kunz <immanuel.kunz@aisec.fraunhofer.de> Signed-off-by: Kunz, Immanuel <immanuel.kunz@aisec.fraunhofer.de>
Signed-off-by: Kunz, Immanuel <immanuel.kunz@aisec.fraunhofer.de>
Currently, it is checked whether the |
Signed-off-by: Kunz, Immanuel <immanuel.kunz@aisec.fraunhofer.de>
Signed-off-by: Kunz, Immanuel <immanuel.kunz@aisec.fraunhofer.de>
Signed-off-by: Kunz, Immanuel <immanuel.kunz@aisec.fraunhofer.de>
|
See also the corresponding PR for purl |
This introduces the possibility to specify all versions, or no version. Reference: https://github.com/package-url/purl-spec/issues/267 Reference: aboutcode-org/univers#146 Signed-off-by: Kunz, Immanuel <immanuel.kunz@aisec.fraunhofer.de> Signed-off-by: Philippe Ombredanne <pombredanne@aboutcode.org>
This introduces the possibility to specify all versions, or no version. Reference: https://github.com/package-url/purl-spec/issues/267 Reference: aboutcode-org/univers#146 Signed-off-by: Kunz, Immanuel <immanuel.kunz@aisec.fraunhofer.de> Signed-off-by: Philippe Ombredanne <pombredanne@aboutcode.org>
pombredanne
left a comment
There was a problem hiding this comment.
All clear. Merging at last!
This PR introduces the possibility to specify all versions, or none using the notation
vers:all/*andvers:none/*. To allow this, it simply adds a version check in the contains method that returns true if all is specified, and false if none is specified.Addresses the spec improvement suggested in package-url/vers-spec#16