BSD Ports

devel/ghpr 5 DragonFly

GitHub Pull Request landing tool for FreeBSD

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD2CLAUSE
Categories
devel, python
Package size
29.4 KiB, 149.1 KiB installed

Description

ghpr is a Python-based tool to land GitHub pull requests into FreeBSD repositories.

It streamlines the process of integrating GitHub pull requests by combining PR initialization, staging, and pushing into a unified command-line interface.

Key features:

  • Creates and maintains a dedicated staging branch for PR integration
  • Downloads PRs and rebases them with automatic conflict detection
  • Adds appropriate commit metadata (reviewer info and PR references)
  • Tracks PR status through GitHub labels ('staged' and 'merged')
  • Pushes changes upstream while automatically closing associated PRs
  • Supports dry-run mode and verbose output for debugging
  • Handles conflict resolution workflows

Requires the GitHub CLI (gh) with configured authentication.

In the other systems

The newest version among them is 5, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/ghpr5 newestnone known-[email protected]-
FreeBSDdevel/ghpr5 newestnone known-[email protected]-
HardenedBSDdevel/ghpr5 newestno data-[email protected]-
GhostBSDdevel/ghpr5 newestno data-[email protected]-

Version history 1

  1. 5

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkg install py312-ghpr

From DPorts:

cd /usr/dports/devel/ghpr && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 4

No port depends on this one.