> Subject pretty much says it all.
>
> I can connect via (ssh) command-line and see what 'Add Project' wants,
> but I can't figure out
> how to add a remote repository, especially one that requires 'special'
> configuration 'cause
> I gotta tunnel thru our corporate firewall to get to it.
What do you mean by remote repository? All projects (gits) added to
a Gerrit installation are local. There's no way to connect Gerrit to
a git stored elsewhere. What you can do is create a local git as a
clone of another git and set up a job to mirror the remote git to
your git.
Anyway, please state the original problem that led you to want to
add a remote repository. "I want to add a remote repository" isn't
a problem, it's a solution to a problem.
--
Magnus Bäck Opinions are my own and do not necessarily
SW Configuration Manager represent the ones of my employer, etc.
Sony Ericsson
INSERT INTO projects
(use_contributor_agreements
,submit_type
,name)
VALUES
('N'
,'M'
,'sandbox');> Hmm, I guess I didn't understand that part of the docs.
>
> So I clone an existing repo into Gerrit's directory $gerrit.basePath:
>
> git clone ssh://git.eclipse.org/gitroot/eclipselink/sandbox.git
You need to make it a bare git with the --bare option.
> Do I need to use 'gerrit create-project' (via command-line over ssh)
> of the same name?
I wouldn't expect that to work since the git will already exist on the
server.
> Or do I have to use 'gerrit gsql' to manually insert the project?
That's another option I guess. I would've just created an empty git on
the server (with the create-project command), then cloned the upstream
git on a client and pushed its contents to Gerrit.
I'm not sure, but I think you can re-init Gerrit to have it import
the existing projects it finds.
[...]
Hmm, I guess I didn't understand that part of the docs.
So I clone an existing repo into Gerrit's directory $gerrit.basePath:
git clone ssh://git.eclipse.org/gitroot/eclipselink/sandbox.git
Do I need to use 'gerrit create-project' (via command-line over ssh) of the same name?
Or do I have to use 'gerrit gsql' to manually insert the project?
INSERT INTO projects
(use_contributor_agreements
,submit_type
,name)
VALUES
('N'
,'M'
,'sandbox');
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en