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

changelog

Preview the next changelog, and check for missing news fragments.

deps

Report, check, and upgrade the base packages of the repository’s components.

release

Release the repository and its packages.

settings

Show, validate, and migrate repository.toml, and print CI outputs.

versions

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

--version, --no-version

flag

no

-

Report the version of this app.

--install-completion

flag

no

-

Install completion for the current shell.

--show-completion

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

Subcommands: check, preview.

repoplone changelog check#

Report which areas of the repository need a news fragment.

Argument or option

Type

Required

Default

Description

--compare-with

str

no

origin/main

Branch to compare with. Changes since the current branch left it count, as do uncommitted and untracked files.

--json

flag

no

-

Print the report as JSON.

--github

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

component

str

no

backend

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

--package

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

component

str

no

all

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

component

str

yes

-

Which component to upgrade? backend or frontend, or the name of a [[component]].

version

str

no

latest

New version the base package

repoplone release#

Release packages in this repository

Argument or option

Type

Required

Default

Description

desired_version

str

no

next

Next version. Could be the version number, or a segment like: a, minor, major, rc

--dry-run, --no-dry-run

flag

no

-

Is this a dry run?

--start-step

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

--dry-run

flag

no

-

Print the migrated file instead of writing it.

--path

path

no

-

repository.toml to migrate. Defaults to the detected one.

--components

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

--json

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