witty-crayon-22786
05/18/2020, 6:45 PMhundreds-father-404
05/18/2020, 6:50 PMhundreds-father-404
05/18/2020, 6:52 PMroot_patterns
was a middle ground between the original system and this. We got feedback from two users that they were still confused. Part of this was a poor deprecation warning, but part also seemed from the feature still being too generalizedhappy-kitchen-89482
05/18/2020, 6:54 PMhundreds-father-404
05/18/2020, 6:55 PMwitty-crayon-22786
05/18/2020, 6:56 PMwitty-crayon-22786
05/18/2020, 6:56 PMwitty-crayon-22786
05/18/2020, 6:57 PMhundreds-father-404
05/18/2020, 6:58 PMit gates project creation on one file.Is the issue that you anticipate orgs not letting any random team modify that file?
witty-crayon-22786
05/18/2020, 6:58 PMwitty-crayon-22786
05/18/2020, 6:59 PMhundreds-father-404
05/18/2020, 6:59 PMright. and it’s the kind of file you’d need to invalidate your whole CI for, etc.Ah, now that is indeed a major concern. This type of issue (like the
globs
deprecation) causes serious issues for users.witty-crayon-22786
05/18/2020, 7:00 PMhundreds-father-404
05/18/2020, 7:01 PMglobs
made it hard for JP to land an upgrade. It was indeed worth doing, but my point is that we do need to be careful with changes that require your entire universe to rebuild, or in their case, to redeploy. This would likely be frustrating for them if a team adding a new project caused every thing to rebuildhappy-kitchen-89482
05/18/2020, 7:01 PMwitty-crayon-22786
05/18/2020, 7:02 PMwitty-crayon-22786
05/18/2020, 7:02 PMhappy-kitchen-89482
05/18/2020, 7:03 PMwitty-crayon-22786
05/18/2020, 7:03 PMhappy-kitchen-89482
05/18/2020, 7:03 PMsrc/python
source roots, usually. Maybe Twitter did, but that's not particularly idiomatic.witty-crayon-22786
05/18/2020, 7:03 PMhappy-kitchen-89482
05/18/2020, 7:04 PMwitty-crayon-22786
05/18/2020, 7:04 PMhappy-kitchen-89482
05/18/2020, 7:04 PMsrc/
or src/python
or anything like that.witty-crayon-22786
05/18/2020, 7:07 PMhappy-kitchen-89482
05/18/2020, 7:07 PMhappy-kitchen-89482
05/18/2020, 7:07 PMhappy-kitchen-89482
05/18/2020, 7:09 PMwitty-crayon-22786
05/18/2020, 7:10 PMwitty-crayon-22786
05/18/2020, 7:12 PMhappy-kitchen-89482
05/18/2020, 7:12 PMwitty-crayon-22786
05/18/2020, 7:12 PMwitty-crayon-22786
05/18/2020, 7:13 PMhappy-kitchen-89482
05/18/2020, 7:13 PMsrc/python
) is unfortunately uncommon and not something to rely on.happy-kitchen-89482
05/18/2020, 7:14 PMwitty-crayon-22786
05/18/2020, 7:14 PMhappy-kitchen-89482
05/18/2020, 7:14 PMhappy-kitchen-89482
05/18/2020, 7:15 PMsrc/
or somethingwitty-crayon-22786
05/18/2020, 7:16 PMhundreds-father-404
05/18/2020, 7:16 PMi think that asking folks to declare custom rules for this usecase is too high a bar.+1 on writing rules being a high barrier to entry, especially since this is a prereq to even running
./pants test foo.py
and determining if you like Pants enough to use it. This is page 4 of our onboarding docs.witty-crayon-22786
05/18/2020, 7:16 PMsetup.py
, that possibly sounds like a case for configurable sentinel files, rather than custom rules…happy-kitchen-89482
05/18/2020, 7:18 PMhappy-kitchen-89482
05/18/2020, 7:19 PMhundreds-father-404
05/18/2020, 7:19 PM*
as an advanced feature.happy-kitchen-89482
05/18/2020, 7:20 PMhappy-kitchen-89482
05/18/2020, 7:21 PMhappy-kitchen-89482
05/18/2020, 7:21 PMwitty-crayon-22786
05/18/2020, 7:22 PMhappy-kitchen-89482
05/18/2020, 7:22 PMhappy-kitchen-89482
05/18/2020, 7:22 PMwitty-crayon-22786
05/18/2020, 7:22 PMhundreds-father-404
05/18/2020, 7:23 PMhundreds-father-404
05/18/2020, 7:23 PMhappy-kitchen-89482
05/18/2020, 7:24 PMhappy-kitchen-89482
05/18/2020, 7:24 PMwitty-crayon-22786
05/18/2020, 7:24 PMwitty-crayon-22786
05/18/2020, 7:25 PMwitty-crayon-22786
05/18/2020, 7:26 PMwitty-crayon-22786
05/18/2020, 7:26 PMhappy-kitchen-89482
05/18/2020, 11:04 PMwitty-crayon-22786
05/18/2020, 11:31 PMhundreds-father-404
05/19/2020, 12:04 AM