devel/ghpr 5 FreeBSD
GitHub Pull Request landing tool for FreeBSD
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- BSD2CLAUSE
- Categories
- devel, python
- Package size
- 31.0 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.
Install
Binary package:
pkg install py312-ghpr
From the ports tree:
cd /usr/ports/devel/ghpr/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-ghpr>0:devel/ghpr
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 5 | 5 | - | - | 5 |
| FreeBSD:14:quarterly | 5 | 5 | n/a | - | 5 |
| FreeBSD:15:latest | 5 | 5 | n/a | - | - |
| FreeBSD:15:quarterly | 5 | 5 | n/a | n/a | n/a |
| FreeBSD:16:latest | 5 | 5 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 3
${PYTHON_PKGNAMEPREFIX}setuptools-scm>0: devel/py-setuptools-scm${PYTHON_PKGNAMEPREFIX}setuptools>=30.3.0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Runtime 3
gh: devel/ghgit: devel/git${PYTHON_PKGNAMEPREFIX}click>=8.0: devel/py-click
The full lists below include those, and their dependencies in turn.
Build dependencies 17
Run dependencies 19
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| bsdimp-ghpr-v5_GH0.tar.gz | 24917 | 73fa455b77edd1351aff80d8dc18ebe501b86c85291e57ca2aec08cc85bdb0b7 |
Commit history 0
No commits in the history this site was built from.