summaryrefslogtreecommitdiff
path: root/config/dependencies/trisquel
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-06-29 23:13:55 +0100
committerLeah Rowe <leah@libreboot.org>2024-06-30 00:02:03 +0100
commita5e724e51ea8e40da72493cec36506527123e842 (patch)
tree56042a83464832a14a9c6635cd9d6cc0f1294b40 /config/dependencies/trisquel
parentcfc9f62ffee12c4f4cd9791799f6eac8608a9b76 (diff)
trees: unified multi-tree configuration handling
the same function that loads configurations for single-tree projects has been merged with the function for multi-tree configs in git.sh, and that functionality has been removed from git.sh; now it is all unified in the trees script. as the saying goes: write one program to do one thing well. the purpose of git.sh is to download source code, but not to handle configuration files; the latter is meant to be handled by the trees script, which then calls into git.sh before running the build logic for that given project. additionally: the "seen" files are no longer handled, at all. the logic there was added ages ago, because at the time, i was considering whether to separate configuration into a new repository, so that users could more easily make their own configuration, so it was a guard against misconfiguration. however, that decision was canceled and we're always very careful not to introduce a loop; if a loop does occur, the worst that can possibly happen is you waste some CPU cycles. Instead, print (on standard output) what config file is being used, so the operator can see when an infinite loop occurs. ALSO: remove _setcfgarg in load_project_config() it was used to skip when a target.cfg file didn't exist, specifically on single-tree projects, but this is now handled using -f instead, on the while loop inside that function, so _setcfgarg is now a redundant variable. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'config/dependencies/trisquel')
0 files changed, 0 insertions, 0 deletions