{"action":"created","issue":{"url":"https://api.github.com/repos/ipfs/fs-repo-migrations/issues/41","repository_url":"https://api.github.com/repos/ipfs/fs-repo-migrations","labels_url":"https://api.github.com/repos/ipfs/fs-repo-migrations/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/ipfs/fs-repo-migrations/issues/41/comments","events_url":"https://api.github.com/repos/ipfs/fs-repo-migrations/issues/41/events","html_url":"https://github.com/ipfs/fs-repo-migrations/issues/41","id":163508955,"number":41,"title":"Trying out the repo migrations from 3 to 4","user":{"login":"diasdavid","id":1211152,"avatar_url":"https://avatars.githubusercontent.com/u/1211152?v=3","gravatar_id":"","url":"https://api.github.com/users/diasdavid","html_url":"https://github.com/diasdavid","followers_url":"https://api.github.com/users/diasdavid/followers","following_url":"https://api.github.com/users/diasdavid/following{/other_user}","gists_url":"https://api.github.com/users/diasdavid/gists{/gist_id}","starred_url":"https://api.github.com/users/diasdavid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diasdavid/subscriptions","organizations_url":"https://api.github.com/users/diasdavid/orgs","repos_url":"https://api.github.com/users/diasdavid/repos","events_url":"https://api.github.com/users/diasdavid/events{/privacy}","received_events_url":"https://api.github.com/users/diasdavid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-02T08:41:54Z","updated_at":"2016-07-03T04:40:53Z","closed_at":null,"body":"I've managed to successfully migrate my repo_v3 to a repo_v4, but I was unable to revert it back. It seems that there is no way to revert at the high level tool\r\n\r\n```\r\n» fs-repo-migrations -h\r\nUsage of fs-repo-migrations:\r\n  -to int\r\n        specify version to upgrade to (default 4)\r\n  -v    print highest repo version and exit\r\n  -y    answer yes to all prompts\r\n```\r\n\r\nAnd using the dedicated binary doesn't work\r\n\r\n```\r\n ⭠ master± ⮀ ~/code/go-projects/src/github.com/ipfs/fs-repo-migrations/ipfs-3-to-4 ⮀\r\n» ./ipfs-3-to-4 --revert\r\nUsage of ./ipfs-3-to-4:\r\n  -f    whether to force a migration (ignores warnings)\r\n  -path string\r\n        file path to migrate for fs based migrations\r\n  -revert\r\n        whether to apply the migration backwards\r\n  -verbose\r\n        enable verbose logging\r\n ⭠ master± ⮀ ~/code/go-projects/src/github.com/ipfs/fs-repo-migrations/ipfs-3-to-4 ⮀\r\n» ./ipfs-3-to-4 -revert\r\nUsage of ./ipfs-3-to-4:\r\n  -f    whether to force a migration (ignores warnings)\r\n  -path string\r\n        file path to migrate for fs based migrations\r\n  -revert\r\n        whether to apply the migration backwards\r\n  -verbose\r\n        enable verbose logging\r\n```\r\n\r\nI've also found it to be weird to have full word flags behind a `-` and not two, like `--verbose` instead of `-verbose`.\r\n\r\nAs a go-ipfs user, I was expecting for the installation process to be a bit more verbose or even use gx, currently all that is printed is:\r\n\r\n```\r\n» make install\r\ngo install\r\n```\r\n\r\nIt would be useful to have a message saying that it was installed and that users can type fs-repo-migrations on their terminal."},"comment":{"url":"https://api.github.com/repos/ipfs/fs-repo-migrations/issues/comments/230135147","html_url":"https://github.com/ipfs/fs-repo-migrations/issues/41#issuecomment-230135147","issue_url":"https://api.github.com/repos/ipfs/fs-repo-migrations/issues/41","id":230135147,"user":{"login":"whyrusleeping","id":1243164,"avatar_url":"https://avatars.githubusercontent.com/u/1243164?v=3","gravatar_id":"","url":"https://api.github.com/users/whyrusleeping","html_url":"https://github.com/whyrusleeping","followers_url":"https://api.github.com/users/whyrusleeping/followers","following_url":"https://api.github.com/users/whyrusleeping/following{/other_user}","gists_url":"https://api.github.com/users/whyrusleeping/gists{/gist_id}","starred_url":"https://api.github.com/users/whyrusleeping/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whyrusleeping/subscriptions","organizations_url":"https://api.github.com/users/whyrusleeping/orgs","repos_url":"https://api.github.com/users/whyrusleeping/repos","events_url":"https://api.github.com/users/whyrusleeping/events{/privacy}","received_events_url":"https://api.github.com/users/whyrusleeping/received_events","type":"User","site_admin":false},"created_at":"2016-07-03T04:40:53Z","updated_at":"2016-07-03T04:40:53Z","body":"@diasdavid I updated the `ipfs-3-to-4` tool to say that the `path` flag is required. I also added a note to the makefile as you said.\r\n\r\nThanks for the feedback :)"}}
{"actor":{"display_login":"whyrusleeping"}}