tools

command module
v0.0.0-...-85cfa50 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

README

Enhancement Tools

Local Repository

The tools in this directory are designed to run out of a local clone of the openshift/enhancements git repository. The repository can be cloned from any source, but one of the remotes must point to the openshift/enhancements repo on GithHub.

Configuring

You need to create a ~/.config/ocp-enhancements/config.yml containing a personal access token:

github:
  token: "deadbeefdeadbeefdeadbeefdeadbeef"

Open Enhancement Status Report

From the tools directory, run:

go run ./main.go report

There are command line options to control the range of time scanned. Use the -h option to see the help.

Reviewer Stats

From the tools directory, run:

go run ./main.go reviewers

To see reviewer contributions on PRs in the last 31 days.

There are command line options to control the number of days and which repository to scan. Use the -h option to see the help.

It is common for bot accounts to comment a lot on PRs. To ignore those comments, use the --ignore flag, passing the name of the account to ignore. The option can be repeated. For example

go run ./main.go reviewers --ignore openshift-ci-robot

The list of accounts to ignore can also be included in the configuration file, like this.

github:
  token: "deadbeefdeadbeefdeadbeefdeadbeef"
reviewers:
  ignore:
    - openshift-ci-robot

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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