-
Notifications
You must be signed in to change notification settings - Fork 197
Fixes for apk #624
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?
Fixes for apk #624
Conversation
Signed-off-by: Prabhu Subramanian <[email protected]>
"case_sensitive": false, | ||
"normalization_rules": [ | ||
"It is not case sensitive and must be lowercased." | ||
] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"case_sensitive": false, | |
"normalization_rules": [ | |
"It is not case sensitive and must be lowercased." | |
] | |
"case_sensitive": true |
ERROR: unable to select packages:
FIGLET (no such package):
required by: world[FIGLET]
/ # apk add figlet
(1/1) Installing figlet (2.2.5-r3)
Executing busybox-1.37.0-r18.trigger
OK: 8 MiB in 17 packages
}, | ||
"version_definition": { | ||
"note": "The version is a package version as expected by apk.", | ||
"requirement": "required", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"requirement": "required", |
Installed packages have versions, but I don't understand why the PURL spec should be limited to talking about only specific versions of installed packages, especially if vers is going to be a related standard. How would you use vers if you can't name the package?
{ | ||
"key": "distro", | ||
"requirement": "optional", | ||
"description": "The distribution name when using multiple distributions" | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't make sense. I don't know if the problem is just that it's not defined properly. The distribution goes in the namespace. What does it mean if a PURL has a distribution in the namespace and in the qualifier? If it makes sense for there two be two distributions, what if there are more than two?
Fixes from gemini
$id
attribute was updated from a placeholder value to the correct URI for theapk
type definition.name_definition
andversion_definition
now correctly state that they are "required" components for a validapk
purl.normalization_rules
have been added to both thenamespace_definition
andname_definition
to ensure their values are lowercased.version_definition
has been updated with more specific details about the expected version format, including the commonpkgver-rX
pattern.distro
andrepository_url
qualifiers, and examples have been added for all defined qualifiers to provide clearer guidance.apk
purls, including packages from different vendors and those with version suffixes.