-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Move api version check to header #2037
Conversation
} | ||
|
||
return nil, cmds.ClientError(e) | ||
return nil, nil |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- why is this no longer an error?
and why nil, instead ofnevermindfunc () {}
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- api file exists does not necessarily imply daemon exists, e.g. the case when the daemon gets killed.
- because https://github.com/ipfs/go-ipfs/blob/83246d3e2d00e7a30ea7d606df9830198f864c4a/cmd/ipfs/main.go#L324 only checks for nil.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok sounds good
tenatively calling this one part of 0.3.10. @rht do you think we can get this in by thursday? |
@whyrusleeping if 0.3.10 is very close, we can ship it and do a 0.3.11 for the rest of these things before 0.4.0 |
right, very close is feeling like thursday to me, based on past experience. |
and i'm gonna nix any 0.3.11, 0.3.10, then 0.4.0. everything else can be rebased. |
99b9324
to
1d20f24
Compare
Sorry, @whyrusleeping just rebased. |
License: MIT Signed-off-by: rht <rhtbot@gmail.com>
License: MIT Signed-off-by: rht <rhtbot@gmail.com>
1d20f24
to
aabf807
Compare
alright, this has been around long enough. merging |
Move api version check to header
#2003 but on master.
closes #1990, #2003
Addresses #2003 (comment) by checking if the repo is process-locked.