openlawlibrary / taf

The Archive Framework
GNU Affero General Public License v3.0
10 stars 7 forks source link

Check if repositories are clean before running the updater #416

Closed renatav closed 2 months ago

renatav commented 2 months ago

Description (e.g. "Related to ...", etc.)

The idea is for the update process to fail early if the auth repo or one of the existing target repositories is not clean (index is dirty or if there are unpushed commits). After updating the authentication repository, we can check other branches.

Closes #390

Code review checklist (for code reviewer to complete)