An agent that enforces guidelines for your GitHub repositories
JavaScript Other
Latest commit 0523f3e Dec 21, 2016 @prayerslayer prayerslayer committed on GitHub Measure inactiveness (#480)
* #429 save wip

* #429 save wip

* #429 save wip

* #429 fix stuff

* #429 add test for negative case

* #429 review fixes
Permalink
Failed to load latest commit information.
client Docs and db migration for #460 (#463) Oct 18, 2016
common Measure inactiveness (#480) Dec 21, 2016
config Measure inactiveness (#480) Dec 21, 2016
docs #471 remove evil whitespace Nov 28, 2016
migrations Measure inactiveness (#480) Dec 21, 2016
server Measure inactiveness (#480) Dec 21, 2016
test Measure inactiveness (#480) Dec 21, 2016
tools Move to Node 6 (#479) Dec 7, 2016
.catwatch.yaml Create .catwatch.yaml Aug 4, 2016
.codeclimate.yml chore: add codeclimate configuration Apr 21, 2016
.dockerignore #216 create docker workdir Apr 21, 2016
.editorconfig Feature/pr check (#348) Jul 12, 2016
.eslintrc Initial commit Dec 14, 2015
.gitignore #369 ignore .env.properties (#373) Jul 19, 2016
.node-version Move to Node 6 (#479) Dec 7, 2016
.nvmrc Move to Node 6 (#479) Dec 7, 2016
.travis.yml Move to Node 6 (#479) Dec 7, 2016
.zappr-example.yaml #287 - Allow to veto (#300) May 19, 2016
.zappr.yaml Add Zalando group to zappr.yaml (#385) Jul 26, 2016
CONTRIBUTING.md Update contributing guidelines (#405) Aug 11, 2016
Dockerfile Move to Node 6 (#479) Dec 7, 2016
Dockerfile.external Add DIY enterprise documentation (#380) Aug 5, 2016
LICENSE chore: update year Apr 1, 2016
MAINTAINERS Create MAINTAINERS Aug 4, 2016
README.md Design update (#344) Jul 26, 2016
mkdocs.yml Add standard links (#399) Sep 2, 2016
package.json Move to Node 6 (#479) Dec 7, 2016
webpack.client.js Design update (#344) Jul 26, 2016
webpack.server.js Design update (#344) Jul 26, 2016
webpack.server.test.js Design update (#344) Jul 26, 2016
yarn.lock Move to Node 6 (#479) Dec 7, 2016

README.md

zappr

Approval checks for GitHub pull requests.

Build Status Code Climate Dependencies Gitter

Zappr is a GitHub integration built to enhance your project workflow. Built by open-source enthusiasts, it's aimed at helping developers to increase productivity and improve open-source project quality. It does this primarily by removing bottlenecks around pull request approval and helping project owners to halt "rogue" pull requests before they're merged into the master branch.

Setup, FAQ and further information

Please refer to our documentation.

Development

Export your Github credentials:

export GITHUB_CLIENT_ID=<your-client-id>
export GITHUB_CLIENT_SECRET=<your-client-secret>

Build and Run:

npm install
npm run build
npm start

Debug Client and Server:

npm run build
npm run all

Enable debug logs...

...in the terminal:

export DEBUG="zappr:*"

...in the browser console:

window.DEBUG.enable('zappr:*')

Test:

  • npm test - run combined tests
  • npm run test-client - run only client tests
  • npm run test-server - run only server tests
  • npm run test-karma - run Karma (UI) tests

Docker Image:

  1. Check out master and clean up your git status
  2. Run the build script:

    ./tools/build.sh (<tag>)
    
  • NPM_BUILD_INSIDE_CONTAINER "true" to build inside a container
  • DOCKER_ARTIFACT_FILE file to store docker artifact name in

Contributing to Zappr

Please read our contributor guidelines for more details. And please check these open issues for specific tasks.

License

The MIT License (MIT)

Copyright (c) 2016 Zalando SE

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.