Resolve relative local collection sources - #3124
Conversation
|
Thank you for the patch. I am closing this in favour of #3146, which takes the comment deletion on its own. You were right to question the TODO: it has been stale since 2023. I dug through the history of #854 and wrote it up in #3146. The short version is that the comment arrived in a 2022-02-11 force-push, when the constructor really did take the path as written, and it was answered on 2023-02-08 by the commit that added the The reason I am splitting it is the other half of this PR.
So the change is correct and worth having. What it needs is a test that builds the relative case and shows the link resolving, which would also pin down that the CLI is not affected. If you would like to open that as its own PR, I would be glad to review it. |
Summary: resolve local collection source paths relative to the configuration directory and expand the result, instead of anchoring them to the process working directory.
Verification: focused baseline/fixed reproduction, combined RBS 4.2.0 consumer models, and RuboCop (738 files, zero offenses). No tests are added in this PR.
Compatibility: no public API removal or dependency/version change.