Page MenuHomePhabricator

Add basic Gerrit support to git-repo
Closed, DuplicatePublic


git-repo is a git client tool that supports project management systems that include git projects, such as GitHub , GitLab, BitBucket, etc.

It has a simpler and consistent interface for working with them all, such as git-repo <target> request create to submit a patch for review, and git-repo <target> request fetch <id> to fetch a patch for review.

It does not yet understand git projects on Gerrit.

This task is to create a basic git-repo backend which can clone a repository hosted on Gerrit, concretely by creating a file in services/ext dir.

See also this issue upstream :

Mentor: @jayvdb (git-repo committer)

Event Timeline

I doint know how your going to support this as this will need to be done in gerrit master upstream and we are on 2.13 yet there are 2.14 and 2.15.

@Paladox: I don't see how the last comment is relevant. "this" in "this will need to be done" remains vague. Please be specific.

@Aklapper this task has the Google Code project. Which is suggesting that this is easy to implement and can run as soon as it is built.

We are running gerrit 2.13 with plans to update to 2.14. But because of the nature of this it depends on how easy this is to implement. Upstream wont allow any breaking changes or large changes on a stable branch. Does this require a plugin? Im not sure with the api in 2.13 if this can be supported until 2.14 / 2.15.

@Paladox , this is a git client tool, which interfaces with lots of different git servers. It can happily support them all. Please read tasks before you comment on them.

Oh sorry.

Im confused why was a task filled under the gerrit tag then? (im guessing it is so that the tool can support gerrit without gerrit needing any changes?)

(i read the task description before commenting this time)

Because it is a tool for Gerrit. *shrug* But removing the tag is ok.

nikitavbv added a subscriber: nikitavbv.

Interesting task! I will work on it

So the PR is currently in review. Looks like you're doing good job @Phantom42 !

Thank you @Framawiki ! The pull request isn't merged yet, but as for progress report: we already have clone working and we also implemented patchset review and fetch.

After it is merged, most of the functionality is done, and further enhancements would need to be worked on with the git-repo maintainers.