internal/

directory
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2026 License: Apache-2.0

Directories

Path Synopsis
Package app holds Deps, the dependencies every command receives.
Package app holds Deps, the dependencies every command receives.
Package buildinfo reports the version, commit and build date of the binary.
Package buildinfo reports the version, commit and build date of the binary.
Package classify splits release notes into entries and gives each a kind (breaking, feature, fix and so on) with a confidence.
Package classify splits release notes into entries and gives each a kind (breaking, feature, fix and so on) with a confidence.
Package cli builds the cobra command tree and maps errors to exit codes.
Package cli builds the cobra command tree and maps errors to exit codes.
Package complete builds shell completion functions from local data: enum flags whose help text and completions come from one list, file and directory filters, and dynamic lists with a timeout.
Package complete builds shell completion functions from local data: enum flags whose help text and completions come from one list, file and directory filters, and dynamic lists with a timeout.
Package config loads layered configuration and records where each value came from.
Package config loads layered configuration and records where each value came from.
Package docsurl builds links to the relgap docs site, so help texts, messages and the config template never point users at paths in the repository.
Package docsurl builds links to the relgap docs site, so help texts, messages and the config template never point users at paths in the repository.
Package enrich adds end-of-life dates from endoflife.date and known vulnerabilities from OSV to a tool's versions, and reads the Go build info of installed binaries.
Package enrich adds end-of-life dates from endoflife.date and known vulnerabilities from OSV to a tool's versions, and reads the Go build info of installed binaries.
Package execx runs external tools such as terragrunt, terraform, tofu and mise.
Package execx runs external tools such as terragrunt, terraform, tofu and mise.
Package ghcomment keeps one relgap comment per report kind on a GitHub pull request, edited in place and left alone when its content hasn't changed.
Package ghcomment keeps one relgap comment per report kind on a GitHub pull request, edited in place and left alone when its content hasn't changed.
Package github lists a repository's releases and tags and fetches release bodies.
Package github lists a repository's releases and tags and fetches release bodies.
Package htmlmd turns a part of an HTML page into Markdown, selected and cleaned with simple CSS selectors.
Package htmlmd turns a part of an HTML page into Markdown, selected and cleaned with simple CSS selectors.
Package httpx builds the HTTP client every network call goes through: a disk cache with ETag revalidation, retries with backoff, a per-host concurrency and rate limit, and a guard that stops at an exhausted GitHub rate limit.
Package httpx builds the HTTP client every network call goes through: a disk cache with ETag revalidation, retries with backoff, a per-host concurrency and rate limit, and a guard that stops at an exhausted GitHub rate limit.
Package mcpkit runs a stdio MCP server whose tools are read-only and answer with the JSON envelope of --format json, split into pages with an opaque cursor when an answer passes the size cap.
Package mcpkit runs a stdio MCP server whose tools are read-only and answer with the JSON envelope of --format json, split into pages with an opaque cursor when an answer passes the size cap.
Package mcpserver defines the digest, breaking_changes, outdated, drift and resolve tools and the upgrade_review prompt of `relgap mcp`.
Package mcpserver defines the digest, breaking_changes, outdated, drift and resolve tools and the upgrade_review prompt of `relgap mcp`.
Package mdindex parses a changelog once and indexes its sections by version heading.
Package mdindex parses a changelog once and indexes its sections by version heading.
Package misex runs mise and decodes its JSON output.
Package misex runs mise and decodes its JSON output.
Package prose checks text against the mechanical parts of .claude/rules/writing.md.
Package prose checks text against the mechanical parts of .claude/rules/writing.md.
Package registry resolves a tool name to a ToolSpec by merging the user config, relgap's curated entries, mise's registry and an index of the aqua registry.
Package registry resolves a tool name to a ToolSpec by merging the user config, relgap's curated entries, mise's registry and an index of the aqua registry.
remote
Package remote looks tools up in the Terraform registry, Artifact Hub, npm, PyPI and the GitHub search API, for the resolver in package registry.
Package remote looks tools up in the Terraform registry, Artifact Hub, npm, PyPI and the GitHub search API, for the resolver in package registry.
Package render selects output formats and writes the JSON envelope.
Package render selects output formats and writes the JSON envelope.
Package report builds the reports relgap prints.
Package report builds the reports relgap prints.
Package sarif writes SARIF 2.1.0 logs, the format GitHub code scanning reads.
Package sarif writes SARIF 2.1.0 logs, the format GitHub code scanning reads.
Package scan finds the tool versions a project pins (mise, asdf, aqua, Terraform, Dockerfiles, CI files and more) and maps each raw name to a registry tool.
Package scan finds the tool versions a project pins (mise, asdf, aqua, Terraform, Dockerfiles, CI files and more) and maps each raw name to a registry tool.
Package source fetches release notes for a tool's versions.
Package source fetches release notes for a tool's versions.
Package summarize asks a configured model for a cited upgrade-risk summary of a digest and keeps only the claims that cite entry IDs it was sent.
Package summarize asks a configured model for a cited upgrade-risk summary of a digest and keeps only the claims that cite entry IDs it was sent.
Package testutil has helpers shared by tests.
Package testutil has helpers shared by tests.
fakebin
Package fakebin turns the test binary into fake executables such as terragrunt or mise.
Package fakebin turns the test binary into fake executables such as terragrunt or mise.
ghtest
Package ghtest has GitHub settings for cassette tests: the scrubber and the token to record with.
Package ghtest has GitHub settings for cassette tests: the scrubber and the token to record with.
mcptest
Package mcptest connects an in-process MCP client to an mcpkit.Server and compares tool results with --format json golden files.
Package mcptest connects an in-process MCP client to an mcpkit.Server and compares tool results with --format json golden files.
sarifcheck
Package sarifcheck validates SARIF logs against the SARIF 2.1.0 JSON schema that GitHub's upload-sarif action checks uploads with.
Package sarifcheck validates SARIF logs against the SARIF 2.1.0 JSON schema that GitHub's upload-sarif action checks uploads with.
vcr
Package vcr records HTTP interactions into go-vcr cassettes and replays them in tests.
Package vcr records HTTP interactions into go-vcr cassettes and replays them in tests.
Package version parses tags under a version scheme, builds the sorted set of a tool's versions, and selects the versions in a range.
Package version parses tags under a version scheme, builds the sorted set of a tool's versions, and selects the versions in a range.
Package yamlschema validates YAML documents against a JSON Schema and reports each problem with its file:line:column.
Package yamlschema validates YAML documents against a JSON Schema and reports each problem with its file:line:column.

Jump to

Keyboard shortcuts

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