[SourceList] Warn when adding a git source using the git procotol#3453
[SourceList] Warn when adding a git source using the git procotol#3453segiddins wants to merge 2 commits intorubygems:masterfrom
Conversation
|
Thanks! 💙 Couple of things 😄
So I think the best place to issue the warnings is from |
1a8b7ea to
04af1b9
Compare
|
I don't have the time to do that sort of refactor at the moment, but I think I fixed the test failures. |
|
Maybe in the meantime we should add a |
|
I'd like to deprecate all built-in shortcuts. I think the translation logic needs to be explicit in the |
|
I feel like I'm probably okay with Github is such a common case that it seems completely valid to have that one built in, but I think we should drop everything else in 2.0, and document the shortcut DSL better. |
|
Ready to merge this as soon as the tests pass and there is a conflig flag to disable it (and mention the config flag in the warning). |
04af1b9 to
68eabed
Compare
|
Done |
|
The flags have to be set as booleans in settings.rb in order to be returned as true. It's fine for true because everything resolves to true but for false it will return |
|
@indirect it looks like this has been cherry-picked into 1-99-dev already? |
|
Yup, thanks! |
Closes #3448.