allow duplicate requirements in the morgan.ini file#51
Conversation
|
Could you please explain the reasoning behind introducing new syntax when the existing one is functioning well? |
The idea was that one can take several files, e.g. lock file derivatives, and concatenate them without having to worry about collecting previously existing entries in the list. If this is not something that you'd like here, I can also implement this logic on a higher layer. We just thought that's something that people had asked in the past and it seemed like a very convenient feature. |
09c845f to
f63337b
Compare
|
It might be worth though to drop |
f63337b to
72f641c
Compare
|
Yeah I don't think we need that flag. I have no problem with supporting both syntaxes, seems fine to me. |
72f641c to
c983aa4
Compare
|
Merged it manually, not sure why GitHub doesn't recognize it. |
This allows the following syntax to pull in both version 0.3.1 as well as 0.4.0:
The old syntax, is still supported, though:
The new syntax can be disabled with the flag
--enforce-unique-requirements.