tag:rubydoc.tenderapp.com,2010-12-26:/discussions/problems/258-getting-invalid-repository-or-urlRubydoc.info: Discussion 2014-07-22T06:13:40Ztag:rubydoc.tenderapp.com,2010-12-26:Comment/324336282014-04-06T21:54:49Z2014-04-06T21:55:19ZGetting invalid repository or URL<div><p>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:</p>
<p><a href=
"http://rubydoc.info/github/ruby-rdf/rdf/develop/frames">http://rubydoc.info/github/ruby-rdf/rdf/develop/frames</a></p></div>lsegaltag:rubydoc.tenderapp.com,2010-12-26:Comment/324336282014-04-06T22:27:23Z2014-04-06T22:27:23ZGetting invalid repository or URL<div><p>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.</p>
<p>Thanks for such a quick response!</p>
<p>Gregg Kellogg<br>
<a href=
"mailto:gregg@greggkellogg.net">gregg@greggkellogg.net</a></p></div>greggtag:rubydoc.tenderapp.com,2010-12-26:Comment/324336282014-04-06T23:22:11Z2014-04-06T23:22:39ZGetting invalid repository or URL<div><p>Must be something wrong with the way we check out projects, but
the error log for your project is:</p>
<pre>
<code>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.</code>
</pre>
<p>Which I believe means we're not recognizing a master branch for
that repo?</p></div>lsegaltag:rubydoc.tenderapp.com,2010-12-26:Comment/324336282014-04-06T23:40:19Z2014-04-06T23:40:19ZGetting invalid repository or URL<div><p>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.</p>
<p>Gregg Kellogg<br>
<a href=
"mailto:gregg@greggkellogg.net">gregg@greggkellogg.net</a></p></div>greggtag:rubydoc.tenderapp.com,2010-12-26:Comment/324336282014-07-22T06:13:38Z2014-07-22T06:13:40ZGetting invalid repository or URL<div><p>I am getting the same error for
'<a>git://github.com/Phial/Phial.git&#39</a>;, however when I
specify a commit it works but I have to acess the docs like so:
'<a href=
"http://rubydoc.info/github/Phial/Phial/abd949/frames/file/README.md&#39">http://rubydoc.info/github/Phial/Phial/abd949/frames/file/README.md...</a>;
instead of using '<a href=
"http://rubydoc.info/github/Phial/Phial/$BRANCH_NAME/frames/file/README.md&#39">http://rubydoc.info/github/Phial/Phial/$BRANCH_NAME/frames/file/REA...</a>;.
Also, the git hook doesn't work either, I get the error code
'500'.</p></div>Severen Redwood