-
Notifications
You must be signed in to change notification settings - Fork 961
Error when importing project #636
Comments
When having a closer look at the API it looks like uploading a file from your local filesystem is indeed not supported by the current implementation. I think PR #621 was not been fully tested before it was created as the import file API requires the file to be uploaded using a multipart message which is currently not something that is supported by this package. |
Awesome, wasn't sure if I had been misusing the API there or not. I ended up just using the standard library there for a workaround |
@svanharmelen If I open a PR to fix this issue, will you do the review ? I have a semi working solution for me but I'd prefer to see that in the upstream lib instead of my hack. |
Of course! PR's are always welcome 👍🏻 |
Just wanted to check if there has been any progress on this, and to give my +1. I spent a day trying to figure out why my imports were failing. Maybe there should be a comment or something in the docs to indicate that this doesn't work in the meantime, since anyone reading the docs would assume it works as advertised. |
Put up a PR here: #1215 Did some quick and dirty testing, but I'll test it more thoroughly after the weekend. |
This issue should be solved by PR #1318 which fixes a couple of upload issues. |
Post https://gitlab.com/api/v4/projects/import: http: ContentLength=141 with Body length 0
I'm receiving the above error when trying to import a project to gitlab.com
This returns
<nil>
,<nil>
, and the above error. Any pointers?The text was updated successfully, but these errors were encountered: