Repository navigation
Stricter parsing in Requirements.parseRestrictionsLegacy - #2816
Conversation
|
This lead to #2822 so I reverted for now. Let's investigate if this was intentional |
|
Sure. Would guess the code I didn’t touch only parses ‘framework’ and passes ‘s: net45’ along to be parsed. I guess we need to decide whether we want to allow ‘frameworks’ or not. Either way, it needs a better error message I think. |
|
I think since we "broke" something at day 1 I would prefer to allow it.
Just in favor of the users...
Am 04.10.2017 19:38 schrieb "Charles Mager" <[email protected]>:
… Sure. Would guess the code I didn’t touch only parses ‘framework’ and
passes ‘s: net45’ along to be parsed.
I guess we need to decide whether we want to allow ‘frameworks’ or not.
Either way, it needs a better error message I think.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#2816 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADgNMdDfZLoqo-ZnBZlSuQB67htk5qYks5so8KtgaJpZM4Pqjlm>
.
|
|
Agreed. Will add a few more tests with ‘framework’ with and without various combinations of ‘s’ and ‘:’ |
|
Thank you. That would probably help a lot.
Am 04.10.2017 19:45 schrieb "Charles Mager" <[email protected]>:
… Agreed. Will add a few more tests with ‘framework’ with and without
various combinations of ‘s’ and ‘:’
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#2816 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADgNK3PyIbvHp9YEh4A5hFyDi2MMjHaks5so8QfgaJpZM4Pqjlm>
.
|
|
I've checked this out, was as I expected - we find 'framework', read the text after it, remove any occurrence of That also means that e.g. I've made a change that will check for |
This more strictly requires expressions matching the syntax in the examples below:
Note that due to expectations in lock file parsing tests like this one, we also accept
>= net45 < net46as meaning 'Between net45 and net46'.Fixes #2803