You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> Migrations for the filesystem repository of ipfs clients
9
+
3
10
These are migrations for the filesystem repository of [ipfs](https://github.com/ipfs/ipfs) clients. This tool is written in Go, and developed alongside [go-ipfs](https://github.com/ipfs/go-ipfs), but it should work with any repo conforming to the [fs-repo specs](https://github.com/ipfs/specs/tree/master/repo/fs-repo).
4
11
5
-
## When should I migrate
12
+
## Table of Contents
13
+
14
+
-[Install](#install)
15
+
-[Usage](#usage)
16
+
-[When should I migrate](#when-should-i-migrate)
17
+
-[How to Run Migrations](#how-to-run-migrations)
18
+
-[Developing Migrations](#developing-migrations)
19
+
-[Contribute](#contribute)
20
+
-[Want to hack on IPFS?](#want-to-hack-on-ipfs)
21
+
-[License](#license)
22
+
23
+
## Install
24
+
25
+
```sh
26
+
make install
27
+
```
28
+
29
+
## Usage
30
+
31
+
### When should I migrate
6
32
7
33
When you want to upgrade go-ipfs to a new version, you may need to
8
34
migrate.
@@ -16,15 +42,29 @@ ipfs repo version | go-ipfs versions
16
42
2 | 0.3.0 - 0.3.11
17
43
3 | 0.4.0 - current
18
44
19
-
## How to Run Migrations
45
+
###How to Run Migrations
20
46
21
47
Please see the [migration run guide here](run.md).
22
48
23
-
## Developing Migrations
49
+
###Developing Migrations
24
50
25
51
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:
26
52
27
53
- SAFE. No data lost. Ever.
28
54
- Revertible. Tools must implement forward and backward migrations.
29
55
- Frozen. After the tool is written, all code must be frozen and vendored.
30
56
- To Spec. The tools must conform to the spec.
57
+
58
+
## Contribute
59
+
60
+
Feel free to join in. All welcome. Open an [issue](https://github.com/ipfs/fs-repo-migrations/issues)!
61
+
62
+
This repository falls under the IPFS [Code of Conduct](https://github.com/ipfs/community/blob/master/code-of-conduct.md).
0 commit comments