This is a system that provides answers to the following question:
Which branches did a certain GitHub pull request "land" in?
A pull request is considered landed in a branch when that branch contains that pull request's "merge commit"[^1].
As of 2024-02-02 GitHub does not provide an API for directly asking this question.
In order to provide an API that answers this question the following are obtained:
From these, all landings are deduced and stored in a (PostgreSQL) database.
It is assumed that in the tracked branches, history is never rewritten.
Two programs are provided:
Takes no arguments. Expects configuration via environment.
Takes no arguments. Expects configuration via environment.
[^1]: Note that in GitHub, a pull request has a "merge commit" even having been merged without an actual merge commit.