-
Notifications
You must be signed in to change notification settings - Fork 210
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
$idattribute was updated from a placeholder value to the correct URI for theapktype definition.name_definitionandversion_definitionnow correctly state that they are "required" components for a validapkpurl.normalization_ruleshave been added to both thenamespace_definitionandname_definitionto ensure their values are lowercased.version_definitionhas been updated with more specific details about the expected version format, including the commonpkgver-rXpattern.distroandrepository_urlqualifiers, and examples have been added for all defined qualifiers to provide clearer guidance.apkpurls, including packages from different vendors and those with version suffixes.