Skip to content

Failed to post file info #10

Open
Open

Description

@pangratz

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.

Activity

  1. mdreier commented on Apr 4, 2012

    @mdreier

    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.

  2. terrorobe commented on Apr 9, 2012

    @terrorobe

    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)

  3. pangratz commented on Apr 9, 2012

    @pangratz
    Author

    @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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions