Command line#
This page lists every repoplone command, with its arguments and options. It is generated from the command line itself. It matches the repoplone version these pages document.
Run any command with --help for the same information in the terminal.
Every command reads the repository.toml file of the repository it runs in.
Command groups#
Group |
Purpose |
|---|---|
Preview the next changelog, and check for missing news fragments. |
|
Report, check, and upgrade the base packages of the repository’s components. |
|
Release the repository and its packages. |
|
Show, validate, and migrate |
|
Report current and next versions, and the versions of the base packages. |
Commands#
repoplone#
Welcome to Plone Repository Helper.
Subcommands: changelog, deps, release, settings, versions.
Argument or option |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
flag |
no |
- |
Report the version of this app. |
|
flag |
no |
- |
Install completion for the current shell. |
|
flag |
no |
- |
Show completion for the current shell, to copy it or customize the installation. |
repoplone changelog#
Preview and check the changelog of a repository
repoplone changelog check#
Report which areas of the repository need a news fragment.
Argument or option |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
str |
no |
|
Branch to compare with. Changes since the current branch left it count, as do uncommitted and untracked files. |
|
flag |
no |
- |
Print the report as JSON. |
|
flag |
no |
- |
Print GitHub Actions step outputs: missing, areas and summary. |
repoplone changelog preview#
Generate a draft of the final changelog.
repoplone deps#
Check and manage dependencies
Subcommands: check, constraints, info, stamp-volto-version, sync, upgrade.
repoplone deps check#
Check latest version of base package and compare it to our current pinning.
repoplone deps constraints#
Update constraints for a python component.
Argument or option |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
str |
no |
|
Which python component to update constraints? |
repoplone deps info#
Report the base packages in use.
repoplone deps stamp-volto-version#
Stamp the Volto core version into the frontend package.json.
Argument or option |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
str |
no |
- |
Frontend package to stamp. Defaults to the primary one. |
repoplone deps sync#
Sync the lockfile of a component, with make <component>-install.
Argument or option |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
str |
no |
|
Which component to sync the lockfile of? A component name, or ‘all’ for every component. |
repoplone deps upgrade#
Upgrade a component’s base package to a newer version.
Argument or option |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
str |
yes |
- |
Which component to upgrade? backend or frontend, or the name of a [[component]]. |
|
str |
no |
|
New version the base package |
repoplone release#
Release packages in this repository
Argument or option |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
str |
no |
|
Next version. Could be the version number, or a segment like: a, minor, major, rc |
|
flag |
no |
- |
Is this a dry run? |
|
str |
no |
- |
Restart the release from this step id, skipping earlier steps. Requires a concrete version when the version step is skipped. |
repoplone settings#
Manage settings for a repository
Subcommands: dump, github-outputs, migrate, release-steps, sanity-check.
repoplone settings dump#
Dumps the current repository settings as JSON.
repoplone settings github-outputs#
Print the repository settings as GitHub Actions step outputs.
repoplone settings migrate#
Rewrite repository.toml from specification 1 to specification 2.
Argument or option |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
flag |
no |
- |
Print the migrated file instead of writing it. |
|
path |
no |
- |
repository.toml to migrate. Defaults to the detected one. |
|
flag |
no |
- |
Also write the implicit backend and frontend components out as [[component]] tables. Works on a specification 2 file too. |
repoplone settings release-steps#
Show the ordered list of release pipeline steps.
Argument or option |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
flag |
no |
- |
Emit the pipeline as JSON instead of a table. |
repoplone settings sanity-check#
Validate repository.toml and resolve every release step.
repoplone versions#
Display version information about this repository
Subcommands: current, dependencies, next.
repoplone versions current#
Report versions of all components of this repository.
repoplone versions dependencies#
Report versions of major dependencies.
repoplone versions next#
Report next version of all components of this repository.
See also
repository.toml, for the file every command reads.
Exit codes, for what each exit code means.