Adamm00 / amcfwm

AsusWRT-Merlin - Custom Firmware Manager
37 stars 22 forks source link

Base amng repo dir is never updated #14

Closed dave14305 closed 1 year ago

dave14305 commented 1 year ago

Only the individual model trees get updated during clean_tree() after being rsynced from the amng 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 probably git pull inside $HOME/amng before running clean_tree(). Unless there’s a use for keeping it static.

Adamm00 commented 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).

dave14305 commented 1 year ago

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:

Adamm00 commented 1 year ago

I 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.