Re:Ask HN: What is the best code base you ever worked on?
by teaearlgraycold on Friday June 28, 2024 @09:19PM
(#40827125)
There'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.
Could you elaborate on how this worked exactly?