BSD Ports

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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest55--5
FreeBSD:14:quarterly55n/a-5
FreeBSD:15:latest55n/a--
FreeBSD:15:quarterly55n/an/an/a
FreeBSD:16:latest55n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 3

Runtime 3

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
FileSizeSHA256
bsdimp-ghpr-v5_GH0.tar.gz2491773fa455b77edd1351aff80d8dc18ebe501b86c85291e57ca2aec08cc85bdb0b7

Commit history 0

No commits in the history this site was built from.