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

Failed to post file info #10

Open
pangratz opened this issue Apr 3, 2012 · 3 comments
Open

Failed to post file info #10

pangratz opened this issue Apr 3, 2012 · 3 comments

Comments

@pangratz
Copy link

pangratz commented Apr 3, 2012

A few days ago I've noticed that this gem isn't able to upload file to GitHub anymore. When I try to upload a file I get an errore message: Failed to post file info.

Maybe this is related to the latest OAuth enhancements by GitHub, as stated in a blog post.

@mdreier
Copy link

mdreier commented Apr 4, 2012

I had a stab at debugging this and it seems that the script parses the webpage instead of using the API here: http://developer.github.com/v3/repos/downloads/

Maybe there was a change in the UI lately, the XML parser complains about a misplaced div tag.

@terrorobe
Copy link

Are you (the maintainers) looking into rewriting net/githup-upload for the new API or should we just try quick-fixing the HTML issues?

net/github-upload has the potential to become an integral part for FOSS-projects to offer alternate download locations for their files so I'd like to have this fixed in a timely manner (currently stalls me with bringing http://proftpd.github.com/ to life)

@pangratz
Copy link
Author

pangratz commented Apr 9, 2012

@terrorobe I've implemented a quick fix in emberjs/ember.js#659. This fix directly hits the GitHub API via rest-client and curl. So it's far away from elegant. But I'm not a Ruby dev (yet) so I'm afraid I can't fix this in ruby-net-github-upload.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants