Getting invalid repository or URL

gregg's Avatar

gregg

06 Apr, 2014 09:32 PM

I'm getting this now for git://github.com/ruby-rdf/rdf.git.

  1. Support Staff 1 Posted by lsegal on 06 Apr, 2014 09:54 PM

    lsegal's Avatar

    We assume master is the main branch. It looks like you're using git flow which makes your default branch "develop". If you specify the commit / branch as develop, it works:

    http://rubydoc.info/github/ruby-rdf/rdf/develop/frames

  2. 2 Posted by gregg on 06 Apr, 2014 10:27 PM

    gregg's Avatar

    I am using git flow, but I think documentation should track the master branch, rather than develop. It does work with develop, but I would think that I should be able to specify master too, which seems to not work.

    Thanks for such a quick response!

    Gregg Kellogg
    [email blocked]

  3. Support Staff 3 Posted by lsegal on 06 Apr, 2014 11:22 PM

    lsegal's Avatar

    Must be something wrong with the way we check out projects, but the error log for your project is:

    2014-04-06 19:20:58 -0400: Checking out ruby-rdf/rdf, result=256
    
    STDOUT:
    
    
    STDERR:
    Cloning into 'master'...
    error: pathspec 'master' did not match any file(s) known to git.
    

    Which I believe means we're not recognizing a master branch for that repo?

  4. 4 Posted by gregg on 06 Apr, 2014 11:40 PM

    gregg's Avatar

    Well, there is a master branch on GitHub. I'm not sure if there's anything to do on my end, but I use git flow on all of my projects, and haven't seen problems elsewhere, but I added them all some time ago. I was just trying to update this project, but found it wasn't in Rubydoc.info, although it certainly was before.

    Gregg Kellogg
    [email blocked]

  5. 5 Posted by Severen Redwood on 22 Jul, 2014 06:13 AM

    Severen Redwood's Avatar

    I am getting the same error for 'git://github.com/Phial/Phial.git', however when I specify a commit it works but I have to acess the docs like so: 'http://rubydoc.info/github/Phial/Phial/abd949/frames/file/README.md' instead of using 'http://rubydoc.info/github/Phial/Phial/$BRANCH_NAME/frames/file/README.md'. Also, the git hook doesn't work either, I get the error code '500'.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac