Support globbing patterns for source-roots - #8281
Conversation
This comment has been minimized.
This comment has been minimized.
|
#8286 fixed the issue with self-import |
6219d68 to
c33aef9
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #8281 +/- ##
==========================================
- Coverage 95.46% 95.46% -0.01%
==========================================
Files 177 177
Lines 18704 18703 -1
==========================================
- Hits 17856 17855 -1
Misses 848 848
|
This comment has been minimized.
This comment has been minimized.
|
I haven't read much of the discussion but was triggered about the comment about breaking changes in the accompanying issue. Note that the current implementation is definitely a breaking change as it changes the behaviour of an existing option. That's what we normally consider to be a breaking change. |
|
@DanielNoord it's not a breaking change since it's backwards compatible and on top the option in question hasn't been released yet as well |
|
@Pierre-Sassoulas not a WIP anymore, yet there's a regression in test coverage since Also, it would be much appreciated if this will go into the same release as the source-roots feature 🙏 |
|
I really like the idea behind this. Users that learn glob patterns work for A more holistic approach that takes into account the other options/arguments that accept paths would be better in my opinion. |
|
@DudeNr33 I agree and adding globbing support for the input sources is easy and non-breaking, yet |
My take on this would be:
@DanielNoord your opinion? |
|
I think it is better to do globbing now for those settings where it is not a breaking change (this one). It just makes it easier for users to transition to |
c33aef9 to
10e0ace
Compare
|
@DudeNr33 @DanielNoord @Pierre-Sassoulas so, I've created #8310 and #8311 that can be addressed separately and would allow to unblock this PR. |
0c7b6e9 to
b2ae3d5
Compare
b2ae3d5 to
f58d448
Compare
|
I guess I need some assistance with taming the CI as it fails randomly 🤔 |
DudeNr33
left a comment
There was a problem hiding this comment.
I re-ran the CI jobs and they passed now.
I only got one minor remark on the changelog entry, but that is not a must.
Co-authored-by: Andreas Finkler <3929834+DudeNr33@users.noreply.github.com>
|
Thanks, I've merged the suggestion |
|
🤖 According to the primer, this change has no effect on the checked open source code. 🤖🎉 This comment was generated for commit f3d3e55 |
DudeNr33
left a comment
There was a problem hiding this comment.
Thanks!
@Pierre-Sassoulas with the follow-up tasks for 3.0 created I think we can put this MR in the 2.17 release. I'm pinging you as you originally set the 3.0 milestone.
Add globbing pattern support for source-roots.
Type of Changes
Description
Closes #8290