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

Gateway composite file add #1845

Closed
wants to merge 7 commits into from
Closed

Conversation

rht
Copy link
Contributor

@rht rht commented Oct 15, 2015

@whyrusleeping
Copy link
Member

hmm... two panics in the failed test, neither appear to be related to this PR. but the second one seems like an actual problem.

@rht
Copy link
Contributor Author

rht commented Oct 16, 2015

@cryptix this should have been in putHandler?

@rht rht force-pushed the gateway-multipart-add branch 2 times, most recently from 382381d to 82c0bf0 Compare October 16, 2015 12:14
@rht
Copy link
Contributor Author

rht commented Oct 16, 2015

@whyrusleeping panic test (the stalled build one) once again.

@cryptix
Copy link
Contributor

cryptix commented Oct 16, 2015

The original put handler took json similar too "ipfs object put"

@rht rht force-pushed the gateway-multipart-add branch from 82c0bf0 to 749a29e Compare October 16, 2015 12:42
@cryptix cryptix mentioned this pull request Oct 23, 2015
@whyrusleeping whyrusleeping force-pushed the dev0.4.0 branch 3 times, most recently from 764bef9 to 1bbc472 Compare November 11, 2015 18:04
@rht rht force-pushed the gateway-multipart-add branch 2 times, most recently from 2c629a3 to 950b41a Compare November 13, 2015 08:42
@ghost ghost added the topic/gateway Topic gateway label Dec 22, 2015
@whyrusleeping whyrusleeping force-pushed the dev0.4.0 branch 2 times, most recently from 68b9745 to b0a8591 Compare December 28, 2015 14:36
@prusnak
Copy link
Contributor

prusnak commented Jan 10, 2016

What is the state of this?

@rht
Copy link
Contributor Author

rht commented Jan 15, 2016

this needs test

@prusnak
Copy link
Contributor

prusnak commented Jan 15, 2016

What do you mean by test? Should I grab your branch and test if it works? Or should we rebase on top of ipfs:dev0.4.0 and test this?

@rht
Copy link
Contributor Author

rht commented Jan 15, 2016

Test as in sharness test to make sure the POST multipart work. Currently making it.

The current master is already 0.4.0.

@prusnak
Copy link
Contributor

prusnak commented Jan 15, 2016

Cool! Let me know if I can help somehow. Would love to see this feature
merged in soon.

Best Regards / S pozdravom,

Pavol Rusnak [email protected]

On Fri, Jan 15, 2016, at 03:17 PM, rht wrote:

Test as in sharness test to make sure the POST multipart work. Currently making it.

The current master is already 0.4.0.


Reply to this email directly or view it on GitHub[1].

Links:

  1. Gateway composite file add #1845 (comment)

@rht rht force-pushed the gateway-multipart-add branch from 950b41a to 39a38ac Compare January 15, 2016 14:33
@GitCop
Copy link

GitCop commented Jan 15, 2016

There were the following issues with your Pull Request

  • Commit: c242660
    • Invalid signoff. Commit message must end with
      License: MIT
      Signed-off-by: .* <.*>
  • Commit: 38a600b
    • Invalid signoff. Commit message must end with
      License: MIT
      Signed-off-by: .* <.*>

We ask for a few features in the commit message for Open Source licensing hygiene and commit message clarity.
git commit --amend can often help you quickly improve the commit message.
Guidelines and a script are available to help in the long run.
Your feedback on GitCop is welcome on this issue.


This message was auto-generated by https://gitcop.com

@rht
Copy link
Contributor Author

rht commented Jan 15, 2016

@prusnak figuring out how to use curl POST that is also specified in rfc1867 and updating the api documentation in https://github.com/ipfs/js-ipfs-api/blob/master/README.md (this has the multipart/form-data example, but only for a single file).

I have fixed the merge conflicts in #2205.

@rht rht closed this Jan 15, 2016
@rht
Copy link
Contributor Author

rht commented Jan 15, 2016

I'm using this for multiple files POST: https://github.com/ipfs/go-ipfs/pull/2205/files#diff-cbe32203deec9b995950e3110e5db668R69. But there should be a tool that auto-convert file arguments / directory into a multipart form for curl?

@prusnak
Copy link
Contributor

prusnak commented Jan 15, 2016

Does master already support single file upload using curl -X POST --data-binary @infile "$URL"?

@rht
Copy link
Contributor Author

rht commented Jan 15, 2016

@prusnak
Copy link
Contributor

prusnak commented Jan 15, 2016

Great, I just tested it at it works. Wohooo!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/in-progress In progress topic/gateway Topic gateway
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants