A simple pull request approval system
Перейти к файлу
6543 f2d554b502 go fmt 2020-12-06 16:45:05 +01:00
.github Replace pull request with issue at issue_template (#24) 2016-12-31 22:43:42 +08:00
api go fmt 2020-12-06 16:45:05 +01:00
cache Upgrade GitHub API to V3 (#36) 2017-12-28 08:28:22 -06:00
model Upgrade GitHub API to V3 (#36) 2017-12-28 08:28:22 -06:00
notifier Regenerated mocks 2016-11-15 10:36:07 +01:00
remote go fmt 2020-12-06 16:45:05 +01:00
router go fmt 2020-12-06 16:45:05 +01:00
shared Fixes fmt & typos (#18) 2016-11-29 21:00:26 +08:00
store go fmt 2020-12-06 16:45:05 +01:00
vendor github.com/mattn/go-sqlite3 untagged -> v2.0.3 2020-12-06 16:45:05 +01:00
version initial commit 2016-04-18 21:22:23 -07:00
web go fmt 2020-12-06 16:45:05 +01:00
.dockerignore Added docker maintainer and minor refinement (#19) 2016-12-03 14:43:20 +08:00
.drone.yml feat: docker image for master. 2017-12-29 08:34:47 +08:00
.editorconfig switch gitter to discord for drone. (#31) 2017-06-16 10:50:54 +08:00
.gitignore Upgrade GitHub API to V3 (#36) 2017-12-28 08:28:22 -06:00
.lgtm chore: update lgtm pattern. 2018-01-03 10:02:51 +08:00
CONTRIBUTING.md Update contributing & maintainers file (#28) 2017-01-25 10:32:27 +08:00
DCO Added DCO file 2016-11-14 08:29:04 +01:00
Dockerfile Upgrade GitHub API to V3 (#36) 2017-12-28 08:28:22 -06:00
Dockerfile.rpi Upgrade GitHub API to V3 (#36) 2017-12-28 08:28:22 -06:00
LICENSE Use the same LICENSE format as the other projects 2016-11-28 14:37:59 +01:00
MAINTAINERS Add myself as a maintainer (#40) 2018-07-01 14:32:10 +08:00
Makefile fix: replcae with empty. 2017-12-31 15:02:02 +08:00
README.md fix: [ci skip] update release badge 2017-12-31 15:34:26 +08:00
go.mod github.com/mattn/go-sqlite3 untagged -> v2.0.3 2020-12-06 16:45:05 +01:00
go.sum github.com/mattn/go-sqlite3 untagged -> v2.0.3 2020-12-06 16:45:05 +01:00
main.go go fmt 2020-12-06 16:45:05 +01:00

README.md

LGTM

Build Status Join the Discord chat at https://discord.gg/NsatcWJ Join the Matrix chat at https://matrix.to/#/#gitea:matrix.org codecov Go Report Card GoDoc GitHub release

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 have questions that are not covered by the documentation, you can get in contact with us on our Discord server, Matrix room, or forum!. 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) 2018 The Gitea Authors <https://gitea.io>