This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]