A simple pull request approval system
Перейти к файлу
Morlinest b044f5acd8 Update MAINTAINERS (#34) 2017-10-05 03:55:09 -05:00
.github Replace pull request with issue at issue_template (#24) 2016-12-31 22:43:42 +08:00
api
cache
model
notifier
remote don't add label repeatly (#6) 2016-11-24 16:14:53 +08:00
router Fixes fmt & typos (#18) 2016-11-29 21:00:26 +08:00
shared Fixes fmt & typos (#18) 2016-11-29 21:00:26 +08:00
store Fixes fmt & typos (#18) 2016-11-29 21:00:26 +08:00
vendor
version
web Fixes fmt & typos (#18) 2016-11-29 21:00:26 +08:00
.dockerignore Added docker maintainer and minor refinement (#19) 2016-12-03 14:43:20 +08:00
.drone.yml switch gitter to discord for drone. (#31) 2017-06-16 10:50:54 +08:00
.drone.yml.sig switch gitter to discord for drone. (#31) 2017-06-16 10:50:54 +08:00
.editorconfig switch gitter to discord for drone. (#31) 2017-06-16 10:50:54 +08:00
.gitignore
.lgtm
CONTRIBUTING.md Update contributing & maintainers file (#28) 2017-01-25 10:32:27 +08:00
DCO
Dockerfile Added docker maintainer and minor refinement (#19) 2016-12-03 14:43:20 +08:00
Dockerfile.rpi Added docker maintainer and minor refinement (#19) 2016-12-03 14:43:20 +08:00
LICENSE Use the same LICENSE format as the other projects 2016-11-28 14:37:59 +01:00
MAINTAINERS Update MAINTAINERS (#34) 2017-10-05 03:55:09 -05:00
Makefile Merge pull request #10 from go-gitea/make-all 2016-11-25 10:31:44 +01:00
README.md Added Docker deployment documentation in README.md (#32) 2017-06-28 09:17:24 +08:00
main.go

README.md

LGTM

Build Status Join the chat at https://gitter.im/go-gitea/lgtm Coverage Status Go Report Card GoDoc

LGTM is a simple pull request approval system using GitHub protected branches and maintainers files or maintainers groups. Pull requests are locked and cannot be merged until the minimum number of approvals are received. Project maintainers can indicate their approval by commenting on the pull request and including LGTM (looks good to me) in their approval text.

Install

You can download prebuilt binaries from the GitHub releases or from our download site. You are a Mac user? Just take a look at our homebrew formula. If you are missing an architecture just write us on our pretty active Gitter chat. If you find a security issue please contact security@gitea.io first.

Development

Make sure you have a working Go environment, for further reference or a guide take a look at the install instructions. As this project relies on vendoring of the dependencies and we are not exporting GO15VENDOREXPERIMENT=1 within our makefile you have to use a Go version >= 1.6. It is also possible to just simply execute the go get github.com/go-gitea/lgtm command, but we prefer to use our Makefile:

go get -d github.com/go-gitea/lgtm
cd $GOPATH/src/github.com/go-gitea/lgtm
make clean build

bin/lgtm -h

Docker

A Docker Image is available for easy deployment. It can be run locally or on a dedicated Server as follows:

docker run --name lgtm -v /my/host/path:/var/lib/lgtm:z -e GITHUB_CLIENT= -e GITHUB_SECRET= -p 8000:8000 gitea/lgtm

To Fill the Environment Variables GITHUB_CLIENT and GITHUB_SECRET, create new OAuth Application here

To Build the Image by yourself please refere to the Dockerfile and the Drone Configuration.

Contributing

Fork -> Patch -> Push -> Pull Request

Authors

License

This project is under the Apache-2.0 License. See the LICENSE file for the full license text.

Copyright (c) 2016 The Gitea Authors <https://gitea.io>