releasecredits

command
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2026 License: Apache-2.0 Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command releasecredits prints the "Registry contributors" block of the release notes from GitHub pull request JSON.

The input is what `gh api` returns for the merged pull requests that touched registry/ since the previous tag: one or more JSON arrays of pull request objects (as `gh api --paginate` or several concatenated calls produce), or single objects. Unmerged pull requests (no merged_at), the dev-to-main integration PR and release-please PRs (head ref "dev" or "release-please--*"), bots (user type "Bot" or a login ending in "[bot]") and logins that are not valid GitHub handles are skipped. Handles are deduplicated case-insensitively and sorted. With no contributor it prints nothing.

Usage: go run ./tools/releasecredits [file] (reads stdin without a file)

Exit codes: 0 done, 2 the input cannot be read or is not pull request JSON.

Jump to

Keyboard shortcuts

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