migrate does not seem to have an effect

Bug #1922820 reported by Rolf Leggewie
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
git-annex (Ubuntu)
Fix Released
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...)

Tags: focal
Revision history for this message
Rolf Leggewie (r0lf) wrote :

I was now unable to verify the problem with the latest release provided by NeuroDebian. It looks like this was fixed upstream in the meantime.

Revision history for this message
Rolf Leggewie (r0lf) wrote :

no longer a problem at least in jammy

closing

Changed in git-annex (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.