fs-repo-migrations icon indicating copy to clipboard operation
fs-repo-migrations copied to clipboard

Cannot use "go install" for latest release of fs-repo-migrations binary

Open aschmahmann opened this issue 3 years ago • 3 comments

As a result of the move to submodules go install github.com/ipfs/fs-repo-migrations will target v1.7.1 since it was the last binary version to be present in that module. The fs-repo-migrations binary is now in a fs-repo-migrations subfolder+module. This means it needs to be installed as go install github.com/ipfs/fs-repo-migrations/fs-repo-migrations.

Unfortunately, there's not currently a tag for fs-repo-migrations/v2.0.2 so it will just pull the latest commit.

We should either:

  1. Move fs-repo-migrations back to the root module and retag the root (e.g. v2.0.3)
  2. Tag fs-repo-migrations/v2.0.3

Whichever we do should be documented in the README

aschmahmann avatar Jan 10 '22 15:01 aschmahmann

@aschmahmann : is there a preferred approach or are both equal? Any concern with giving this to @schomatis ?

BigLep avatar Mar 10 '22 07:03 BigLep

Speaking strictly for myself, I'd prefer a new tag, but I'm also fine with a comment in the README telling the user to run go install github.com/ipfs/fs-repo-migrations/fs-repo-migrations instead. So long as one doesn't need to wade eternally through the issues to figure out how to do it... 😸

GwynethLlewelyn avatar Aug 03 '22 09:08 GwynethLlewelyn

Need to run "go install github.com/ipfs/fs-repo-migrations/fs-repo-migrations@latest".

lanceseidman avatar Nov 09 '22 18:11 lanceseidman