Skip to content

Latest commit

 

History

History
70 lines (53 loc) · 3.3 KB

07_breeze_maintenance_tasks.rst

File metadata and controls

70 lines (53 loc) · 3.3 KB

Breeze maintenance tasks

This document describes Breeze maintenance tasks, that are mostly useful when you are modifying Breeze itself.

This documentation contains exported SVG screenshots with "help" of their commands and parameters. You can regenerate those images that need to be regenerated because their commands changed (usually after the breeze code has been changed) via regenerate-command-images command. Usually this is done automatically via pre-commit, but sometimes (for example when rich or rich-click library changes) you need to regenerate those images.

You can add --force flag (or FORCE="true" environment variable to regenerate all images (not only those that need regeneration). You can also run the command with --check-only flag to simply check if there are any images that need regeneration.

Breeze setup regenerate-command-images

When you add a breeze command or modify a parameter, you are also supposed to make sure that "rich groups" for the command is present and that all parameters are assigned to the right group so they can be nicely presented in --help output. You can check that via check-all-params-in-groups command.

Breeze setup check-all-params-in-group

When you add volumes mounted to docker, they need to be added in docker_command_utils.py - so that they are added by plain docker command, but they also need to be synchronized with local.yml. This can be done via synchronize-local-mounts command.

Breeze setup synchronize-local-mounts

Next step: Follow the CI tasks guide to learn how to use Breeze for regular development tasks.