-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
[release-0.4] Pkg.publish() failing #15381
Comments
I got the same thing a week ago.
|
@toivoh did you resolve it? (How?) |
Given the error message is not |
Sorry - yes - this is 0.4:
|
https or git protocol? |
@tkelman - how do I tell? |
I resolved it by manually creating a pull request based on the changes in
the METADATA repo. So, not the ideal solution.
|
Since the error was "strangely formatted HTTP response," this might be due to something changing on github's API. Worth trying to reconstruct the same curl command that |
@tkelman can you post the command? I'm happy to try it. |
Probably something like |
Output: https://gist.github.com/sbromberger/6c2c83f185e972f9c48d Looks like JSON. |
It is JSON - it then runs through Lines 40 to 53 in 147d6d0
|
I think it was some kind of problem with the response. Most likely it was empty. @sbromberger Do you still have this problem? So far following GitHub repo fork code works without problem, and creates fork for me. PkgDev.GitHub.POST("repos/JuliaLang/Example.jl/forks") |
huh? return from inside a do block should work fine? if not that seems like a bigger bug |
Fix bug in github CURL function #15381
Oh I think I see what you mean, the return is from the anonymous function inside the do block. Wish you had figured that out before I tagged 0.4.4. And that we had some automated tests of publish, register, etc. |
Sorry my first comment could have been clearer. But yes, that's what I was getting at. I agree, hopefully the new PkgDev will end up with more unit tests etc. |
The text was updated successfully, but these errors were encountered: