Note that there are some explanatory texts on larger screens.

plurals
  1. POGetting GitHub and Gerrit to play nicely
    primarykey
    data
    text
    <p>I host a private repo on <a href="http://github.com" rel="noreferrer">GitHub</a>. I also want to use <a href="http://gerrit.googlecode.com" rel="noreferrer">Gerrit</a>, particularly for the <a href="http://wiki.hudson-ci.org/display/HUDSON/Gerrit+Trigger" rel="noreferrer">Hudson Gerrit Trigger plugin</a>. AFAICT, there isn't any simple solution for using them together.</p> <p>I'd appreciate any help on any of the following wants.</p> <hr> <h1>What I want</h1> <ul> <li>Clone GitHub repo and add to Gerrit's projects either: <ol> <li><a href="http://gerrit.googlecode.com/svn/documentation/2.1.5/project-setup.html#manual_creation" rel="noreferrer">manually</a>, or</li> <li><a href="http://gerrit.googlecode.com/svn/documentation/2.1.5/install.html#project_setup" rel="noreferrer">during <code>init</code></a></li> </ol></li> <li>Merge changes with GitHub using Gerrit</li> </ul> <hr> <h1>What I've tried</h1> <h2>Cloning/Adding...</h2> <p><strong>Manually</strong>: I clone the repo as normal, then add into <code>H2</code> like so:</p> <pre><code>INSERT INTO projects (use_contributor_agreements,submit_type,name) VALUES ('N','M','new/Repo'); </code></pre> <p><strong>During <code>init</code></strong>:</p> <pre><code>*** Git Repositories *** Location of Git repositories [git]: git@github.com:YourName/Repo.git </code></pre> <p>I don't think that's correct.</p> <hr> <h1>What happens</h1> <h2>Cloning/Adding...</h2> <p><strong>Manually</strong>:</p> <p>I get this error: <code>repository not found: Cannot open repository Repo</code></p> <p><strong>During <code>init</code></strong>:</p> <p>Creates the directory at <code>~/gerrit2/git@github.com:YourName/Repo.git</code> and sub-directory <code>Repo.git</code>, which itself contains an empty <code>Git</code> repo. Not exactly what I wanted.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload