I host a private repo on GitHub. I also want to use Gerrit, particularly for the Hudson Gerrit Trigger plugin. AFAICT, there isn't any simple solution for using them together.
I'd appreciate any help on any of the following wants.
What I want
- Clone GitHub repo and add to Gerrit's projects either:
- manually, or
- during
init
- Merge changes with GitHub using Gerrit
What I've tried
Cloning/Adding...
Manually: I clone the repo as normal, then add into H2
like so:
INSERT INTO projects
(use_contributor_agreements,submit_type,name)
VALUES
('N','M','new/Repo');
During init
:
*** Git Repositories
***
Location of Git repositories [git]: [email protected]:YourName/Repo.git
I don't think that's correct.
What happens
Cloning/Adding...
Manually:
I get this error: repository not found: Cannot open repository Repo
During init
:
Creates the directory at ~/gerrit2/[email protected]:YourName/Repo.git
and sub-directory Repo.git
, which itself contains an empty Git
repo. Not exactly what I wanted.