Skip to content

Commit

Permalink
kubo-migrator: add migration from 12 to 13
Browse files Browse the repository at this point in the history
https://github.com/ipfs/fs-repo-migrations/releases/tag/fs-repo-12-to-13%2Fv1.0.0
This will be used to upgrade the Kubo repo when updating to Kubo 0.18.
  • Loading branch information
Luflosi committed Feb 22, 2023
1 parent 540fb7a commit 9c87860
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ let
};

# Concatenation of the latest repo version and the version of that migration
version = "12.1.0.2";
version = "13.1.0.0";

fs-repo-12-to-13 = fs-repo-common "fs-repo-12-to-13" "1.0.0";
fs-repo-11-to-12 = fs-repo-common "fs-repo-11-to-12" "1.0.2";
fs-repo-10-to-11 = fs-repo-common "fs-repo-10-to-11" "1.0.1";
fs-repo-9-to-10 = fs-repo-common "fs-repo-9-to-10" "1.0.1";
Expand All @@ -52,6 +53,7 @@ let
fs-repo-0-to-1 = fs-repo-common "fs-repo-0-to-1" "1.0.1";

all-migrations = [
fs-repo-12-to-13
fs-repo-11-to-12
fs-repo-10-to-11
fs-repo-9-to-10
Expand Down
6 changes: 3 additions & 3 deletions pkgs/applications/networking/kubo-migrator/unwrapped.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ buildGoModule rec {
# The fs-repo-migrations code itself is the same between
# the two versions but the migration code, which is built
# into separate binaries, is not.
rev = "fs-repo-11-to-12/v1.0.2";
sha256 = "sha256-CG4utwH+/+Igw+SP3imhl39wijlB53UGtkJG5Mwh+Ik=";
rev = "fs-repo-12-to-13/v1.0.0";
hash = "sha256-QQone7E2Be+jVfnrwqQ1Ny4jo6mSDHhaY3ErkNdn2f8=";
};

sourceRoot = "source/fs-repo-migrations";

vendorSha256 = "sha256-/DqkBBtR/nU8gk3TFqNKY5zQU6BFMc3N8Ti+38mi/jk=";
vendorHash = "sha256-/DqkBBtR/nU8gk3TFqNKY5zQU6BFMc3N8Ti+38mi/jk=";

doCheck = false;

Expand Down

0 comments on commit 9c87860

Please sign in to comment.