-
Notifications
You must be signed in to change notification settings - Fork 8
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
Package name specification needs refinement #68
Comments
When you say package name do you mean the canonical name (e.g., |
Both? The only allowed difference between the package name and the CPS file name is that the latter can be lower-cased relative to the canonical spelling of the package name. (Possibly this could be relaxed a bit, in case of extremely restrictive file systems, but right now I'm not aware of any need to do so. Also, technically, things get weird on case-insensitive file systems since I believe
...which is fortunate because CPS file names may contain Would "hash information" show up in consumer-visible names? I would think "no"... |
Note: There exist |
It shows up for docker images and other OCI based artifacts that allow pinning to a particular hash/instance (separate from the version). |
Right now, the specification says that "package [...] names may consist of ASCII letters, numbers, hyphens (-), and underscores (_), and may not contain forward-stroke (/) or at-sign (@)." This is both too restrictive and too liberal; we should probably also explicitly exclude all characters not allowed in FAT file names (
<
,>
,:
,"
,\
,|
,?
,*
), and we should add+
and.
to the set of officially blessed characters, as these are used in existing package names. (As a bonus, this also makes the naming schema nearly identical to what CMake considers acceptable target names.)The text was updated successfully, but these errors were encountered: