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 photos
All times are UTC
Ukraine
Port details
ghpr GitHub Pull Request landing tool for FreeBSD
5 devel 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 3_1Version of this port present on the latest quarterly branch.
Maintainer: imp@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-03-07 23:36:07
Last Update: 2026-04-05 13:49:47
Commit Hash: e803e9a
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
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}ghpr>0:devel/ghpr@${PY_FLAVOR}
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 py311-ghpr
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py311-ghpr listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-ghpr
Package flavors (<flavor>: <package>)
  • py311: py311-ghpr
distinfo:
TIMESTAMP = 1775396587 SHA256 (bsdimp-ghpr-v5_GH0.tar.gz) = 73fa455b77edd1351aff80d8dc18ebe501b86c85291e57ca2aec08cc85bdb0b7 SIZE (bsdimp-ghpr-v5_GH0.tar.gz) = 24917

Packages (timestamps in pop-ups are UTC):
py311-ghpr
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest3_13_1--5n/an/an/a
FreeBSD:13:quarterly3_13_1--3_1n/an/an/a
FreeBSD:14:latest55--5---
FreeBSD:14:quarterly3_13_1--3_1---
FreeBSD:15:latest55n/a-n/an/a--
FreeBSD:15:quarterly3_13_1n/a-n/an/a--
FreeBSD:16:latest55n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-setuptools-scm>0 : devel/py-setuptools-scm@py311
  2. py311-setuptools>=30.3.0 : devel/py-setuptools@py311
  3. py311-wheel>=0 : devel/py-wheel@py311
  4. python3.11 : lang/python311
  5. py311-build>=0 : devel/py-build@py311
  6. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. gh : devel/gh
  2. git : devel/git
  3. py311-click>=8.0 : devel/py-click@py311
  4. 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.10+
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/v5?dummy=/
Collapse this list.

Number of commits found: 5

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
5
05 Apr 2026 13:49:47
commit hash: e803e9a4f56e22eb2ff42a9d28bf576c6ccbdac2commit hash: e803e9a4f56e22eb2ff42a9d28bf576c6ccbdac2commit hash: e803e9a4f56e22eb2ff42a9d28bf576c6ccbdac2commit hash: e803e9a4f56e22eb2ff42a9d28bf576c6ccbdac2 files touched by this commit
Warner Losh (imp) search for other commits by this committer
devel/ghpr: Update to v5

This moves to click for command line parsing.

Sponsored by:		Netflix
3_1
22 Mar 2026 15:59:14
commit hash: 15c5542e3e7a97d6d9843f66c4f989863f483ab6commit hash: 15c5542e3e7a97d6d9843f66c4f989863f483ab6commit hash: 15c5542e3e7a97d6d9843f66c4f989863f483ab6commit hash: 15c5542e3e7a97d6d9843f66c4f989863f483ab6 files touched by this commit
Enji Cooper (ngie) search for other commits by this committer
devel/ghpr: add missing `BUILD_DEPENDS`

This change adds additional build dependencies accidentally missed in
the previous commit.

Although the devel/py-setuptools dependency is technically redundant in
light of devel/py-setuptools-scm, it's best to express all of the needed
dependencies in `BUILD_DEPENDS`.

Reported by:	poudriere
Approved by:	imp (maintainer)
Pointyhat to:	ngie
Fixes:	59337d86174 ("devel/ghpr: update to v3")
Differential Revision:	https://reviews.freebsd.org/D55962
3
17 Mar 2026 15:29:10
commit hash: 59337d86174464d008b11fa944c101469ace99d0commit hash: 59337d86174464d008b11fa944c101469ace99d0commit hash: 59337d86174464d008b11fa944c101469ace99d0commit hash: 59337d86174464d008b11fa944c101469ace99d0 files touched by this commit
Enji Cooper (ngie) search for other commits by this committer
devel/ghpr: update to v3

v3 makes the following high-level changes apart from the standard
version update described in [1]:

- pyproject.toml / PEP-517 using setuptools_scm integration.
- Now the package is prefixed with `PYTHON_PKGNAMEPREFIX` so multiple
  versions of the package can be built with different versions of
  python and installed concurrently (if one decided to do that).
- LICENSE.md from the latest version is used/incorporated into the
  end-resulting package.
- Make the port portlint clean by reordering variables and using
  `PORTVERSION` instead of `DISTVERSION`.

Approved by:	imp (maintainer)
Differential Revision:	https://reviews.freebsd.org/D55892
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: 5