On this page
Ecosystem keyword injection that adds the rlsbl keyword to package.json, pyproject.toml, and GitHub repository topics during scaffold.
#rlsbl.tagging
#rlsbl.tagging
Ecosystem keyword injection that adds the rlsbl tag to package manifests (package.json, pyproject.toml, etc.) and GitHub repository topics.
#ensure_npm_keyword
def ensure_npm_keyword(dir_path='.', quiet=False, *, project_root)Add "rlsbl" to the keywords array in package.json if not already present.
#ensure_pypi_keyword
def ensure_pypi_keyword(dir_path='.', quiet=False, *, project_root)Add "rlsbl" to the keywords array in pyproject.toml if not already present.
#ensure_github_topic
def ensure_github_topic(quiet=False)Add "rlsbl" topic to the GitHub repository if not already present.
Both API calls go through gh api, which resolves the credential inside its own process (GH_TOKEN / GITHUB_TOKEN / the stored login, in gh's own precedence). rlsbl never asks for the raw token: putting a live credential on a captured stdout pipe is what the observe standard forbids (see :mod:rlsbl.observe_allowlist).
#ensure_tags
def ensure_tags(registries, target_paths=None, quiet=False, *, project_root)Tag manifests and GitHub repo based on detected registries.