ghp-sync

command module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 28, 2026 License: GPL-3.0 Imports: 4 Imported by: 0

README

ghp-sync

This is an application for dealing with GitHub Project Boards. This is intended to make sorting through issues and PRs in large repos faster and easier via the GitHub Project Board.

It can automatically add Issues or PRs to Project Boards based on the repo, organization, and project number.

When adding Issues to Project Boards with the Issue # and number of Days Open.

ghp-sync is still a work in progress with more automation to come in future!

Installation

To install ghp-sync from the command line, you can run:

go install ghp-sync

Commands

Add issues labeled bug to a GitHub project board and fill the Issue # and Open Days columns

Adds issues labeled bug to a GitHub project board and fill the Issue # and Open Days columns

Examples
  • Add issues labeled bug based on the organization name, repo name, and project number of the board to add it to:
go run main.go issues -o GITHUB_ORG -p GITHUB_PROJECT_NUMBER -r GITHUB_REPO -t GITHUB_TOKEN -l bug

Notes

  • A GitHub access token is required to make the requests and is set via the environment variable GITHUB_TOKEN
  • The GitHub CLI tool gh needs to be installed

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package cli implements the ghp-sync command line interface.
Package cli implements the ghp-sync command line interface.
lib
chttp
Package chttp provides an http.Client wrapper that trace-logs requests and responses.
Package chttp provides an http.Client wrapper that trace-logs requests and responses.
clog
Package clog provides the shared logrus logger, configured via the GHP_SYNC_LOG environment variable.
Package clog provides the shared logrus logger, configured via the GHP_SYNC_LOG environment variable.
gh
Package gh wraps the GitHub REST and GraphQL APIs for syncing issues, PRs, and project items.
Package gh wraps the GitHub REST and GraphQL APIs for syncing issues, PRs, and project items.
pointer
Package pointer provides generic helpers for converting values to and from pointers.
Package pointer provides generic helpers for converting values to and from pointers.
version
Package version exposes the ghp-sync version, set at build time or derived from module build info.
Package version exposes the ghp-sync version, set at build time or derived from module build info.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL