cps-org / cps-org/cps

Glob search order should be "specified"

Open
#81 3 comments 0 reactions 0 assignees View on GitHub
bug need discussion
Dominant language
Python
Stars
191
Forks
14
PR merge metrics
No merged PRs in 30d

Description

Currently, [Package Searching](https://cps-org.github.io/cps/searching.html) gives a list of paths and specifies the order in which each item should be searched. However, some *items* involve globs. We should document the order in which matching globs are searched, even if that order is "unspecified" or "implementation defined".

Note that CMake appears to use [`CMAKE_FIND_PACKAGE_SORT_ORDER`](https://cmake.org/cmake/help/latest/variable/CMAKE_FIND_PACKAGE_SORT_ORDER.html) and [`CMAKE_FIND_PACKAGE_SORT_DIRECTION`](https://cmake.org/cmake/help/latest/variable/CMAKE_FIND_PACKAGE_SORT_DIRECTION.html) to control this order; it would be helpful for CMake's implementation if whatever we specify is compatible with this.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.