----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/26825/ -----------------------------------------------------------
Review request for mesos, Adam B and Vinod Kone. Bugs: MESOS-1712 and MESOS-1932 https://issues.apache.org/jira/browse/MESOS-1712 https://issues.apache.org/jira/browse/MESOS-1932 Repository: mesos-git Description ------- Adds a new script mesos_split.py which is run as a git precommit hook. It will error if a commit is made which spans across multiple of the mesos projects (mesos, stout, libprocess) Sample output: ``` ERROR: Commit spanning multiple projects Mesos rules state that a commit should only touch one mesos project (stout, libprocess, mesos). Paths grouped by project: mesos: baz libprocess: 3rdparty/libprocess/asdf stout: 3rdparty/libprocess/3rdparty/stout/foobar ``` Diffs ----- support/hooks/pre-commit f6910f852a51d64a3441f9c23e70cafc6f7de741 support/mesos_split.py PRE-CREATION Diff: https://reviews.apache.org/r/26825/diff/ Testing ------- Git added files in various groupings of the subprojects. Tried committing, resulting in the sample error message above. Thanks, Cody Maloney