-
-
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
ipfs add --help is broken #373
Comments
By the way, it would be nice if we had some automated tests that check that all the commits in a PR pass the tests, before merging the PR. It can be easily tested using: I know it would take some time and computing resources (see issue #283), but we would avoid problems like this. |
Hmm @mappum can you take a look at this? Looks like its coming from incorrect arg parsing.
Yes, I entirely agree. I recently had fun with a similar situation -- i ended up rebasing just to fix the compile errors before I could find the bug. I'd like to transition towards make sure all commits compile + pass tests. Thoughts @whyrusleeping @maybebtc ? |
I'll also make sure to note this in the contributing doc. |
It's a perfectly reasonable proposal. All it requires is a little extra caution when making commits and/or rebasing to change history. I can make sure my contribs conform. |
I rebased to fix the compile errors and it looks like the first bad commit is: ae33905 commands: Added global -r/--recursive flag It contains the following:
|
Check out the fix: #378 |
Yeah, your fix works for me! Thanks! |
#378 should have fixed this issue. pls reopen if not. thanks to @chriscool + @dborzov ! |
Right now on master () I get:
It is not so easy to find where this problem appeared because ipfs2 became ipfs, but I think that the problem comes from the merge of PR #357.
It doesn't work with ipfs2 at:
105f232 (HEAD) Merge pull request #357 from jbenet/multifile
It used to work with ipfs2 at:
1c36d52 Merge pull request #359 from jbenet/feat/swarm-cmd
I tried to bisect between the above two commits but I get too many compilation errors on Linux.
I had to use
git bisect skip
a lot to try to overcome that, but in the end I get:The text was updated successfully, but these errors were encountered: