Find a file
2024-07-26 21:40:37 +02:00
LICENSES Initial commit 2021-02-17 15:16:29 +00:00
scripts cleanup 2024-07-26 21:40:37 +02:00
src cleanup 2024-07-26 21:40:37 +02:00
templates WIP: interface und documentation 2024-07-18 12:31:14 +02:00
vendor Initial commit 2021-02-17 15:16:29 +00:00
.editorconfig .editorconfig: set max_line_length for README 2021-05-22 11:20:45 +00:00
.envrc cleanup 2024-07-26 21:40:37 +02:00
.gitignore cleanup 2024-07-26 21:40:37 +02:00
build.rs Initial commit 2021-02-17 15:16:29 +00:00
Cargo.lock cleanup 2024-07-26 21:40:37 +02:00
Cargo.lock.license Initial commit 2021-02-17 15:16:29 +00:00
Cargo.toml cleanup 2024-07-26 21:40:37 +02:00
deny.toml deny.toml: add clarification of encoding_rs license 2022-02-16 17:17:33 +00:00
flake.lock feat(flake): add flake 2024-07-13 22:37:31 +02:00
flake.nix feat(flake): add flake 2024-07-13 22:37:31 +02:00
NEWS Version 1.4.0 2023-11-18 14:06:29 +01:00
README.license cleanup 2024-07-26 21:40:37 +02:00
README.md cleanup 2024-07-26 21:40:37 +02:00

Run a web server that displays the path a Nixpkgs pull request will take through the various release channels. An instance is available at the time of writing at https://tracker.lel.lol/.

Installation

Build and runtime dependencies:

  • libsystemd
  • OpenSSL

Other build dependencies:

  • Cargo
  • rustc
  • pkg-config

Other runtime dependencies:

  • Git

In most cases, building should be as simple as

cargo run

Usage

To see usage run:

./pr-tracker --help

The following environment variables are expected:

Name Usage
PR_TRACKER_GITHUB_TOKEN A github access token to access the github graphql api.
PR_TRACKER_MAIL_PASSWD The password to use for secure email sending.

pr-tracker expects the socket(s) for it to listen on to be set up for it by a service supervisor, using the systemd socket activation protocol. It does not support binding its own sockets. To run outside of a systemd unit, you can use systemd-socket-activate:

systemd-socket-activate -l 0.0.0.0:8000 pr-tracker [...]

Further information on available command line arguments can be obtained with

Scripts

scripts/ contains tampermonkey scripts to add buttons directly to github for tracking/subscribing to pull-requests.

Development

The upstream git repository for pr-tracker is available at https://github.com/patrickdag/pr-tracker/.

License

Copyright 2021 Alyssa Ross hi@alyssa.is

This program is free software; you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program; if not, see https://www.gnu.org/licenses.

Additional permission under GNU AGPL version 3 section 7

If you modify this Program, or any covered work, by linking or combining it with OpenSSL (or a modified version of that library), containing parts covered by the terms of the OpenSSL License, or the Original SSLeay License, the licensors of this Program grant you additional permission to convey the resulting work.