notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
ghpr GitHub Pull Request landing tool for FreeBSD
2 develnew! on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: imp@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-03-07 23:36:07
Last Update: 2026-03-08 00:03:17
Commit Hash: 2ebfebe
Also Listed In: python
License: BSD2CLAUSE
WWW:
https://github.com/bsdimp/ghpr
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (4 items)
Collapse this list.
  1. bin/ghpr
  2. /usr/local/share/licenses/ghpr-2/catalog.mk
  3. /usr/local/share/licenses/ghpr-2/LICENSE
  4. /usr/local/share/licenses/ghpr-2/BSD2CLAUSE
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ghpr>0:devel/ghpr
To install the port:
cd /usr/ports/devel/ghpr/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/ghpr
  • pkg install ghpr
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: ghpr
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1772928119 SHA256 (bsdimp-ghpr-v2_GH0.tar.gz) = 1d519edd37d8d1feb78e408495268bda0ace8590bbaefe850733c7e1801c590c SIZE (bsdimp-ghpr-v2_GH0.tar.gz) = 21202

Packages (timestamps in pop-ups are UTC):
ghpr
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest----2n/an/an/a
FreeBSD:13:quarterly-----n/an/an/a
FreeBSD:14:latest-2--2---
FreeBSD:14:quarterly--------
FreeBSD:15:latest-2n/a-n/an/a--
FreeBSD:15:quarterly--n/a-n/an/a--
FreeBSD:16:latest-2n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. python3.11 : lang/python311
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. gh : devel/gh
  2. git : devel/git
  3. python3.11 : lang/python311
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
devel_ghpr
USES:
python:3.8+ shebangfix
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/bsdimp/ghpr/tar.gz/v2?dummy=/
Collapse this list.

Number of commits found: 2

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2
08 Mar 2026 00:03:17
commit hash: 2ebfebeeabf758dbf3d1a7936e3fcaf8727e9e8ccommit hash: 2ebfebeeabf758dbf3d1a7936e3fcaf8727e9e8ccommit hash: 2ebfebeeabf758dbf3d1a7936e3fcaf8727e9e8ccommit hash: 2ebfebeeabf758dbf3d1a7936e3fcaf8727e9e8c files touched by this commit
Warner Losh (imp) search for other commits by this committer
devel/ghpr: update to v2

v2: Add check to make sure that there's a proper freebsd remote

Sponsored by:		Netflix
1
07 Mar 2026 23:33:10
commit hash: ecc11b1dbdc2ef933636e87da3c5c46b86d38b3bcommit hash: ecc11b1dbdc2ef933636e87da3c5c46b86d38b3bcommit hash: ecc11b1dbdc2ef933636e87da3c5c46b86d38b3bcommit hash: ecc11b1dbdc2ef933636e87da3c5c46b86d38b3b files touched by this commit
Warner Losh (imp) search for other commits by this committer
devel/ghpr: github pull request

Tool to help FreeBSD developers land github pull requests, initial
version.

Sponsored by:		Netflix

Number of commits found: 2