Skip to content
Git code browsing and code review tool
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.config move Config to GitPHP namespace Aug 14, 2018
.include
.locale
.setup diff for images on commitdiff and branchdiff pages Nov 26, 2018
.templates diff for images on commitdiff and branchdiff pages Nov 26, 2018
css
images
js
lib fixed problem with code between two multiline comments being highligh… Oct 26, 2018
templates_c templates_c in repo Feb 15, 2017
.gitignore moved DB class to the GitPHP namespace Sep 22, 2018
LICENSE Initial commit Jan 6, 2017
autoload.php moved GitPHP_Log class to the GitPHP namespace Sep 22, 2018
bootstrap.php
index.php moved GitPHP_Log class to the GitPHP namespace Sep 22, 2018
readme.md
ssh_serve.php move Config to GitPHP namespace Aug 14, 2018
start.sh fix logo size + changed name in config files Apr 13, 2018
update_auth_keys.php add simple logging to update_auth_keys script May 7, 2019

readme.md

Badoo repository browsing and code review tool

logo

Installation guide

Authorisation

Administration

Get started

Code review

The project was originally forked from https://github.com/xiphux/gitphp. But we changed almost everything and added lot of new features.

  • Branchdiffs - ability to see diffs between branches
  • Branchlogs
  • treediff mode - as unified but with folders/files tree on the left side
  • toggle comments mode - ability to see all comments in review in a one view
  • Authorisation via JIRA REST API, Atlassian Crowd service or Redmine REST API
  • Comments about review to Jira or Redmine tickets
  • Code Review including branchdiffs
  • Code syntax highlighting using http://alexgorbatchev.com/SyntaxHighlighter with a lot of additional languages support
  • Side-by-side review using http://www.mergely.com
  • Filters in diffs on-the-fly for different file types and changes
  • Search in project heads
  • Access control, repositories management - no gitosis is reguired, everything is done inside codeisok
  • and even more

Please find the full documentation in codeisok wiki

Installation

For manual installation explore .setup dir and find all nesessary scripts and tools. Service requires mysql, php and nginx to work. Setup scenario can be found in .setup/Dockerfile.

Docker

For docker build run "docker build -t codeisok .setup" from project root.

To run docker container use start.sh script in project root. Docker container exposes 2 ports:

  • 80 for HTTP instance (http://localhost/).
  • 22 as ssh-source for git operations (ssh://git@localhost/testrepo.git)

Internals

Default authorisation is just config-based. You can use 'user' user and 'password' password. To change it look for \GitPHP_Config::AUTH_METHOD and \GitPHP_Config::CONFIG_AUTH_USER fields in .config/gitphp.conf.php file.

Service is using smarty as template engine. So templates_c directory should be writable for web-service user.

Service is storing repositories at PROJECT_ROOT directory path. This directory should be writable for web-service user.

You can’t perform that action at this time.