rlsbl v0.113.0 /rlsbl.commands.unreleased
On this page

Unreleased command that lists commits since the last tag and checks whether each one is covered by a corresponding changelog entry.

#rlsbl.commands.unreleased

#rlsbl.commands.unreleased

Unreleased command that lists commits since the last tag and checks whether each one is covered by a corresponding changelog entry.

#_get_commits_since

python
def _get_commits_since(tag)

Get commits since the given tag (or all commits if tag is None).

Returns a list of dicts with keys: hash, subject, author, date. Uses NUL as field separator for safe parsing.

#_resolve_scope

python
def _resolve_scope(root_str)

Resolve the monorepo/releasable context for the project at root_str.

Returns (project, tag_glob, changes_dir, members):

  • project is the WorkspaceProject (None in standalone mode).
  • tag_glob scopes the "last release tag" lookup.
  • changes_dir is the releasable-aware JSONL directory. A releasable

member's entries live under .rlsbl-monorepo/releasables/<name>/, NOT under the member package -- resolving it per-package made every releasable member report "JSONL changelog not set up".

  • members are the releasable's member projects (empty otherwise), used

to scope commits to the whole releasable rather than one member.

#run_cmd

python
def run_cmd(registry, args, flags, project_root)

List unreleased commits and their changelog coverage.

Usage: rlsbl unreleased [--json]

Search