Skip to content

Subcommands: vclog version, bump, news, formats, autotag, history, help - #22

Merged
trans merged 2 commits into
masterfrom
subcommands
Nov 24, 2026
Merged

trans merged 2 commits into
masterfrom
subcommands

Conversation

@trans

@trans trans commented Nov 24, 2026

Copy link
Copy Markdown
Member

VCLog's commands become subcommands of vclog, in place of an executable each.

Before Now
vclog vclog or vclog log
vclog -r vclog history (-r still works)
vclog-version vclog version
vclog-bump vclog bump
vclog-news vclog news
vclog-formats vclog formats
vclog-autotag vclog autotag
vclog help, vclog help COMMAND

Compatibility

  • The five separate executables still work. Each is now a few lines that call the subcommand, and prints nothing extra, so scripts that capture their output are unaffected. They are deprecated in the README, man page and History, and TODO.md records that they go in 2.0.
  • Plain vclog with options still prints a change log.
  • One change in behaviour: a first argument that isn't a command or an option is now an error ("unknown command"). Before, it was ignored.

Also

  • Autotag's --prefix took no value and --file raised an error; both fixed.
  • Autotag had no test. A unit test now tags an untagged release from a history file, and a feature runs it as a dry run.
  • Features cover every subcommand, help, an unknown command, and each deprecated executable.
  • Version is 1.11.0, with the History entry under Unreleased.

🤖 Generated with Claude Code

trans and others added 2 commits November 24, 2026 18:19
The separate executables stay as deprecated shims until 2.0 (TODO.md).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…will tag

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@trans

trans commented Nov 24, 2026

Copy link
Copy Markdown
Member Author

Added in c3f79d9: autotag now puts a release's tag on the latest commit made on or before its History date, counting the whole of that day (it used to stop at the start of the day, so a release committed on its own date was tagged one commit early). Its prompt now also shows the commit the tag will go on. One new unit test; History updated.

@trans
trans merged commit 9f2742b into master Nov 24, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant