3 ms·
> You could require a developer who updates the file at /path/to/department/a/src/foo.java to simultaneously include a patch to /path/to/department/b/src/bar.ja
by codethief 2y ago
> You could require a developer who updates the file at /path/to/department/a/src/foo.java to simultaneously include a patch to /path/to/department/b/src/bar.java.
Could you elaborate on how this worked exactly?
- teaearlgraycold 2y agoThere's a configuration directive you put in a plain text file in the monorepo which lets you configure: * File A's path * File B's path * The message shown on the commit's review page if B isn't updated when A is updated * How a developer can override the alert (Which would be a custom named directive added to a commit message, like "SKIP_FILE_SYNC_ALERT=true") You then need to either commit a diff to file B when file A is changed or override it in order to get the commit added to HEAD. This is just one of many different "plugins" for the CI system that can be configured with code.
- codethief 2y agoThanks!