ibzib commented on pull request #13688:
URL: https://github.com/apache/beam/pull/13688#issuecomment-765627816


   > Basically, I'm proposing a split into 4 PRs. If you would prefer a 
different split, please mark the sheet accordingly.
   
   @shehzaadn-vd How about this:
   
   - There are a number of files where the only change is setting 
`enableStrictDependencies: true`, or others where the only changes are setting 
`enableStrictDependencies: true` and removing `hamcrest_core` and 
`hamcrest_library`. These are fine to bundle in a single PR because they are 
trivial to review (I would LGTM immediately).
   - Any files with larger diffs than that should go in their own PR, with the 
exception of the following groups, which can get one PR each: amazon, hadoop, 
and snowflake.
   
   Another thought: it's also fine to set `enableStrictDependencies` on a file 
and just `permit` every existing violation. From the description in the JIRA, 
it seems the original intent was to first set `enableStrictDependencies` 
globally and ignore all the existing violations, and second to gradually fix 
all the existing violations. Step 1 is way easier than step 2 and has the 
benefit of preventing future violations. Separating the two steps also has the 
benefit that the `permit` clauses inserted in step 1 make reviewing step 2 a 
lot easier. It seems we've skipped to step 2 here. Just something to keep in 
mind in case step 2 is too difficult for some modules. cc @tysonjh 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to