Updates the matching rule for treating a dependency as a PEcAn package, from "starts with PEcAn followed by at least one other character" to simply "starts with PEcAn"
Motivation and Context
generate_dependencies.R identifies dependencies between PEcAn packages by parsing DESCRIPTION files and looking for dependencies matching "^PEcAn.". The dot is treated as a wildcard, so this works as intended, but is confusing to read since it will be matching a literal dot in most but not all packages. Removing the dot makes it clearer that we don't care that characters come after the prefix.
Review Time Estimate
[ ] Immediately
[ ] Within one week
[ ] When possible
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
[ ] My change requires a change to the documentation.
Description
Updates the matching rule for treating a dependency as a PEcAn package, from "starts with
PEcAn
followed by at least one other character" to simply "starts withPEcAn
"Motivation and Context
generate_dependencies.R
identifies dependencies between PEcAn packages by parsing DESCRIPTION files and looking for dependencies matching"^PEcAn."
. The dot is treated as a wildcard, so this works as intended, but is confusing to read since it will be matching a literal dot in most but not all packages. Removing the dot makes it clearer that we don't care that characters come after the prefix.Review Time Estimate
Types of changes
Checklist: