Provide migration hint when running CLI (not-daemon) commands
- Dominant language
- Go
- Stars
- 17.1k
- Forks
- 3.2k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 11
Description
If I'm running a standalone command without the daemon and my repo needs a migration I don't get any hints about what to do (or how to do it), only when running the daemon I get an easy solution.
```
ipfs repo verify
# Error: ipfs repo needs migration
ipfs daemon
# Initializing daemon...
# Successfully raised file descriptor limit to 2048.
# Found outdated fs-repo, migrations need to be run.
# Run migrations now? [y/N]
```
Contributor guide
Research direction
Start by reproducing the standalone `ipfs repo verify` output with a repository that needs migration, then compare it with the `ipfs daemon` migration prompt shown in the issue. Done means non-daemon commands provide a clear migration hint and explain how to perform the migration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100