[haiku-development] Re: cgit -> XX?

  • From: kallisti5 <kallisti5@xxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 13 Sep 2017 10:45:08 -0500

On 2017-09-13 09:11, Axel Dörfler wrote:

Am 13/09/2017 um 16:08 schrieb kallisti5:
Since Gerrit uses a git repo underneath, I have a feeling we can
simply slip in our git hook scripts and have them "work"

AFAIU Gerrit would just sit on top of our current repository. I would
not expect any changes there, at least.

Correct. I took the systemd script I prepared for the new server and injected our repo into it to play with it a little bit locally on my desktop.
(feel free to try it yourself.. pretty easy!)

cp (https://github.com/haiku/infrastructure/blob/master/systemd/docker-gerrit.service) /etc/systemd/system/
  systemctl start
  Create Haiku project in web app.
  Bare clone haiku to /var/lib/docker/gerrit-git/_data/haiku.git
  Create a new non-admin user.

kallisti5@eris haiku :) $ git review
Username for 'http://192.168.1.100:8080': kallisti5
Password for 'http://kallisti5@192.168.1.100:8080':
remote: Processing changes: new: 1, refs: 1, done
remote:
remote: New Changes:
remote: http://1b0d6163fdc2:8080/2 readme: Mention our extreme code style
remote:
To http://192.168.1.100:8080/haiku
 * [new branch]            HEAD -> refs/publish/master


https://kallisti5.keybase.pub/Images/CR1.png
https://kallisti5.keybase.pub/Images/CR2.png
https://kallisti5.keybase.pub/Images/CR3.png
https://kallisti5.keybase.pub/Images/CR5.png


Keep in mind anyone needing code review will need to install "git-review"


 -- Alex

Other related posts: