saltyorg / Saltbox

Ansible-based solution for rapidly deploying a Docker containerized cloud media server.
https://docs.saltbox.dev
GNU General Public License v3.0
573 stars 65 forks source link

Autorecover from errant git commands #32

Closed chazlarson closed 2 years ago

chazlarson commented 2 years ago

Users may be accustomed to using native git commands to update repos.

A change point from Cloudbox is that Saltbox no longer runs a settings update with every tag run; the problem with this was seen in the discord when someone ran a manual git pull and the settings file wasn't updated, which caused an install to fail when the new setting wasn't found.

The preferred sb update command wouldn't fix it at that point, since it wouldn't see any changes that required action.

It would be friendly to auto-recover from this situation. There were some options discussed in the Discord. One of them is on the task/update-settings-on-manual-pull branch.

saltydk commented 2 years ago

sb update now always triggers settings when run and suggested branch was merged.