Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ipfs repo version command #2571

Closed
jbenet opened this issue Apr 15, 2016 · 2 comments
Closed

ipfs repo version command #2571

jbenet opened this issue Apr 15, 2016 · 2 comments
Labels
exp/novice Someone with a little familiarity can pick up help wanted Seeking public contribution on this issue status/in-progress In progress topic/commands Topic commands

Comments

@jbenet
Copy link
Member

jbenet commented Apr 15, 2016

It would be really useful to have this work:

> cat ~/.ipfs/version
3
> ipfs repo version
ipfs repo version fs-repo@3
> ipfs repo version -q
fs-repo@3

because that way tools and applications can easily check the version of repos without making nasty assumptions.


may also be relevant to include this in the ipfs repo stat output:

> ipfs repo stat
NumObjects   288
RepoSize     6
RepoPath     /Users/jbenet/.ipfs
Version      fs-repo@3
@jbenet jbenet added help wanted Seeking public contribution on this issue topic/commands Topic commands exp/novice Someone with a little familiarity can pick up labels Apr 15, 2016
@whyrusleeping
Copy link
Member

ipfs version --repo accomplishes this. Although we could add an alias to this under the repo subcommand as you propose.

@RichardLitt
Copy link
Member

Agreed adding it to stat would be good, and an alias.

pfista added a commit to pfista/go-ipfs that referenced this issue Apr 21, 2016
addresses ipfs#2571

License: MIT
Signed-off-by: Mike Pfister <pfista@gmail.com>
pfista added a commit to pfista/go-ipfs that referenced this issue Apr 21, 2016
addresses ipfs#2571

License: MIT
Signed-off-by: Mike Pfister <pfista@gmail.com>
pfista added a commit to pfista/go-ipfs that referenced this issue Apr 21, 2016
Fixes ipfs#2571

License: MIT
Signed-off-by: Mike Pfister <pfista@gmail.com>
@Kubuxu Kubuxu added status/in-progress In progress and removed help wanted Seeking public contribution on this issue labels May 25, 2016
@RichardLitt RichardLitt added help wanted Seeking public contribution on this issue and removed help wanted Seeking public contribution on this issue labels May 31, 2016
pfista added a commit to pfista/go-ipfs that referenced this issue Jun 3, 2016
addresses ipfs#2571

License: MIT
Signed-off-by: Mike Pfister <pfista@gmail.com>
pfista added a commit to pfista/go-ipfs that referenced this issue Jun 3, 2016
Fixes ipfs#2571

License: MIT
Signed-off-by: Mike Pfister <pfista@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exp/novice Someone with a little familiarity can pick up help wanted Seeking public contribution on this issue status/in-progress In progress topic/commands Topic commands
Projects
None yet
Development

No branches or pull requests

4 participants