暫無描述

Mark Rousskov f346181e01 Support multiple different bot names 4 年之前
.github 56c075d68a Roll everything into the docker build 5 年之前
parser f346181e01 Support multiple different bot names 4 年之前
src f346181e01 Support multiple different bot names 4 年之前
templates 9157112c27 Change triage logs text on prioritization agenda 4 年之前
.dockerignore eca0e62b66 add support for generating a docker container 6 年之前
.gitignore 6565ffdd8a Initial commit for triagebot 6 年之前
Cargo.lock 023b544764 Merge pull request #1002 from rust-lang/dependabot/cargo/termcolor-1.1.2 4 年之前
Cargo.toml 5299997572 changelogs: add support for parsing rustc changelogs 4 年之前
Dockerfile 7482dbe9dd Update Dockerfile to pull from Rust 1.45 4 年之前
LICENSE-APACHE e3be7f056b Implement labeling issues 6 年之前
LICENSE-MIT e3be7f056b Implement labeling issues 6 年之前
README.md f2d915ee5b improve instructions on how to setup triagebot 4 年之前
triagebot.toml d6e25d1805 Allow anyone to add the enhancement label 4 年之前

README.md

Triagebot

This is the triage and team assistance bot for the rust-lang organization.

Please see the wiki for our documentation, and feel free to contribute edits if you find something helpful!

Installation

To compile the Triagebot you need OpenSSL development library to be installed (e.g. for Ubuntu-like Linux distributions sudo apt install libssl-dev).

Run cargo build to compile the triagebot.

The GITHUB_WEBHOOK_SECRET, GITHUB_API_TOKEN and DATABASE_URL environment variables need to be set.

If GITHUB_API_TOKEN is not set, the token can also be stored in ~/.gitconfig in the github.oauth-token setting.

To configure the GitHub webhook, point it to the /github-hook path of your webserver (by default http://localhost:8000), configure the secret you chose in .env, set the content type to application/json and select all events.

License

Triagebot is distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE and LICENSE-MIT for details.