I have several (SQL) scripts. Most of them have some requirements: other scripts that must be executed earlier.
You can represent the combined dependency trees as a directed graph. I would like to be able to "invalidate" a certain node in the graph, which will lead to the creation of a composite script that contains everything (in the correct order) that must be re-run in order to reach the ready state.
I'm thinking of something like a Debian startup process ... with a twist.
Edit: If someone needs an explicit question starting with W and ending with a question mark, the closest I can give is: How can I achieve the behavior described above.
Edit2: The ideal solution is that it scans files that match the template and reads information about the dependence on the first (comment) line.
source
share