-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2 to 3 #7
2 to 3 #7
Conversation
I had to vendor most of ipfs to get this to work. |
Please don't commit vi swap files. |
thats what i get for |
That's what you get for not having a good |
@whyrusleeping i think this needs to be redone after your PR to fix the import graph to not import all of ipfs. (adds tons of noise etc). |
a31ac35
to
c9fc8fd
Compare
@jbenet ready for some review here. I'll write a test for this when i get a little more time. I also will squash these commits down whenever you want, theres a lot of noise... |
the vendoring is making it really hard to review. not sure best way to do it |
yeah... this is pretty frustrating. |
dffcd37
to
fbb8daa
Compare
Comments above. Pinning migration looks ok to me. But we really, really need to test this one, maybe even with sharness, and ideally with a large repo with lots of data, some subet of pins (that has lots of recursive and direct pins, some that overlap, and certainly that dont fill the whole content). making sure this is correct is critical, as getting this wrong would lose user data!!! and mean disastercc @chriscool for sharnessifying help if we go that route |
@whyrusleeping thanks for separating out the vendor commit |
Yeah I can add sharness tests to this. I wonder if the tests should use docker and ipfs-update. |
@whyrusleeping do you have ideas about how it should be tested? |
i'm fine having this tested with or without docker, my main idea for testing this goes something like:
|
Ok thanks! I will take a look at that. You are ok with using ipfs-update? |
it may be nice to start with the very first version, and ratchet up all the way, and all the way back down. to ensure all the migrations continue working. :) basically: (first) for each repo version:
for each repo version transition (A->B), both going up and going down:
|
maybe we can start with all that for 2 version transitions:
|
Ok, so I can use ipfs-update, if it can install 0.3.10 and 0.4.0. But according to ipfs/ipfs-update#7 it cannot yet install 0.3.10. |
@jbenet this has been updated and is RFCR/Merge |
Yeah let's merge it so we can get it into folks' hands -- we can get more people testing dev040 if migration is easier |
Cool, lets merge it and get some feedback before we 'ship' it |
@chriscool let me know any progress you make towards testing here |
@whyrusleeping I'd like to finish testing ipfs-update first because I'd like to use it to test it this. So it could help if you could have a look at the failures in: ipfs/ipfs-update#12 |
2 to 3 ipfs fsrepo migration, mostly works. Probably could use a CR and some testing.