migrate does not seem to have an effect

Bug #1922820 reported by Rolf Leggewie on 2021-04-07
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
git-annex (Ubuntu)
Undecided
Unassigned

Bug Description

I noticed the following strange behavior in focal. First, fsck complains about old key format versions even on a freshly created repository. Secondly, the suggested fix does not work.

$ git annex fsck Fake\ LM2596HV\ Voltage\ Regulator\ Buck\ Converter\ Modules\ bought\ on\ eBay-JLwJb4MVbls.mp4
fsck Fake LM2596HV Voltage Regulator Buck Converter Modules bought on eBay-JLwJb4MVbls.mp4 (checksum...)
  Fake LM2596HV Voltage Regulator Buck Converter Modules bought on eBay-JLwJb4MVbls.mp4: Can be upgraded to an improved key format. You can do so by running: git annex migrate --backend=SHA256E Fake LM2596HV Voltage Regulator Buck Converter Modules bought on eBay-JLwJb4MVbls.m
p4
ok
(recording state in git...)

$ git annex migrate --backend=SHA256E Fake\ LM2596HV\ Voltage\ Regulator\ Buck\ Converter\ Modules\ bought\ on\ eBay-JLwJb4MVbls.mp4
migrate Fake LM2596HV Voltage Regulator Buck Converter Modules bought on eBay-JLwJb4MVbls.mp4 (checksum...) ok
(recording state in git...)

$ nice git annex fsck Fake\ LM2596HV\ Voltage\ Regulator\ Buck\ Converter\ Modules\ bought\ on\ eBay-JLwJb4MVbls.mp4
fsck Fake LM2596HV Voltage Regulator Buck Converter Modules bought on eBay-JLwJb4MVbls.mp4 (checksum...)
  Fake LM2596HV Voltage Regulator Buck Converter Modules bought on eBay-JLwJb4MVbls.mp4: Can be upgraded to an improved key format. You can do so by running: git annex migrate --backend=SHA256E Fake LM2596HV Voltage Regulator Buck Converter Modules bought on eBay-JLwJb4MVbls.m
p4
ok
(recording state in git...)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers