github.com/ipfs/fs-repo-migrations


Properties

Last built 3 weeks ago using go version go1.7.5 linux/amd64 and 73 seconds of time

Downloads
Filename
File Size
 
fs-repo-migrations_master_darwin-386.zip
2.0MiB
fs-repo-migrations_master_darwin-amd64.zip
2.1MiB
fs-repo-migrations_master_linux-386.zip
2.0MiB
fs-repo-migrations_master_linux-amd64.zip
2.1MiB
fs-repo-migrations_master_linux-arm.zip
1.9MiB
fs-repo-migrations_master_windows-386.zip
1.9MiB
fs-repo-migrations_master_windows-amd64.zip
2.1MiB
Project-Readme for this version

fs-repo-migrations

standard-readme compliant

Migrations for the filesystem repository of ipfs clients

These are migrations for the filesystem repository of ipfs clients. This tool is written in Go, and developed alongside go-ipfs, but it should work with any repo conforming to the fs-repo specs.

Table of Contents

Install

make install

Usage

When should I migrate

When you want to upgrade go-ipfs to a new version, you may need to migrate.

Here is the table showing which repo version corresponds to which go-ipfs version:

ipfs repo version go-ipfs versions
1 0.0.0 - 0.2.3
2 0.3.0 - 0.3.11
3 0.4.0 - 0.4.2
4 0.4.3 - 0.4.5
5 0.4.6 - current

How to Run Migrations

Please see the migration run guide here.

Developing Migrations

Migrations are one of those things that can be extremely painful on users. At the end of the day, we want users never to have to think about it. The process should be:

  • SAFE. No data lost. Ever.
  • Revertible. Tools must implement forward and backward migrations.
  • Frozen. After the tool is written, all code must be frozen and vendored.
  • To Spec. The tools must conform to the spec.

Contribute

Feel free to join in. All welcome. Open an issue!

This repository falls under the IPFS Code of Conduct.

Want to hack on IPFS?

License

MIT