cub variant unmerged
cub variant unmerged
List the upstream revisions a variant has not merged
Synopsis
List the upstream revisions each unit of a variant has not merged, as git log --no-merged does for a branch: what choosing what to promote next reads.
The revisions are those of the upstream unit of each of the variant's UpgradeUnit and MergeUnits links that the link has neither merged nor skipped, oldest first, with the changeset and change order each belongs to and its description. --skipped lists the skipped ones too, with why, including those the link's pointer has moved past; a declined skip is listed while the link still has earlier revisions to take. --where narrows the links.
A revision listed is taken by the next plain upgrade of the unit, by "cub variant promote", or by name with "cub variant promote --revisions"; "cub variant skip" leaves it out.
Examples:
# What web/prod has still to take
cub variant unmerged web/prod
# And what it skipped, and why
cub variant unmerged web/prod --skipped
cub variant unmerged <variant> [flags]
Options
-h, --help help for unmerged
--include-hidden string[="*"] Also select hidden entities, to list or to act on: those hidden for the given HiddenReasons, comma-separated, as in --include-hidden=BackingUnit, or for any reason but Archived when given no value or "*". ConfigHub/YAML Units, which hold the configuration of other entities, are hidden with the reason BackingUnit. Archived entities are selected only when the reasons name Archived, as in --include-hidden=Archived or --include-hidden='*,Archived'. A --where naming entities by Slug or ID lists them whether hidden or not, but a bulk operation acts on archived ones only when --include-hidden names Archived
-o, --output string Output format. One of: json, yaml, name, wide, mutations, jq=<expr>, yq=<expr>, custom-columns=<spec>
--quiet No default output.
--skipped list the skipped revisions too, with the reason each was skipped
--verbose Detailed output, additive with default output
--where string Filter expression using SQL-inspired syntax. Supports conjunctions with AND. String operators: =, !=, <, >, <=, >=, LIKE, NOT LIKE, ILIKE, ~~, !~~, ~, ~*, !~, !~*. Pattern matching with LIKE/ILIKE uses % and _ wildcards. Regex operators (~, ~*, !~, !~*) support POSIX regular expressions. A related entity is referenced by prefix, as in "UpstreamUnit.Slug = 'base'"; when the reference names a list, a * segment matches any element, as in "FromLink.*.Slug = 'upgrade-app'". Examples: "Slug LIKE 'app-%'", "DisplayName ILIKE '%backend%'", "Slug ~ '^[a-z]+-[0-9]+$'". 'cub <entity> explain --where' lists the attributes an entity's expressions can name
Options inherited from parent commands
--context string The context to use for this command
--debug Debug output
SEE ALSO
- cub variant - Variant commands