Opened 20 years ago
Closed 20 years ago
#3002 closed defect (wontfix)
RFC: "_" instead of "-" as separator between package names and version numbers
Reported by: | gui_dos@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | ||
Port: |
Description
In order to facilitate the recognition of externally available prebuilt packages, it would be better using Debian's convention to separate the name of a port from its version number by using an underscore sign instead of a minus. This should ease, for example, importing the packages made available in opendarwin.org's WebDAV Server since it's currently difficult to tokenize the filename of a package to extract the port name.
Change History (3)
comment:1 Changed 20 years ago by mww@…
comment:2 Changed 20 years ago by gui_dos@…
I am trying to quickly have a package list from packages.opendarwin.org/Tiger-Packages simply by mounting it and calling a ls shell command.
I tried to analyze the Info.plist of every single package but the performances of WebDAW support in Finder are too poor.
Port names contain a maximum of a single underscore so extracting them could be much more easier than parsing for the variable amount of minus signs.
Of course this would be just a workaround for easing scripters' life ;) but I think it should also be useful for quickly importing archived binaries without the need to provid an index.
comment:3 Changed 20 years ago by olegb@…
Resolution: | → wontfix |
---|---|
Status: | new → closed |
m00:~ olegb$ port search zope-emil zope-emil_email_client zope/zope-emil_email_client 0.6.1 Emil Email Client is an email client for Zope
We are not changing this (allowed) behavior to make your fetching of packages easier. Sorry.
so whats the advantage? Ports are allowed to use "_" in their names, too, like mod_ruby.