-
-
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
Added Default logic to files
cmd
#2667
Conversation
There is an error in this PR: |
That doesn't look like it is my fault. |
@@ -417,11 +414,11 @@ Examples: | |||
res.SetError(err, cmds.ErrNormal) | |||
return | |||
} | |||
if found { |
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.
You removed this if
block without removing found
variable in line 412.
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.
Fixed.
97b49b9
to
91049ec
Compare
91049ec
to
f3bd304
Compare
Here are still commands that miss some of the help texts: |
f3bd304
to
4f23a42
Compare
I need some help with this; I am confused how you process this information. I open up Teamcity. I see a very long file. I see lots of yellow // orange text. Sometimes it is OK, but I don't know how I am supposed to know it is OK or not. I go to the bottom, and I see this:
I don't know what code 2 is, or why the recipe failed. I go to t0250-files-api.sh in my editor. I don't know what to look for, I don't see anything that looks like a doc fix. What am I missing? How do you know what to look for in these tests outputs? What do you search for? |
You go to the bottom and look for red text: http://ci.ipfs.team:8111/viewLog.html?buildId=1966&buildTypeId=GoIpfs_CiTests&tab=buildLog#_state=22239&focus=22240 |
@Kubuxu Yes; that's what I copied above. But that text isn't helpful for me, because I am missing some context (which is what I am trying to find out). I see that 0250 failed - but why? |
My link should go straight to a diff line: http://ci.ipfs.team:8111/viewLog.html?buildId=1966&buildTypeId=GoIpfs_CiTests&tab=buildLog&state=22239#_state=22239&focus=22237 0 bytes were expected, but command printed something, or in reverse. |
4f23a42
to
20492c6
Compare
20492c6
to
b9fdd89
Compare
Part of #2484 License: MIT Signed-off-by: Jakub Sztandera <[email protected]>
b9fdd89
to
791b2cc
Compare
For some reason this fails here: http://ci.ipfs.team:8111/viewLog.html?buildId=2050&buildTypeId=GoIpfs_CiTests&tab=buildLog#_focus=22315 but I am not able to reproduce it:
|
@RichardLitt unless you object strongly, i'm going to close this one its mostly adding |
@whyrusleeping There are a few things in this PR. Want me to split them out? |
@RichardLitt yeah, that would be great |
Can I ask why that decision was made? I'm a first-time user of the IPFS daemon and having some flags explain the default value, and some not, is confusing to me. |
@asymmetric the default value of any boolean option is false unless otherwise noted. |
OK, but then shouldn't it be so consistently? As you can see below, some options (e.g. IPFS version 0.4.10.
|
@asymmetric Yeah, it should be consistent. Anywhere that says "default false" should get fixed |
Part of #2484
License: MIT
Signed-off-by: Richard Littauer [email protected]