| Port details |
- ghpr GitHub Pull Request landing tool for FreeBSD
- 5 devel
=0 3_1Version of this port present on the latest quarterly branch. - Maintainer: imp@FreeBSD.org
 - 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.
¦ ¦ ¦ ¦ 
- 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>)
- 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):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py311-setuptools-scm>0 : devel/py-setuptools-scm@py311
- py311-setuptools>=30.3.0 : devel/py-setuptools@py311
- py311-wheel>=0 : devel/py-wheel@py311
- python3.11 : lang/python311
- py311-build>=0 : devel/py-build@py311
- py311-installer>=0 : devel/py-installer@py311
- Test dependencies:
-
- python3.11 : lang/python311
- Runtime dependencies:
-
- gh : devel/gh
- git : devel/git
- py311-click>=8.0 : devel/py-click@py311
- 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:
|
Number of commits found: 5
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| Commit | Credits | Log message |
5 05 Apr 2026 13:49:47
    |
Warner Losh (imp)  |
devel/ghpr: Update to v5
This moves to click for command line parsing.
Sponsored by: Netflix |
3_1 22 Mar 2026 15:59:14
    |
Enji Cooper (ngie)  |
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
    |
Enji Cooper (ngie)  |
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
    |
Warner Losh (imp)  |
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
    |
Warner Losh (imp)  |
devel/ghpr: github pull request
Tool to help FreeBSD developers land github pull requests, initial
version.
Sponsored by: Netflix |
Number of commits found: 5
|