Skip to content

feat: a branch's commands hold from a version of the template, so the flags of the next release wait in variants.json - #20

Merged
Vovanda merged 1 commit into
fullfrom
feat/variants-since
Oct 6, 2026
Merged

Vovanda merged 1 commit into
fullfrom
feat/variants-since

Conversation

@Vovanda

@Vovanda Vovanda commented Oct 6, 2026

Copy link
Copy Markdown
Collaborator

The flags of the next release can be written down before it: a branch's generate is a list of entries, each with since and its commands, and the generation uses the newest entry the version has reached. When the release comes, its branches are generated with its flags without touching variants.json.

  • The version is the release's tag (v2.7.0 -> 2.7.0), or for a branch of the template the version of its version.json without the label (2.8.0-rc -> 2.8.0).
  • A version below every entry, or an entry with no commands, fails the generation with its name.
  • Every branch has an entry since 2.7.0 with its present commands; full and full-dev have one since 2.8.0 where Orders, the command with -M false, takes --MongoDB and --Notify email.
  • An old entry can go whenever nothing older is generated.

Checked: the choice for 2.6.2 (fails), 2.7.0, 2.7.5, 2.8.0, 2.9.0, 2.10.0, 3.0.0 and for a branch build; full generated from v2.7.0 by its 2.7.0 entry; full-dev generated from dev by its 2.8.0 entry and All.sln built with no errors or warnings. Reviewed before this PR: four rounds.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Vefp3uznXHA37YYMCkUouw

… flags of the next release wait in variants.json

- variants.json: generate is a list of entries, each with "since" and its commands; the newest entry the
  version being generated has reached is used
- the version is the release's tag, or the version.json of a branch of the template without its label
  (2.8.0-rc is 2.8.0); a version below every entry, or an entry with no commands, fails the generation
- full from 2.8.0: Orders takes --MongoDB and --Notify email - it sends the email and, generated with
  -M false, unpacks the part of Common the email needs; full-dev, generated from dev, is the same
- an old entry can go whenever nothing older is generated: the choice does not depend on it
@Vovanda
Vovanda merged commit df80db0 into full Oct 6, 2026
3 checks passed
@Vovanda
Vovanda deleted the feat/variants-since branch October 6, 2026 09:50
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