This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Setup non-pushing gerrit instance for glibc.
- From: Carlos O'Donell <carlos at redhat dot com>
- To: libc-alpha <libc-alpha at sourceware dot org>
- Date: Thu, 24 Oct 2019 15:39:29 -0400
- Subject: Setup non-pushing gerrit instance for glibc.
Community,
With the gracious help of Sergio and Simon I have setup a glibc mirror
on a gerrit instance that *cannot* push to sourceware git.
e.g.
git clone ssh://codonell@gnutoolchain-gerrit.osci.io:29418/glibc
< Commit some work >
# First time only, you need a hook to inject commit IDs for tracking.
gitdir=$(git rev-parse --git-dir); scp -p -P 29418 codonell@gnutoolchain-gerrit.osci.io:hooks/commit-msg ${gitdir}/hooks/
git commit --amend --no-edit
###
git push origin HEAD:refs/for/master
The "refs/for/master" is the way to push commits to be applied to master.
---
The purpose of this is to:
* Try out code reviews / CI etc. in gerrit.
- Code review of patches pushed to gerrit is possible.
* Try to setup email based code review in gerrit.
- Currently email is outbound only.
- We are looking at how to make it entirely email based, but tracked
in gerrit.
Enjoy! :-)
--
Cheers,
Carlos.