Closed dave14305 closed 1 year ago
No particular reason for this. I was just copying the original implementation at the time (or perhaps I made an error, who knows).
I think Merlin’s use is fine when his base repo is actively committed to. For amcfwm, it probably needs to be updated before syncing.
Other ideas/to-dos:
rsync tree
breaks building because model directories don’t get created--depth 1
for initial git clones to reduce time/sizeI don't know if the current package list creates a working Ubuntu 20.04 build either. Will run some test builds now
A failed build won’t rerun without deleting the .git file, since the git hash hasn’t changed
This was an intended feature (and can be disabled via force build setting), this is to prevent a build server like mine from repeatedly compiling when there is an issue with the repo.
Only the individual model trees get updated during
clean_tree()
after being rsynced from theamng
directory.amng
and remote origin will diverge as time goes on.clean_tree()
will revert to that point in time, then checkout and pull again in each model directory.The
build
command should probablygit pull
inside$HOME/amng
before runningclean_tree()
. Unless there’s a use for keeping it static.