I realised a 'make' process might suit this codebase well; where make (or more likely a newer build tool) could be used to determine what steps to take to provide the report and/or data we want to generate.
We'd need to find ways to provide make with the information it'd use to determine whether to perform particular steps. And we'd probably also end up making our code much more modular.
I'll add various notes to this ticket then we can decide if it'd be worth performing the restructure. No code needed at this stage!
Sources of ideas
HTTP HEAD request to determine whether a repo has been updated since last cloned; (or would we simply do the equivalent of a git pull and then check whether the commit hash has changed?).
What would suitable build targets be? and would we want options e.g. to use what is vs to retrieve updates to the repos?
Context
I realised a 'make' process might suit this codebase well; where make (or more likely a newer build tool) could be used to determine what steps to take to provide the report and/or data we want to generate.
We'd need to find ways to provide make with the information it'd use to determine whether to perform particular steps. And we'd probably also end up making our code much more modular.
I'll add various notes to this ticket then we can decide if it'd be worth performing the restructure. No code needed at this stage!
Sources of ideas
git pull
and then check whether the commit hash has changed?).