denshoproject / ddr-cmdln

Command-line tools for automating the Densho Digital Repository's various processes.
Other
0 stars 2 forks source link

Set annex_autoupgraderepository to False #173

Open gjost opened 4 years ago

gjost commented 4 years ago

git-annex 7.20190912 introduces a new repository version 7. According to the version announcement, existing v5 repositories will be automatically upgraded by default. This can be prevented by running: git config annex.autoupgraderepository false.

In instances like ONE where collection repos live on the machine itself and are never accessed by other machines (the normal use-case for Git/git-annex) this is not a problem. However in the HQ where multiple machines are working on repositories in a central file store there could be problems if some machines are upgraded but others are not.

Proposal: Add a [cmdln] annex_autoupgraderepo config flag set to False and run the config setting when doing other annex repo operations (setting description, etc).