cps-org / cps

Common Package Specification — A cross-tool mechanism for locating software dependencies
https://cps-org.github.io/cps/
Other
91 stars 8 forks source link

searching: remove <name>-* from namelike #44

Closed dcbaker closed 4 months ago

dcbaker commented 4 months ago

This retains the potential paths to (relative to the full prefix):

While removing:

The motivation is to simplify the search procedure, and reduce the amount of I/O being done.

The reason that <name>-* was picked for removal is:

  1. The removed scheme does not present any options that the other schemes do not provide, while being more limited than the retained cps/<name>/*/<name.cps> scheme.
  2. The removed scheme requires globing directory names, while the retained schemes do not. Two schemes are static, and the third does not require globing, but instead a linear walk of the cps/<name>/ directory is sufficient, while being more flexible.

It was agreed by those proposing the change that it would be acceptable to consider adding this path back in the future if there was a motivating reason to do so.