PlanktoScope / forklift

Composable, reprovisionable, decentralized management of apps & configs on Raspberry Pis and other embedded Linux systems
Apache License 2.0
8 stars 0 forks source link

Fetch from all remotes as part of checking whether local pallet is backed up #306

Closed ethanjli closed 3 weeks ago

ethanjli commented 3 weeks ago

This PR fixes a bug in plt switch and plt upgrade where that command fails under the following conditions, even though it should succeed:

  1. The remote Git repo (e.g. on GitHub) has new commits.
  2. The plt switch or plt upgrade command is run when the local pallet has not yet fetched those new commits.

This bug is probably a regression introduced by #266.