RepoPlone 2.0.0a1__tar.gz → 2.0.0a2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/Makefile +1 -1
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/PKG-INFO +179 -12
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/README.md +178 -11
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/__init__.py +1 -1
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/_types/__init__.py +2 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/_types/package.py +7 -2
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/_types/repository.py +92 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/cli.py +2 -2
- repoplone-2.0.0a2/src/repoplone/commands/changelog.py +163 -0
- repoplone-2.0.0a2/src/repoplone/commands/dependencies/__init__.py +368 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/commands/settings.py +58 -3
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/schemas/repository-v2.json +86 -22
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/settings/__init__.py +100 -5
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/settings/migrate.py +199 -7
- repoplone-2.0.0a2/src/repoplone/settings/spec.py +527 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/utils/__init__.py +64 -21
- repoplone-2.0.0a2/src/repoplone/utils/_components.py +293 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/utils/_path.py +9 -1
- repoplone-2.0.0a2/src/repoplone/utils/_towncrier.py +126 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/utils/changelog.py +56 -11
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/utils/dependencies/distribution.py +49 -6
- repoplone-2.0.0a2/src/repoplone/utils/dependencies/frontend.py +369 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/utils/dependencies/versions.py +26 -9
- repoplone-2.0.0a2/src/repoplone/utils/news.py +272 -0
- repoplone-2.0.0a2/src/repoplone/utils/settings.py +169 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/utils/versions/__init__.py +7 -18
- repoplone-2.0.0a2/tests/_resources/fake-components/aurora/package.json +10 -0
- repoplone-2.0.0a2/tests/_resources/fake-components/aurora/pnpm-lock.yaml +31 -0
- repoplone-2.0.0a2/tests/_resources/fake-components/aurora/pnpm-workspace.yaml +12 -0
- repoplone-2.0.0a2/tests/_resources/fake-components/backend/pyproject.toml +10 -0
- repoplone-2.0.0a2/tests/_resources/fake-components/backend/version.txt +1 -0
- repoplone-2.0.0a2/tests/_resources/fake-components/docker-compose.yml +1 -0
- repoplone-2.0.0a2/tests/_resources/fake-components/packages/acme-videos/pyproject.toml +18 -0
- repoplone-2.0.0a2/tests/_resources/fake-components/packages/aurora-videos/package.json +8 -0
- repoplone-2.0.0a2/tests/_resources/fake-components/packages/videos-core/package.json +6 -0
- repoplone-2.0.0a2/tests/_resources/fake-components/packages/volto-videos/package.json +8 -0
- repoplone-2.0.0a2/tests/_resources/fake-components/packages/volto-videos/towncrier.toml +3 -0
- repoplone-2.0.0a2/tests/_resources/fake-components/repository.toml +62 -0
- repoplone-2.0.0a2/tests/_resources/fake-components/volto/mrs.developer.json +8 -0
- repoplone-2.0.0a2/tests/_resources/fake-components/volto/package.json +9 -0
- repoplone-2.0.0a2/tests/_resources/fake-components/volto/pnpm-lock.yaml +7 -0
- repoplone-2.0.0a2/tests/_resources/fake-frontend-only/version.txt +1 -0
- repoplone-2.0.0a2/tests/_resources/fake-frontend-root-package/package.json +7 -0
- repoplone-2.0.0a2/tests/_resources/fake-frontend-root-package/repository.toml +13 -0
- repoplone-2.0.0a2/tests/_resources/fake-frontend-root-package/towncrier.toml +3 -0
- repoplone-2.0.0a2/tests/_resources/fake-frontend-root-package/version.txt +1 -0
- repoplone-2.0.0a2/tests/_resources/fake-multi-package/frontend/mrs.developer.json +8 -0
- repoplone-2.0.0a2/tests/_resources/fake-multi-package/frontend/packages/volto-core/towncrier.toml +3 -0
- repoplone-2.0.0a2/tests/_resources/fake-multi-package/frontend/packages/volto-theme/towncrier.toml +3 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-multi-package/repository.toml +4 -4
- repoplone-2.0.0a2/tests/_resources/fake-multi-package/towncrier.toml +4 -0
- repoplone-2.0.0a2/tests/_resources/fake-project/backend/CHANGELOG.md +3 -0
- repoplone-2.0.0a2/tests/_resources/fake-project/frontend/packages/fake-project/CHANGELOG.md +3 -0
- repoplone-2.0.0a2/tests/_resources/fake-project/frontend/packages/fake-project/news/.gitkeep +0 -0
- repoplone-2.0.0a2/tests/_resources/fake-project/frontend/packages/fake-project/src/index.js +0 -0
- repoplone-2.0.0a2/tests/_resources/fake-project-root-changelog/frontend/packages/fake-project/CHANGELOG.md +3 -0
- repoplone-2.0.0a2/tests/_resources/fake-root-package/CHANGELOG.md +3 -0
- repoplone-2.0.0a2/tests/_resources/fake-root-package/news/.gitkeep +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-root-package/repository.toml +1 -1
- repoplone-2.0.0a2/tests/_resources/fake-root-package/src/acme_tool/__init__.py +0 -0
- repoplone-2.0.0a2/tests/_resources/fake_distribution/backend/CHANGELOG.md +3 -0
- repoplone-2.0.0a2/tests/_resources/fake_distribution/frontend/packages/fake-distribution/CHANGELOG.md +3 -0
- repoplone-2.0.0a2/tests/_resources/fake_distribution/frontend/packages/fake-distribution/news/.gitkeep +0 -0
- repoplone-2.0.0a2/tests/_resources/frontend-base-package/backend/CHANGELOG.md +3 -0
- repoplone-2.0.0a2/tests/_resources/frontend-base-package/frontend/packages/fake-project/CHANGELOG.md +3 -0
- repoplone-2.0.0a2/tests/_resources/frontend-base-package/frontend/packages/fake-project/news/.gitkeep +0 -0
- repoplone-2.0.0a2/tests/_resources/frontend-base-package/frontend/packages/fake-project/src/index.js +0 -0
- repoplone-2.0.0a2/tests/_resources/repository_toml/spec2_components.toml +52 -0
- repoplone-2.0.0a2/tests/_resources/repository_toml/spec2_components_reject_changelog_package.toml +20 -0
- repoplone-2.0.0a2/tests/_resources/repository_toml/spec2_components_reject_duplicate_name.toml +24 -0
- repoplone-2.0.0a2/tests/_resources/repository_toml/spec2_components_reject_duplicate_path.toml +24 -0
- repoplone-2.0.0a2/tests/_resources/repository_toml/spec2_components_reject_family_mismatch.toml +19 -0
- repoplone-2.0.0a2/tests/_resources/repository_toml/spec2_components_reject_undeclared.toml +19 -0
- repoplone-2.0.0a2/tests/_resources/repository_toml/spec2_components_reject_without_tables.toml +14 -0
- repoplone-2.0.0a2/tests/_resources/repository_toml/spec2_components_release_only.toml +25 -0
- repoplone-2.0.0a2/tests/_resources/repository_toml/spec2_components_with_package_keys.toml +21 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/repository_toml/spec2_cookieplone.toml +1 -1
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/repository_toml/spec2_invalid_base_package_on_generic.toml +1 -1
- repoplone-2.0.0a2/tests/_resources/repository_toml/spec2_invalid_component_bad_name.toml +18 -0
- repoplone-2.0.0a2/tests/_resources/repository_toml/spec2_invalid_component_base_package_on_generic.toml +20 -0
- repoplone-2.0.0a2/tests/_resources/repository_toml/spec2_invalid_component_empty_list.toml +19 -0
- repoplone-2.0.0a2/tests/_resources/repository_toml/spec2_invalid_component_missing_path.toml +18 -0
- repoplone-2.0.0a2/tests/_resources/repository_toml/spec2_invalid_component_not_an_array.toml +18 -0
- repoplone-2.0.0a2/tests/_resources/repository_toml/spec2_invalid_component_unknown_key.toml +20 -0
- repoplone-2.0.0a2/tests/_resources/repository_toml/spec2_invalid_component_unknown_type.toml +19 -0
- repoplone-2.0.0a2/tests/_resources/repository_toml/spec2_invalid_component_version_file_on_node.toml +20 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/repository_toml/spec2_invalid_missing_changelog.toml +1 -1
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/repository_toml/spec2_invalid_missing_type.toml +1 -1
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/repository_toml/spec2_invalid_plone_versions_on_node.toml +1 -1
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/repository_toml/spec2_invalid_python_versions_on_node.toml +1 -1
- repoplone-2.0.0a2/tests/_resources/repository_toml/spec2_invalid_towncrier_empty_section.toml +14 -0
- repoplone-2.0.0a2/tests/_resources/repository_toml/spec2_invalid_towncrier_empty_settings.toml +14 -0
- repoplone-2.0.0a2/tests/_resources/repository_toml/spec2_invalid_towncrier_flat_section.toml +14 -0
- repoplone-2.0.0a2/tests/_resources/repository_toml/spec2_invalid_towncrier_flat_settings.toml +14 -0
- repoplone-2.0.0a2/tests/_resources/repository_toml/spec2_invalid_towncrier_not_a_table.toml +14 -0
- repoplone-2.0.0a2/tests/_resources/repository_toml/spec2_invalid_towncrier_package_unknown_key.toml +14 -0
- repoplone-2.0.0a2/tests/_resources/repository_toml/spec2_invalid_towncrier_repository_enabled.toml +16 -0
- repoplone-2.0.0a2/tests/_resources/repository_toml/spec2_invalid_towncrier_repository_unknown_key.toml +17 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/repository_toml/spec2_invalid_unknown_package_key.toml +1 -1
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/repository_toml/spec2_invalid_unknown_type.toml +1 -1
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/repository_toml/spec2_multi_package.toml +4 -4
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/repository_toml/spec2_node_aurora.toml +1 -1
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/repository_toml/spec2_node_aurora_default_base_package.toml +1 -1
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/repository_toml/spec2_release_pipeline.toml +1 -1
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/repository_toml/spec2_root_package.toml +1 -1
- repoplone-2.0.0a2/tests/_resources/repository_toml/spec2_section_override.toml +23 -0
- repoplone-2.0.0a1/tests/_resources/repository_toml/spec2_section_override.toml → repoplone-2.0.0a2/tests/_resources/repository_toml/spec2_towncrier_defaults.toml +3 -5
- repoplone-2.0.0a2/tests/_resources/repository_toml/spec2_towncrier_package_forms.toml +32 -0
- repoplone-2.0.0a2/tests/_resources/repository_toml/spec2_towncrier_package_section_only.toml +14 -0
- repoplone-2.0.0a2/tests/_resources/repository_toml/spec2_towncrier_package_settings_only.toml +14 -0
- repoplone-2.0.0a2/tests/_resources/repository_toml/spec2_towncrier_repository_defaults.toml +15 -0
- repoplone-2.0.0a2/tests/_resources/repository_toml/spec2_towncrier_repository_section_only.toml +16 -0
- repoplone-2.0.0a2/tests/_resources/repository_toml/spec2_towncrier_repository_settings_only.toml +16 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/repository_toml/spec2_type_aliases.toml +2 -2
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/commands/changelog/test_changelog.py +8 -2
- repoplone-2.0.0a2/tests/commands/changelog/test_changelog_check.py +292 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/commands/deps/test_deps.py +3 -3
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/commands/settings/test_migrate.py +164 -2
- repoplone-2.0.0a2/tests/commands/test_components_commands.py +429 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/conftest.py +20 -0
- repoplone-2.0.0a2/tests/settings/test_components.py +474 -0
- repoplone-2.0.0a2/tests/settings/test_towncrier.py +453 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/test_schemas.py +132 -21
- repoplone-2.0.0a2/tests/utils/dependencies/test_utils_config_dependency.py +214 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/utils/test_utils_path.py +5 -3
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/utils/test_utils_settings.py +23 -0
- repoplone-2.0.0a1/src/repoplone/commands/changelog.py +0 -23
- repoplone-2.0.0a1/src/repoplone/commands/dependencies/__init__.py +0 -317
- repoplone-2.0.0a1/src/repoplone/settings/spec.py +0 -252
- repoplone-2.0.0a1/src/repoplone/utils/dependencies/frontend.py +0 -191
- repoplone-2.0.0a1/src/repoplone/utils/settings.py +0 -36
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/.gitignore +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/pyproject.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/_types/pipeline.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/app.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/commands/__init__.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/commands/release.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/commands/versions.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/defaults.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/distributions.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/exceptions.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/integrations/__init__.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/integrations/base.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/integrations/make.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/integrations/pocompile.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/integrations/release_it.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/integrations/towncrier.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/integrations/uv.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/release/__init__.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/release/_types.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/release/config.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/release/pipeline.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/release/steps/__init__.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/release/steps/changelog.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/release/steps/git.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/release/steps/github.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/release/steps/local_step.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/release/steps/node.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/release/steps/python.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/release/steps/repository.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/release/steps/summary.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/release/steps/version.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/schemas/__init__.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/schemas/repository-v1.json +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/settings/default.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/settings/parser.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/utils/_git.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/utils/_github.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/utils/_hatch.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/utils/_requests.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/utils/dependencies/__init__.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/utils/dependencies/constraints.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/utils/dependencies/pyproject.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/utils/display.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/utils/python_release.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/utils/release.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/utils/toml.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/utils/versions/calver.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/src/repoplone/utils/versions/semver.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-addon/CHANGELOG.md +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-addon/backend/CHANGELOG.md +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-addon/backend/README.md +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-addon/backend/news/.changelog_template.jinja +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-addon/backend/news/.gitkeep +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-addon/backend/news/1.feature +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-addon/backend/pyproject.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-addon/backend/src/fake/project/__init__.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-addon/backend/version.txt +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-addon/docker-compose.yml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-addon/frontend/README.md +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-addon/frontend/mrs.developer.json +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-addon/frontend/packages/fake-addon/.release-it.json +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-addon/frontend/packages/fake-addon/CHANGELOG.md +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-addon/frontend/packages/fake-addon/news/.gitkeep +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-addon/frontend/packages/fake-addon/news/1.feature +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-addon/frontend/packages/fake-addon/node_modules/@plone/scripts/templates/towncrier_template.jinja +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-addon/frontend/packages/fake-addon/package.json +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-addon/frontend/packages/fake-addon/src/index.js +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-addon/frontend/packages/fake-addon/towncrier.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-addon/frontend/pnpm-lock.yaml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-addon/frontend/pnpm-workspace.yaml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-addon/repository.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-addon/version.txt +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-backend-only/CHANGELOG.md +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-backend-only/backend/CHANGELOG.md +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-backend-only/backend/pyproject.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-backend-only/backend/testpkg/__init__.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-backend-only/docker-compose.yml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-backend-only/repository.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-backend-only/version.txt +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-backend-only-no-section/CHANGELOG.md +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-backend-only-no-section/backend/CHANGELOG.md +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-backend-only-no-section/backend/pyproject.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-backend-only-no-section/backend/testpkg/__init__.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-backend-only-no-section/docker-compose.yml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-backend-only-no-section/repository.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-backend-only-no-section/version.txt +0 -0
- {repoplone-2.0.0a1/tests/_resources/fake-multi-package → repoplone-2.0.0a2/tests/_resources/fake-components}/CHANGELOG.md +0 -0
- {repoplone-2.0.0a1/tests/_resources/fake-multi-package/backend → repoplone-2.0.0a2/tests/_resources/fake-components/aurora}/CHANGELOG.md +0 -0
- {repoplone-2.0.0a1/tests/_resources/fake-multi-package/backend → repoplone-2.0.0a2/tests/_resources/fake-components}/news/.gitkeep +0 -0
- {repoplone-2.0.0a1/tests/_resources/fake-multi-package/backend/sources/acme.theme → repoplone-2.0.0a2/tests/_resources/fake-components/packages/acme-videos}/CHANGELOG.md +0 -0
- {repoplone-2.0.0a1/tests/_resources/fake-multi-package/backend/sources/acme.theme → repoplone-2.0.0a2/tests/_resources/fake-components/packages/acme-videos}/news/.gitkeep +0 -0
- {repoplone-2.0.0a1/tests/_resources/fake-multi-package/backend/sources/acme.theme/src/acme/theme → repoplone-2.0.0a2/tests/_resources/fake-components/packages/acme-videos/src/acme/videos}/__init__.py +0 -0
- {repoplone-2.0.0a1/tests/_resources/fake-multi-package/frontend/packages/volto-core → repoplone-2.0.0a2/tests/_resources/fake-components/packages/aurora-videos}/CHANGELOG.md +0 -0
- {repoplone-2.0.0a1/tests/_resources/fake-multi-package/frontend/packages/volto-core → repoplone-2.0.0a2/tests/_resources/fake-components/packages/aurora-videos}/news/.gitkeep +0 -0
- {repoplone-2.0.0a1/tests/_resources/fake-multi-package/frontend/packages/volto-core → repoplone-2.0.0a2/tests/_resources/fake-components/packages/aurora-videos}/towncrier.toml +0 -0
- {repoplone-2.0.0a1/tests/_resources/fake-multi-package/frontend/packages/volto-theme → repoplone-2.0.0a2/tests/_resources/fake-components/packages/videos-core}/CHANGELOG.md +0 -0
- {repoplone-2.0.0a1/tests/_resources/fake-multi-package/frontend/packages/volto-theme → repoplone-2.0.0a2/tests/_resources/fake-components/packages/videos-core}/news/.gitkeep +0 -0
- {repoplone-2.0.0a1/tests/_resources/fake-multi-package/frontend/packages/volto-theme → repoplone-2.0.0a2/tests/_resources/fake-components/packages/videos-core}/towncrier.toml +0 -0
- {repoplone-2.0.0a1/tests/_resources/fake-project-calver/backend → repoplone-2.0.0a2/tests/_resources/fake-components/packages/volto-videos}/CHANGELOG.md +0 -0
- {repoplone-2.0.0a1/tests/_resources/fake-multi-package → repoplone-2.0.0a2/tests/_resources/fake-components/packages/volto-videos}/news/.gitkeep +0 -0
- {repoplone-2.0.0a1/tests/_resources/fake-multi-package → repoplone-2.0.0a2/tests/_resources/fake-components}/towncrier.toml +0 -0
- {repoplone-2.0.0a1/tests/_resources/fake-frontend-only-no-section → repoplone-2.0.0a2/tests/_resources/fake-components}/version.txt +0 -0
- {repoplone-2.0.0a1/tests/_resources/fake-project-calver/frontend/packages/fake-project → repoplone-2.0.0a2/tests/_resources/fake-components/volto}/CHANGELOG.md +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-frontend-only/CHANGELOG.md +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-frontend-only/docker-compose.yml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-frontend-only/frontend/mrs.developer.json +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-frontend-only/frontend/package.json +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-frontend-only/frontend/packages/fake-frontend-only/CHANGELOG.md +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-frontend-only/frontend/packages/fake-frontend-only/package.json +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-frontend-only/repository.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-frontend-only-no-section/CHANGELOG.md +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-frontend-only-no-section/docker-compose.yml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-frontend-only-no-section/frontend/mrs.developer.json +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-frontend-only-no-section/frontend/packages/fake-frontend-only-no-section/CHANGELOG.md +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-frontend-only-no-section/frontend/packages/fake-frontend-only-no-section/package.json +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-frontend-only-no-section/repository.toml +0 -0
- {repoplone-2.0.0a1/tests/_resources/fake-frontend-only → repoplone-2.0.0a2/tests/_resources/fake-frontend-only-no-section}/version.txt +0 -0
- {repoplone-2.0.0a1/tests/_resources/fake-project-from-distribution/backend → repoplone-2.0.0a2/tests/_resources/fake-frontend-root-package}/CHANGELOG.md +0 -0
- {repoplone-2.0.0a1/tests/_resources/fake-multi-package/frontend → repoplone-2.0.0a2/tests/_resources/fake-frontend-root-package}/mrs.developer.json +0 -0
- {repoplone-2.0.0a1/tests/_resources/fake-project-calver/frontend/packages/fake-project → repoplone-2.0.0a2/tests/_resources/fake-frontend-root-package}/news/.gitkeep +0 -0
- {repoplone-2.0.0a1/tests/_resources/fake-project-from-distribution/frontend/packages/fake-project → repoplone-2.0.0a2/tests/_resources/fake-multi-package}/CHANGELOG.md +0 -0
- {repoplone-2.0.0a1/tests/_resources/fake-project-root-changelog → repoplone-2.0.0a2/tests/_resources/fake-multi-package}/backend/CHANGELOG.md +0 -0
- {repoplone-2.0.0a1/tests/_resources/fake-project-from-distribution/frontend/packages/fake-project → repoplone-2.0.0a2/tests/_resources/fake-multi-package/backend}/news/.gitkeep +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-multi-package/backend/news/1.feature +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-multi-package/backend/pyproject.toml +0 -0
- {repoplone-2.0.0a1/tests/_resources/fake-project-root-changelog/frontend/packages/fake-project → repoplone-2.0.0a2/tests/_resources/fake-multi-package/backend/sources/acme.theme}/CHANGELOG.md +0 -0
- {repoplone-2.0.0a1/tests/_resources/fake-project-root-changelog/frontend/packages/fake-project → repoplone-2.0.0a2/tests/_resources/fake-multi-package/backend/sources/acme.theme}/news/.gitkeep +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-multi-package/backend/sources/acme.theme/news/2.feature +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-multi-package/backend/sources/acme.theme/pyproject.toml +0 -0
- {repoplone-2.0.0a1/tests/_resources/fake-multi-package/backend/src/acme/core → repoplone-2.0.0a2/tests/_resources/fake-multi-package/backend/sources/acme.theme/src/acme/theme}/__init__.py +0 -0
- {repoplone-2.0.0a1/tests/_resources/fake-root-package/src/acme_tool → repoplone-2.0.0a2/tests/_resources/fake-multi-package/backend/src/acme/core}/__init__.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-multi-package/docker-compose.yml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-multi-package/frontend/package.json +0 -0
- {repoplone-2.0.0a1/tests/_resources/fake-project/backend → repoplone-2.0.0a2/tests/_resources/fake-multi-package/frontend/packages/volto-core}/CHANGELOG.md +0 -0
- {repoplone-2.0.0a1/tests/_resources/fake-project/frontend/packages/fake-project → repoplone-2.0.0a2/tests/_resources/fake-multi-package/frontend/packages/volto-core}/news/.gitkeep +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-multi-package/frontend/packages/volto-core/news/3.feature +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-multi-package/frontend/packages/volto-core/package.json +0 -0
- {repoplone-2.0.0a1/tests/_resources/fake-project/frontend/packages/fake-project → repoplone-2.0.0a2/tests/_resources/fake-multi-package/frontend/packages/volto-theme}/CHANGELOG.md +0 -0
- {repoplone-2.0.0a1/tests/_resources/fake-root-package → repoplone-2.0.0a2/tests/_resources/fake-multi-package/frontend/packages/volto-theme}/news/.gitkeep +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-multi-package/frontend/packages/volto-theme/news/4.feature +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-multi-package/frontend/packages/volto-theme/package.json +0 -0
- {repoplone-2.0.0a1/tests/_resources/fake_distribution/frontend/packages/fake-distribution → repoplone-2.0.0a2/tests/_resources/fake-multi-package}/news/.gitkeep +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-multi-package/news/5.feature +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-multi-package/version.txt +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project/CHANGELOG.md +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project/backend/README.md +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project/backend/news/.changelog_template.jinja +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project/backend/news/.gitkeep +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project/backend/news/1.feature +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project/backend/pyproject.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project/backend/src/fake/project/__init__.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project/docker-compose.yml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project/frontend/README.md +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project/frontend/mrs.developer.json +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project/frontend/packages/fake-project/.release-it.json +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project/frontend/packages/fake-project/news/1.feature +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project/frontend/packages/fake-project/node_modules/@plone/scripts/templates/towncrier_template.jinja +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project/frontend/packages/fake-project/package.json +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project/frontend/packages/fake-project/towncrier.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project/frontend/pnpm-lock.yaml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project/frontend/pnpm-workspace.yaml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project/repository.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project/version.txt +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-calver/CHANGELOG.md +0 -0
- {repoplone-2.0.0a1/tests/_resources/fake-root-package → repoplone-2.0.0a2/tests/_resources/fake-project-calver/backend}/CHANGELOG.md +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-calver/backend/README.md +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-calver/backend/news/.changelog_template.jinja +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-calver/backend/news/.gitkeep +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-calver/backend/news/1.feature +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-calver/backend/pyproject.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-calver/backend/src/fake/project/__init__.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-calver/docker-compose.yml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-calver/frontend/README.md +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-calver/frontend/mrs.developer.json +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-calver/frontend/packages/fake-project/.release-it.json +0 -0
- {repoplone-2.0.0a1/tests/_resources/fake_distribution/backend → repoplone-2.0.0a2/tests/_resources/fake-project-calver/frontend/packages/fake-project}/CHANGELOG.md +0 -0
- {repoplone-2.0.0a1/tests/_resources/frontend-base-package → repoplone-2.0.0a2/tests/_resources/fake-project-calver}/frontend/packages/fake-project/news/.gitkeep +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-calver/frontend/packages/fake-project/news/1.feature +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-calver/frontend/packages/fake-project/node_modules/@plone/scripts/templates/towncrier_template.jinja +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-calver/frontend/packages/fake-project/package.json +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-calver/frontend/packages/fake-project/src/index.js +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-calver/frontend/packages/fake-project/towncrier.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-calver/frontend/pnpm-lock.yaml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-calver/frontend/pnpm-workspace.yaml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-calver/repository.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-calver/version.txt +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-from-distribution/CHANGELOG.md +0 -0
- {repoplone-2.0.0a1/tests/_resources/fake_distribution/frontend/packages/fake-distribution → repoplone-2.0.0a2/tests/_resources/fake-project-from-distribution/backend}/CHANGELOG.md +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-from-distribution/backend/README.md +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-from-distribution/backend/news/.changelog_template.jinja +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-from-distribution/backend/news/.gitkeep +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-from-distribution/backend/news/1.feature +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-from-distribution/backend/pyproject.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-from-distribution/backend/src/fake/project/__init__.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-from-distribution/docker-compose.yml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-from-distribution/frontend/README.md +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-from-distribution/frontend/mrs.developer.json +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-from-distribution/frontend/packages/fake-project/.release-it.json +0 -0
- {repoplone-2.0.0a1/tests/_resources/frontend-base-package/backend → repoplone-2.0.0a2/tests/_resources/fake-project-from-distribution/frontend/packages/fake-project}/CHANGELOG.md +0 -0
- /repoplone-2.0.0a1/tests/_resources/fake-project-from-distribution/frontend/packages/fake-project/src/index.js → /repoplone-2.0.0a2/tests/_resources/fake-project-from-distribution/frontend/packages/fake-project/news/.gitkeep +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-from-distribution/frontend/packages/fake-project/news/1.feature +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-from-distribution/frontend/packages/fake-project/node_modules/@plone/scripts/templates/towncrier_template.jinja +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-from-distribution/frontend/packages/fake-project/package.json +0 -0
- {repoplone-2.0.0a1/tests/_resources/fake-project-root-changelog → repoplone-2.0.0a2/tests/_resources/fake-project-from-distribution}/frontend/packages/fake-project/src/index.js +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-from-distribution/frontend/packages/fake-project/towncrier.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-from-distribution/frontend/pnpm-lock.yaml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-from-distribution/frontend/pnpm-workspace.yaml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-from-distribution/news/+changelog.internal +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-from-distribution/news/+refactor.internal +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-from-distribution/news/.changelog_template.jinja +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-from-distribution/repository.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-from-distribution/towncrier.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-from-distribution/version.txt +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-root-changelog/CHANGELOG.md +0 -0
- {repoplone-2.0.0a1/tests/_resources/frontend-base-package/frontend/packages/fake-project → repoplone-2.0.0a2/tests/_resources/fake-project-root-changelog/backend}/CHANGELOG.md +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-root-changelog/backend/README.md +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-root-changelog/backend/news/.changelog_template.jinja +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-root-changelog/backend/news/.gitkeep +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-root-changelog/backend/news/1.feature +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-root-changelog/backend/pyproject.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-root-changelog/backend/src/fake/project/__init__.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-root-changelog/docker-compose.yml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-root-changelog/frontend/README.md +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-root-changelog/frontend/mrs.developer.json +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-root-changelog/frontend/packages/fake-project/.release-it.json +0 -0
- /repoplone-2.0.0a1/tests/_resources/fake-project/frontend/packages/fake-project/src/index.js → /repoplone-2.0.0a2/tests/_resources/fake-project-root-changelog/frontend/packages/fake-project/news/.gitkeep +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-root-changelog/frontend/packages/fake-project/news/1.feature +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-root-changelog/frontend/packages/fake-project/node_modules/@plone/scripts/templates/towncrier_template.jinja +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-root-changelog/frontend/packages/fake-project/package.json +0 -0
- {repoplone-2.0.0a1/tests/_resources/frontend-base-package → repoplone-2.0.0a2/tests/_resources/fake-project-root-changelog}/frontend/packages/fake-project/src/index.js +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-root-changelog/frontend/packages/fake-project/towncrier.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-root-changelog/frontend/pnpm-lock.yaml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-root-changelog/frontend/pnpm-workspace.yaml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-root-changelog/news/+changelog.internal +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-root-changelog/news/+refactor.internal +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-root-changelog/news/.changelog_template.jinja +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-root-changelog/repository.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-root-changelog/towncrier.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-project-root-changelog/version.txt +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-root-package/news/1.feature +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-root-package/pyproject.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake-root-package/version.txt +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake_distribution/CHANGELOG.md +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake_distribution/backend/README.md +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake_distribution/backend/news/.changelog_template.jinja +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake_distribution/backend/news/.gitkeep +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake_distribution/backend/news/1.feature +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake_distribution/backend/pyproject.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake_distribution/backend/src/fake/distribution/__init__.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake_distribution/docker-compose.yml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake_distribution/frontend/mrs.developer.json +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake_distribution/frontend/packages/fake-distribution/news/1.feature +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake_distribution/frontend/packages/fake-distribution/node_modules/@plone/scripts/templates/towncrier_template.jinja +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake_distribution/frontend/packages/fake-distribution/package.json +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake_distribution/frontend/packages/fake-distribution/towncrier.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake_distribution/frontend/pnpm-lock.yaml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake_distribution/frontend/pnpm-workspace.yaml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake_distribution/repository.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/fake_distribution/version.txt +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/frontend-base-package/CHANGELOG.md +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/frontend-base-package/backend/README.md +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/frontend-base-package/backend/news/.changelog_template.jinja +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/frontend-base-package/backend/news/.gitkeep +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/frontend-base-package/backend/news/1.feature +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/frontend-base-package/backend/pyproject.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/frontend-base-package/backend/src/fake/project/__init__.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/frontend-base-package/docker-compose.yml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/frontend-base-package/frontend/README.md +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/frontend-base-package/frontend/mrs.developer.json +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/frontend-base-package/frontend/packages/fake-project/.release-it.json +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/frontend-base-package/frontend/packages/fake-project/news/1.feature +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/frontend-base-package/frontend/packages/fake-project/node_modules/@plone/scripts/templates/towncrier_template.jinja +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/frontend-base-package/frontend/packages/fake-project/package.json +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/frontend-base-package/frontend/packages/fake-project/towncrier.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/frontend-base-package/frontend/pnpm-lock.yaml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/frontend-base-package/frontend/pnpm-workspace.yaml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/frontend-base-package/repository.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/frontend-base-package/version.txt +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/pyproject/distribution.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/pyproject/overrides.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/pyproject/package.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/pyproject/project.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/repository_toml/deprecated_100.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/repository_toml/old-compose.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/repository_toml/spec1_cookieplone.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/repository_toml/spec1_invalid_flat_package.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/repository_toml/spec1_invalid_no_name.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/repository_toml/spec1_invalid_spec_version.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/repository_toml/spec1_release_pipeline.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/repository_toml/spec2_invalid_component_tables.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/repository_toml/spec2_invalid_compose_string.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/repository_toml/spec2_invalid_legacy_key.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/repository_toml/spec2_invalid_old_step_function.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/repository_toml/spec2_invalid_old_step_id.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/repository_toml/spec2_invalid_spec_version_int.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/repository_toml/spec2_no_packages.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/repository_toml/updated.toml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/vcr/test_deps_check-dist-1.0.0a12.yaml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/vcr/test_deps_check-dist-1.0.0a17.yaml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/vcr/test_deps_check-plone-6.0.13.yaml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/vcr/test_deps_check-plone-6.1.0.yaml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/vcr/test_deps_upgrade-dist-1.0.0-alpha.17.yaml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/vcr/test_deps_upgrade-dist-1.0.0a17.yaml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/vcr/test_deps_upgrade-dist-latest.yaml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/vcr/test_deps_upgrade-plone-18.14.1.yaml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/vcr/test_deps_upgrade-plone-6.1.0.yaml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/vcr/test_deps_upgrade-plone-latest.yaml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/vcr/test_get_package_constraints-Products.CMFPlone-6.1.0.yaml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/vcr/test_get_package_constraints-kitconcept.intranet-1.0.0a17.yaml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/vcr/test_get_remote_uv_dependencies-8e03368fd61ccedd60ffb389ccf29e78.yaml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/_resources/vcr/test_get_remote_uv_dependencies-e7c92eae272959f78219437527680737.yaml +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/commands/deps/conftest.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/commands/release/test_release.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/commands/settings/test_release_pipeline_commands.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/commands/settings/test_settings_dump.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/commands/test_cli.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/commands/versions/test_versions.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/commands/versions/test_versions_calver.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/release/test_config.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/release/test_local_step.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/release/test_multi_package_release.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/release/test_pipeline.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/release/test_repository_step.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/release/test_steps.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/release/test_version_step.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/settings/test_parser.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/settings/test_settings.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/settings/test_spec.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/test_monorepo_variants.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/utils/changelog/conftest.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/utils/changelog/test_utils_changelog.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/utils/dependencies/conftest.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/utils/dependencies/frontend/test_utils_frontend.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/utils/dependencies/frontend/test_utils_frontend_base_package.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/utils/dependencies/test_utils_constraints.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/utils/dependencies/test_utils_distribution.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/utils/dependencies/test_utils_pyproject.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/utils/test_toml.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/utils/test_utils_github.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/utils/test_utils_python_release.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/utils/test_utils_release.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/utils/test_utils_release_restart.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/utils/versions/test_utils_calver.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/utils/versions/test_utils_semver.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/tests/utils/versions/test_utils_versions.py +0 -0
- {repoplone-2.0.0a1 → repoplone-2.0.0a2}/uv.lock +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: RepoPlone
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.0a2
|
|
4
4
|
Summary: Toolset for Plone mono repo maintainers.
|
|
5
5
|
Project-URL: Documentation, https://github.com/plone/repoplone#readme
|
|
6
6
|
Project-URL: Issues, https://github.com/plone/repoplone/issues
|
|
@@ -195,9 +195,44 @@ uvx repoplone versions dependencies
|
|
|
195
195
|
To generate and display the draft changelog, run:
|
|
196
196
|
|
|
197
197
|
```bash
|
|
198
|
-
uvx repoplone changelog
|
|
198
|
+
uvx repoplone changelog preview
|
|
199
199
|
```
|
|
200
200
|
|
|
201
|
+
## Check for news fragments
|
|
202
|
+
|
|
203
|
+
To list which areas of the repository need a news fragment, run:
|
|
204
|
+
|
|
205
|
+
```bash
|
|
206
|
+
uvx repoplone changelog check
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
An *area* is a place with its own towncrier configuration: each package, and the repository itself when `[repository.towncrier]` is set. A changed file belongs to the most specific area holding it, so the repository area only gets the files no package holds. For each area, the command reports whether it **requires a fragment** (one of its files changed) and whether it **has a fragment** (the change adds one to its news folder). Files in a news folder are never changes that need news.
|
|
210
|
+
|
|
211
|
+
The changes are those of the current branch since it left the branch given with `--compare-with` (default `origin/main`), plus uncommitted and untracked files. The command exits with 1 when an area that changed has no fragment.
|
|
212
|
+
|
|
213
|
+
Two machine-readable forms are available:
|
|
214
|
+
|
|
215
|
+
- `--json` prints the report: `base`, `areas` (with `name`, `path`, `news_folder`, `requires`, `has`, `missing`, `changes` and `fragments`), `missing` (the names of the areas without a fragment) and `unmatched` (changed files no area holds).
|
|
216
|
+
- `--github` prints GitHub Actions step outputs: `missing` and `areas` as compact JSON, and `summary`, a Markdown table for the step summary.
|
|
217
|
+
|
|
218
|
+
```yaml
|
|
219
|
+
- name: Check for news fragments
|
|
220
|
+
id: news
|
|
221
|
+
run: |
|
|
222
|
+
git fetch --no-tags origin "${BASE_BRANCH}"
|
|
223
|
+
uvx repoplone changelog check --compare-with "origin/${BASE_BRANCH}" --github >> "$GITHUB_OUTPUT"
|
|
224
|
+
env:
|
|
225
|
+
BASE_BRANCH: ${{ github.base_ref }}
|
|
226
|
+
|
|
227
|
+
- name: Report
|
|
228
|
+
if: ${{ always() }}
|
|
229
|
+
env:
|
|
230
|
+
SUMMARY: ${{ steps.news.outputs.summary }}
|
|
231
|
+
run: echo "$SUMMARY" >> "$GITHUB_STEP_SUMMARY"
|
|
232
|
+
```
|
|
233
|
+
|
|
234
|
+
The checkout needs the history of both branches (`fetch-depth: 0`) for the merge base to be found.
|
|
235
|
+
|
|
201
236
|
## Releasing Monorepo Packages
|
|
202
237
|
|
|
203
238
|
The `release` command creates a new release and accepts the following arguments:
|
|
@@ -339,6 +374,8 @@ uvx repoplone settings release-steps --json # machine-readable
|
|
|
339
374
|
|
|
340
375
|
The following commands are available exclusively for projects managed by UV and with a base_package set in the `[backend.package]` section of repository.toml.
|
|
341
376
|
|
|
377
|
+
`deps info` and `deps check` report every [component](#components). `deps upgrade`, `deps sync` and `deps constraints` take a component name: `backend` and `frontend`, or the names a file declares with `[[component]]`. `deps sync` with no name, or with `all`, runs `make <component>-install` for every component.
|
|
378
|
+
|
|
342
379
|
#### Report the base package
|
|
343
380
|
To check which is the current base package, run:
|
|
344
381
|
|
|
@@ -450,7 +487,7 @@ uvx repoplone settings sanity-check
|
|
|
450
487
|
See [Migrating from specification 1](#migrating-from-specification-1) for everything the command changes. Before committing the result, review the following:
|
|
451
488
|
|
|
452
489
|
- **Release step ids.** A specification 2 file accepts only `release_python` and `release_node`. The command renames them in `[repository.release]`. Update any script or CI job that passes `--start-step release_backend` or `release_frontend` too. `--start-step` still accepts the old ids, but the new ones are the names to use from now on.
|
|
453
|
-
- **Changelog headings.** Package sections in the repository changelog are titled with the package name instead of `Backend` / `Frontend`. Add `section = "Backend"` or `section = "Frontend"` to a `[[package]]` entry to keep the old heading.
|
|
490
|
+
- **Changelog headings.** Package sections in the repository changelog are titled with the package name instead of `Backend` / `Frontend`. Add `towncrier.section = "Backend"` or `towncrier.section = "Frontend"` to a `[[package]]` entry to keep the old heading.
|
|
454
491
|
- **Comments.** A comment placed between the end of `[frontend.package]` and the next table may be dropped. The command reports each one so you can restore it.
|
|
455
492
|
- **Project release hooks.** `settings.backend` and `settings.frontend` still return the primary package of the `python` and `node` families, so existing `local_step` hooks keep working.
|
|
456
493
|
|
|
@@ -527,7 +564,7 @@ primary = true
|
|
|
527
564
|
name = "acme.core"
|
|
528
565
|
path = "backend"
|
|
529
566
|
changelog = "backend/CHANGELOG.md"
|
|
530
|
-
|
|
567
|
+
towncrier.section = "Backend"
|
|
531
568
|
base_package = "Products.CMFPlone"
|
|
532
569
|
publish = true
|
|
533
570
|
|
|
@@ -536,7 +573,6 @@ type = "python-plone"
|
|
|
536
573
|
name = "acme.theme"
|
|
537
574
|
path = "backend/sources/acme.theme"
|
|
538
575
|
changelog = "backend/sources/acme.theme/CHANGELOG.md"
|
|
539
|
-
towncrier_settings = "backend/sources/acme.theme/pyproject.toml"
|
|
540
576
|
publish = true
|
|
541
577
|
|
|
542
578
|
[[package]]
|
|
@@ -545,7 +581,7 @@ primary = true
|
|
|
545
581
|
name = "@acme/volto-core"
|
|
546
582
|
path = "frontend/packages/volto-core"
|
|
547
583
|
changelog = "frontend/packages/volto-core/CHANGELOG.md"
|
|
548
|
-
|
|
584
|
+
towncrier.settings = "frontend/packages/volto-core/towncrier.toml"
|
|
549
585
|
publish = true
|
|
550
586
|
|
|
551
587
|
[[package]]
|
|
@@ -553,10 +589,11 @@ type = "node-volto"
|
|
|
553
589
|
name = "@acme/volto-theme"
|
|
554
590
|
path = "frontend/packages/volto-theme"
|
|
555
591
|
changelog = "frontend/packages/volto-theme/CHANGELOG.md"
|
|
556
|
-
towncrier_settings = "frontend/packages/volto-theme/towncrier.toml"
|
|
557
592
|
publish = true
|
|
558
593
|
```
|
|
559
594
|
|
|
595
|
+
Here `acme.theme` and `@acme/volto-theme` rely on the [`towncrier` defaults](#the-towncrier-table): their settings file is found in their `path`, and their changelog heading is their name.
|
|
596
|
+
|
|
560
597
|
A repository that releases a single Python package living at its own root needs no frontend at all:
|
|
561
598
|
|
|
562
599
|
```toml
|
|
@@ -573,7 +610,7 @@ name = "acme-tool"
|
|
|
573
610
|
path = "."
|
|
574
611
|
code_path = "src/acme_tool"
|
|
575
612
|
changelog = "CHANGELOG.md"
|
|
576
|
-
|
|
613
|
+
towncrier.settings = "pyproject.toml"
|
|
577
614
|
publish = true
|
|
578
615
|
```
|
|
579
616
|
|
|
@@ -599,6 +636,8 @@ Mark it with `primary = true`. When a family marks none, the first one in the fi
|
|
|
599
636
|
|
|
600
637
|
`settings.backend` and `settings.frontend` still answer, with the primary package of the `python` and `node` families, so project release hooks keep working.
|
|
601
638
|
|
|
639
|
+
A file that declares [components](#components) has no use for `primary`: the base package belongs to the component.
|
|
640
|
+
|
|
602
641
|
### Per-package options
|
|
603
642
|
|
|
604
643
|
| Option | Description |
|
|
@@ -607,12 +646,134 @@ Mark it with `primary = true`. When a family marks none, the first one in the fi
|
|
|
607
646
|
| `name` | Package name, as published to PyPI or npm. |
|
|
608
647
|
| `path` | Path to the package, relative to the repository root. Use `"."` for a package that *is* the repository. |
|
|
609
648
|
| `changelog` | Path to the package changelog. |
|
|
610
|
-
| `
|
|
649
|
+
| `towncrier` | News fragment settings: `settings` and `section`. See [The `towncrier` table](#the-towncrier-table). |
|
|
611
650
|
| `code_path` | Path to the source code, relative to `path`. |
|
|
612
651
|
| `publish` | Whether to publish this package to its registry. |
|
|
613
652
|
| `primary` | Marks the primary package of its family. |
|
|
614
|
-
| `section` | Heading for this package in the repository changelog. Defaults to its name. |
|
|
615
653
|
| `base_package` | Package this one builds on. Only meaningful on a family's primary package. |
|
|
654
|
+
| `components` | Names of the [components](#components) this package is installed in. |
|
|
655
|
+
|
|
656
|
+
### The `towncrier` table
|
|
657
|
+
|
|
658
|
+
The news fragments of a repository are configured with a `towncrier` table. The same table is used in two places, with the same two keys:
|
|
659
|
+
|
|
660
|
+
| Key | Description |
|
|
661
|
+
|------------|-----------------------------------------------------------------------------|
|
|
662
|
+
| `settings` | Path to the Towncrier settings file, relative to the repository root. |
|
|
663
|
+
| `section` | Heading for these news fragments in the repository changelog. |
|
|
664
|
+
|
|
665
|
+
What changes between the two places is the defaults.
|
|
666
|
+
|
|
667
|
+
**In a `[[package]]` entry**, the table is optional:
|
|
668
|
+
|
|
669
|
+
- `settings` defaults to the file Towncrier itself would use in the package `path`: `towncrier.toml` if it exists, otherwise `pyproject.toml`.
|
|
670
|
+
- `section` defaults to the package `name`.
|
|
671
|
+
|
|
672
|
+
A package that follows the usual layout needs no Towncrier lines at all. Set only what differs:
|
|
673
|
+
|
|
674
|
+
```toml
|
|
675
|
+
[[package]]
|
|
676
|
+
type = "python-plone"
|
|
677
|
+
name = "acme.core"
|
|
678
|
+
path = "backend"
|
|
679
|
+
changelog = "backend/CHANGELOG.md"
|
|
680
|
+
towncrier.section = "Backend"
|
|
681
|
+
```
|
|
682
|
+
|
|
683
|
+
**In `[repository]`**, the table is opt-in: a `[repository.towncrier]` table turns the repository-level news fragments on, and leaving it out turns them off.
|
|
684
|
+
|
|
685
|
+
- `settings` defaults to `towncrier.toml`.
|
|
686
|
+
- `section` defaults to `"Project"`.
|
|
687
|
+
|
|
688
|
+
```toml
|
|
689
|
+
[repository.towncrier]
|
|
690
|
+
```
|
|
691
|
+
|
|
692
|
+
TOML offers three spellings of the same table, and all of them work:
|
|
693
|
+
|
|
694
|
+
```toml
|
|
695
|
+
# Dotted keys
|
|
696
|
+
towncrier.settings = "backend/pyproject.toml"
|
|
697
|
+
towncrier.section = "Backend"
|
|
698
|
+
|
|
699
|
+
# An inline table
|
|
700
|
+
towncrier = { settings = "backend/pyproject.toml", section = "Backend" }
|
|
701
|
+
|
|
702
|
+
# A sub-table, after the package's other keys
|
|
703
|
+
[package.towncrier]
|
|
704
|
+
settings = "backend/pyproject.toml"
|
|
705
|
+
section = "Backend"
|
|
706
|
+
```
|
|
707
|
+
|
|
708
|
+
A misspelled key, an empty value, or `enabled` in `[repository.towncrier]` is an error rather than a silent fall back to the default.
|
|
709
|
+
|
|
710
|
+
### Components
|
|
711
|
+
|
|
712
|
+
A **component** is an app the repository's packages are developed and installed in: a Plone backend, a Volto site, a Seven or Aurora site. Commands that work on an app's dependencies — `deps`, `versions dependencies`, the frontend-wide changelog, `settings github-outputs` — work per component.
|
|
713
|
+
|
|
714
|
+
A file that declares no components gets two, derived from the primary packages as before: `backend`, at the primary Python package's path, and `frontend`, at the workspace root of the primary Node package. Nothing changes for such a file.
|
|
715
|
+
|
|
716
|
+
To develop the same packages in several apps — one Volto site and one Aurora site, say — declare them with a `[[component]]` array, and say which components each package belongs to:
|
|
717
|
+
|
|
718
|
+
```toml
|
|
719
|
+
[[component]]
|
|
720
|
+
name = "backend"
|
|
721
|
+
type = "python-plone"
|
|
722
|
+
path = "backend"
|
|
723
|
+
|
|
724
|
+
[[component]]
|
|
725
|
+
name = "volto"
|
|
726
|
+
type = "node-volto"
|
|
727
|
+
path = "volto"
|
|
728
|
+
changelog_package = "@acme/volto-videos"
|
|
729
|
+
|
|
730
|
+
[[component]]
|
|
731
|
+
name = "aurora"
|
|
732
|
+
type = "node-aurora"
|
|
733
|
+
path = "aurora"
|
|
734
|
+
|
|
735
|
+
[[package]]
|
|
736
|
+
type = "node"
|
|
737
|
+
name = "@acme/videos-core"
|
|
738
|
+
path = "packages/videos-core"
|
|
739
|
+
components = ["volto", "aurora"]
|
|
740
|
+
```
|
|
741
|
+
|
|
742
|
+
| Option | Description |
|
|
743
|
+
|-----------------------------|----------------------------------------------------------------------------------------------|
|
|
744
|
+
| `name` | **Required.** Lowercase letters, digits, `-`, `_` and `.`. It names the `make <name>-install` target and the `<prefix>-<name>` container image. |
|
|
745
|
+
| `type` | **Required.** One of the package types. It decides the family and the default `base_package`. |
|
|
746
|
+
| `path` | **Required.** The app's root, relative to the repository root. |
|
|
747
|
+
| `base_package` | Package the app builds on. Defaults by type, as for packages; not allowed on `python` and `node`. |
|
|
748
|
+
| `base_package_version_file` | Python components only: file holding the base package version when `pyproject.toml` does not pin it. Defaults to `version.txt`. |
|
|
749
|
+
| `changelog_package` | A package of this component whose changelog is copied to `<path>/CHANGELOG.md` on release. |
|
|
750
|
+
|
|
751
|
+
Where each type reads its base package version:
|
|
752
|
+
|
|
753
|
+
- `python-plone`: the pin in `<path>/pyproject.toml`, else `base_package_version_file`.
|
|
754
|
+
- `node-volto`: for `@plone/volto`, the checkout tag in `<path>/mrs.developer.json`; for a distribution, `<path>/pnpm-lock.yaml`, else `mrs.developer.json`.
|
|
755
|
+
- `node-aurora`: `configDependencies` in `<path>/pnpm-workspace.yaml`, else the first document of `<path>/pnpm-lock.yaml`.
|
|
756
|
+
|
|
757
|
+
With `[[component]]` tables, a package's `components` list is optional: a package that lists none is released, but installed by no app. A package's `primary` and `base_package` have no effect, and RepoPlone warns about them; the base package belongs to the component. `settings.backend` and `settings.frontend` still answer, reporting the base package versions of the component named `backend` (else the first Python one) and `frontend` (else the first `node-volto` one).
|
|
758
|
+
|
|
759
|
+
`repoplone settings migrate --components` writes the derived components of a file out as `[[component]]` tables.
|
|
760
|
+
|
|
761
|
+
#### GitHub Actions outputs
|
|
762
|
+
|
|
763
|
+
```shell
|
|
764
|
+
uvx repoplone settings github-outputs >> "$GITHUB_OUTPUT"
|
|
765
|
+
```
|
|
766
|
+
|
|
767
|
+
prints the step outputs a CI workflow builds its jobs from:
|
|
768
|
+
|
|
769
|
+
| Output | Value |
|
|
770
|
+
|------------------------------|--------------------------------------------------------------------------------|
|
|
771
|
+
| `components` | JSON list of the components: name, type, path, base package and versions, image name, packages, watch paths. |
|
|
772
|
+
| `packages` | JSON list of the packages, each with the components it belongs to. |
|
|
773
|
+
| `image-name-prefix` | `[repository] container_images_prefix`. |
|
|
774
|
+
| `<component>-version` | The component's base package version. |
|
|
775
|
+
| `<component>-volto-version` | The Volto core version, for `node-volto` components. |
|
|
776
|
+
| `paths-filter` | A [`dorny/paths-filter`](https://github.com/dorny/paths-filter) filter with one entry per component, covering its path and the paths of its packages. |
|
|
616
777
|
|
|
617
778
|
### What changed from specification 1
|
|
618
779
|
|
|
@@ -622,7 +783,9 @@ Mark it with `primary = true`. When a family marks none, the first one in the fi
|
|
|
622
783
|
| `compose` as a string or a list | a list |
|
|
623
784
|
| `repository.managed_by_uv`, `backend.path`, `frontend.path` | removed |
|
|
624
785
|
| release steps `release_backend`, `release_frontend`| `release_python`, `release_node` |
|
|
625
|
-
|
|
|
786
|
+
| `towncrier_settings` and `section` on a package | `towncrier.settings` and `towncrier.section`, both optional |
|
|
787
|
+
| `repository.towncrier.enabled` | removed: the table being present turns it on |
|
|
788
|
+
| changelog sections titled `Backend` / `Frontend` | titled with the package name, unless `towncrier.section` says otherwise |
|
|
626
789
|
|
|
627
790
|
The release step ids are user-facing, so the rename is gradual: a specification 1 file accepts either spelling, a specification 2 file accepts only the new ones, and `--start-step` always accepts both.
|
|
628
791
|
|
|
@@ -644,12 +807,16 @@ The command rewrites `repository.toml` in place, preserving comments and formatt
|
|
|
644
807
|
- turns each component's package table into a `[[package]]` entry, with its `type` and `primary = true`
|
|
645
808
|
- normalizes `compose` to a list
|
|
646
809
|
- removes the deprecated `repository.managed_by_uv`, `backend.path` and `frontend.path`
|
|
810
|
+
- moves each package's `towncrier_settings` and `section` into its `towncrier` table, written as `towncrier.settings` and `towncrier.section`
|
|
811
|
+
- removes `repository.towncrier.enabled`, and removes a `[repository.towncrier]` table that names no `settings` file, since specification 1 treated it as off
|
|
647
812
|
- renames the release step ids
|
|
648
813
|
- leaves tables it does not own, such as `[cookieplone]`, alone
|
|
649
814
|
|
|
650
815
|
Every change is reported. Use `--dry-run` to print the result without writing it, and `--path` to migrate a file other than the detected one.
|
|
651
816
|
|
|
652
|
-
|
|
817
|
+
With `--components`, the command also writes the `backend` and `frontend` components RepoPlone derives for the file out as `[[component]]` tables, and adds a `components` list to each package. It works on a specification 2 file too, and refuses a file that already declares components.
|
|
818
|
+
|
|
819
|
+
The command does **not** add `towncrier.section` options to keep the old `Backend` / `Frontend` changelog headings — migrating is the deliberate moment those become package names. It says so, and adding `towncrier.section = "Backend"` to a package restores the old heading.
|
|
653
820
|
|
|
654
821
|
## Contribute 🤝
|
|
655
822
|
|
|
@@ -157,9 +157,44 @@ uvx repoplone versions dependencies
|
|
|
157
157
|
To generate and display the draft changelog, run:
|
|
158
158
|
|
|
159
159
|
```bash
|
|
160
|
-
uvx repoplone changelog
|
|
160
|
+
uvx repoplone changelog preview
|
|
161
161
|
```
|
|
162
162
|
|
|
163
|
+
## Check for news fragments
|
|
164
|
+
|
|
165
|
+
To list which areas of the repository need a news fragment, run:
|
|
166
|
+
|
|
167
|
+
```bash
|
|
168
|
+
uvx repoplone changelog check
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
An *area* is a place with its own towncrier configuration: each package, and the repository itself when `[repository.towncrier]` is set. A changed file belongs to the most specific area holding it, so the repository area only gets the files no package holds. For each area, the command reports whether it **requires a fragment** (one of its files changed) and whether it **has a fragment** (the change adds one to its news folder). Files in a news folder are never changes that need news.
|
|
172
|
+
|
|
173
|
+
The changes are those of the current branch since it left the branch given with `--compare-with` (default `origin/main`), plus uncommitted and untracked files. The command exits with 1 when an area that changed has no fragment.
|
|
174
|
+
|
|
175
|
+
Two machine-readable forms are available:
|
|
176
|
+
|
|
177
|
+
- `--json` prints the report: `base`, `areas` (with `name`, `path`, `news_folder`, `requires`, `has`, `missing`, `changes` and `fragments`), `missing` (the names of the areas without a fragment) and `unmatched` (changed files no area holds).
|
|
178
|
+
- `--github` prints GitHub Actions step outputs: `missing` and `areas` as compact JSON, and `summary`, a Markdown table for the step summary.
|
|
179
|
+
|
|
180
|
+
```yaml
|
|
181
|
+
- name: Check for news fragments
|
|
182
|
+
id: news
|
|
183
|
+
run: |
|
|
184
|
+
git fetch --no-tags origin "${BASE_BRANCH}"
|
|
185
|
+
uvx repoplone changelog check --compare-with "origin/${BASE_BRANCH}" --github >> "$GITHUB_OUTPUT"
|
|
186
|
+
env:
|
|
187
|
+
BASE_BRANCH: ${{ github.base_ref }}
|
|
188
|
+
|
|
189
|
+
- name: Report
|
|
190
|
+
if: ${{ always() }}
|
|
191
|
+
env:
|
|
192
|
+
SUMMARY: ${{ steps.news.outputs.summary }}
|
|
193
|
+
run: echo "$SUMMARY" >> "$GITHUB_STEP_SUMMARY"
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
The checkout needs the history of both branches (`fetch-depth: 0`) for the merge base to be found.
|
|
197
|
+
|
|
163
198
|
## Releasing Monorepo Packages
|
|
164
199
|
|
|
165
200
|
The `release` command creates a new release and accepts the following arguments:
|
|
@@ -301,6 +336,8 @@ uvx repoplone settings release-steps --json # machine-readable
|
|
|
301
336
|
|
|
302
337
|
The following commands are available exclusively for projects managed by UV and with a base_package set in the `[backend.package]` section of repository.toml.
|
|
303
338
|
|
|
339
|
+
`deps info` and `deps check` report every [component](#components). `deps upgrade`, `deps sync` and `deps constraints` take a component name: `backend` and `frontend`, or the names a file declares with `[[component]]`. `deps sync` with no name, or with `all`, runs `make <component>-install` for every component.
|
|
340
|
+
|
|
304
341
|
#### Report the base package
|
|
305
342
|
To check which is the current base package, run:
|
|
306
343
|
|
|
@@ -412,7 +449,7 @@ uvx repoplone settings sanity-check
|
|
|
412
449
|
See [Migrating from specification 1](#migrating-from-specification-1) for everything the command changes. Before committing the result, review the following:
|
|
413
450
|
|
|
414
451
|
- **Release step ids.** A specification 2 file accepts only `release_python` and `release_node`. The command renames them in `[repository.release]`. Update any script or CI job that passes `--start-step release_backend` or `release_frontend` too. `--start-step` still accepts the old ids, but the new ones are the names to use from now on.
|
|
415
|
-
- **Changelog headings.** Package sections in the repository changelog are titled with the package name instead of `Backend` / `Frontend`. Add `section = "Backend"` or `section = "Frontend"` to a `[[package]]` entry to keep the old heading.
|
|
452
|
+
- **Changelog headings.** Package sections in the repository changelog are titled with the package name instead of `Backend` / `Frontend`. Add `towncrier.section = "Backend"` or `towncrier.section = "Frontend"` to a `[[package]]` entry to keep the old heading.
|
|
416
453
|
- **Comments.** A comment placed between the end of `[frontend.package]` and the next table may be dropped. The command reports each one so you can restore it.
|
|
417
454
|
- **Project release hooks.** `settings.backend` and `settings.frontend` still return the primary package of the `python` and `node` families, so existing `local_step` hooks keep working.
|
|
418
455
|
|
|
@@ -489,7 +526,7 @@ primary = true
|
|
|
489
526
|
name = "acme.core"
|
|
490
527
|
path = "backend"
|
|
491
528
|
changelog = "backend/CHANGELOG.md"
|
|
492
|
-
|
|
529
|
+
towncrier.section = "Backend"
|
|
493
530
|
base_package = "Products.CMFPlone"
|
|
494
531
|
publish = true
|
|
495
532
|
|
|
@@ -498,7 +535,6 @@ type = "python-plone"
|
|
|
498
535
|
name = "acme.theme"
|
|
499
536
|
path = "backend/sources/acme.theme"
|
|
500
537
|
changelog = "backend/sources/acme.theme/CHANGELOG.md"
|
|
501
|
-
towncrier_settings = "backend/sources/acme.theme/pyproject.toml"
|
|
502
538
|
publish = true
|
|
503
539
|
|
|
504
540
|
[[package]]
|
|
@@ -507,7 +543,7 @@ primary = true
|
|
|
507
543
|
name = "@acme/volto-core"
|
|
508
544
|
path = "frontend/packages/volto-core"
|
|
509
545
|
changelog = "frontend/packages/volto-core/CHANGELOG.md"
|
|
510
|
-
|
|
546
|
+
towncrier.settings = "frontend/packages/volto-core/towncrier.toml"
|
|
511
547
|
publish = true
|
|
512
548
|
|
|
513
549
|
[[package]]
|
|
@@ -515,10 +551,11 @@ type = "node-volto"
|
|
|
515
551
|
name = "@acme/volto-theme"
|
|
516
552
|
path = "frontend/packages/volto-theme"
|
|
517
553
|
changelog = "frontend/packages/volto-theme/CHANGELOG.md"
|
|
518
|
-
towncrier_settings = "frontend/packages/volto-theme/towncrier.toml"
|
|
519
554
|
publish = true
|
|
520
555
|
```
|
|
521
556
|
|
|
557
|
+
Here `acme.theme` and `@acme/volto-theme` rely on the [`towncrier` defaults](#the-towncrier-table): their settings file is found in their `path`, and their changelog heading is their name.
|
|
558
|
+
|
|
522
559
|
A repository that releases a single Python package living at its own root needs no frontend at all:
|
|
523
560
|
|
|
524
561
|
```toml
|
|
@@ -535,7 +572,7 @@ name = "acme-tool"
|
|
|
535
572
|
path = "."
|
|
536
573
|
code_path = "src/acme_tool"
|
|
537
574
|
changelog = "CHANGELOG.md"
|
|
538
|
-
|
|
575
|
+
towncrier.settings = "pyproject.toml"
|
|
539
576
|
publish = true
|
|
540
577
|
```
|
|
541
578
|
|
|
@@ -561,6 +598,8 @@ Mark it with `primary = true`. When a family marks none, the first one in the fi
|
|
|
561
598
|
|
|
562
599
|
`settings.backend` and `settings.frontend` still answer, with the primary package of the `python` and `node` families, so project release hooks keep working.
|
|
563
600
|
|
|
601
|
+
A file that declares [components](#components) has no use for `primary`: the base package belongs to the component.
|
|
602
|
+
|
|
564
603
|
### Per-package options
|
|
565
604
|
|
|
566
605
|
| Option | Description |
|
|
@@ -569,12 +608,134 @@ Mark it with `primary = true`. When a family marks none, the first one in the fi
|
|
|
569
608
|
| `name` | Package name, as published to PyPI or npm. |
|
|
570
609
|
| `path` | Path to the package, relative to the repository root. Use `"."` for a package that *is* the repository. |
|
|
571
610
|
| `changelog` | Path to the package changelog. |
|
|
572
|
-
| `
|
|
611
|
+
| `towncrier` | News fragment settings: `settings` and `section`. See [The `towncrier` table](#the-towncrier-table). |
|
|
573
612
|
| `code_path` | Path to the source code, relative to `path`. |
|
|
574
613
|
| `publish` | Whether to publish this package to its registry. |
|
|
575
614
|
| `primary` | Marks the primary package of its family. |
|
|
576
|
-
| `section` | Heading for this package in the repository changelog. Defaults to its name. |
|
|
577
615
|
| `base_package` | Package this one builds on. Only meaningful on a family's primary package. |
|
|
616
|
+
| `components` | Names of the [components](#components) this package is installed in. |
|
|
617
|
+
|
|
618
|
+
### The `towncrier` table
|
|
619
|
+
|
|
620
|
+
The news fragments of a repository are configured with a `towncrier` table. The same table is used in two places, with the same two keys:
|
|
621
|
+
|
|
622
|
+
| Key | Description |
|
|
623
|
+
|------------|-----------------------------------------------------------------------------|
|
|
624
|
+
| `settings` | Path to the Towncrier settings file, relative to the repository root. |
|
|
625
|
+
| `section` | Heading for these news fragments in the repository changelog. |
|
|
626
|
+
|
|
627
|
+
What changes between the two places is the defaults.
|
|
628
|
+
|
|
629
|
+
**In a `[[package]]` entry**, the table is optional:
|
|
630
|
+
|
|
631
|
+
- `settings` defaults to the file Towncrier itself would use in the package `path`: `towncrier.toml` if it exists, otherwise `pyproject.toml`.
|
|
632
|
+
- `section` defaults to the package `name`.
|
|
633
|
+
|
|
634
|
+
A package that follows the usual layout needs no Towncrier lines at all. Set only what differs:
|
|
635
|
+
|
|
636
|
+
```toml
|
|
637
|
+
[[package]]
|
|
638
|
+
type = "python-plone"
|
|
639
|
+
name = "acme.core"
|
|
640
|
+
path = "backend"
|
|
641
|
+
changelog = "backend/CHANGELOG.md"
|
|
642
|
+
towncrier.section = "Backend"
|
|
643
|
+
```
|
|
644
|
+
|
|
645
|
+
**In `[repository]`**, the table is opt-in: a `[repository.towncrier]` table turns the repository-level news fragments on, and leaving it out turns them off.
|
|
646
|
+
|
|
647
|
+
- `settings` defaults to `towncrier.toml`.
|
|
648
|
+
- `section` defaults to `"Project"`.
|
|
649
|
+
|
|
650
|
+
```toml
|
|
651
|
+
[repository.towncrier]
|
|
652
|
+
```
|
|
653
|
+
|
|
654
|
+
TOML offers three spellings of the same table, and all of them work:
|
|
655
|
+
|
|
656
|
+
```toml
|
|
657
|
+
# Dotted keys
|
|
658
|
+
towncrier.settings = "backend/pyproject.toml"
|
|
659
|
+
towncrier.section = "Backend"
|
|
660
|
+
|
|
661
|
+
# An inline table
|
|
662
|
+
towncrier = { settings = "backend/pyproject.toml", section = "Backend" }
|
|
663
|
+
|
|
664
|
+
# A sub-table, after the package's other keys
|
|
665
|
+
[package.towncrier]
|
|
666
|
+
settings = "backend/pyproject.toml"
|
|
667
|
+
section = "Backend"
|
|
668
|
+
```
|
|
669
|
+
|
|
670
|
+
A misspelled key, an empty value, or `enabled` in `[repository.towncrier]` is an error rather than a silent fall back to the default.
|
|
671
|
+
|
|
672
|
+
### Components
|
|
673
|
+
|
|
674
|
+
A **component** is an app the repository's packages are developed and installed in: a Plone backend, a Volto site, a Seven or Aurora site. Commands that work on an app's dependencies — `deps`, `versions dependencies`, the frontend-wide changelog, `settings github-outputs` — work per component.
|
|
675
|
+
|
|
676
|
+
A file that declares no components gets two, derived from the primary packages as before: `backend`, at the primary Python package's path, and `frontend`, at the workspace root of the primary Node package. Nothing changes for such a file.
|
|
677
|
+
|
|
678
|
+
To develop the same packages in several apps — one Volto site and one Aurora site, say — declare them with a `[[component]]` array, and say which components each package belongs to:
|
|
679
|
+
|
|
680
|
+
```toml
|
|
681
|
+
[[component]]
|
|
682
|
+
name = "backend"
|
|
683
|
+
type = "python-plone"
|
|
684
|
+
path = "backend"
|
|
685
|
+
|
|
686
|
+
[[component]]
|
|
687
|
+
name = "volto"
|
|
688
|
+
type = "node-volto"
|
|
689
|
+
path = "volto"
|
|
690
|
+
changelog_package = "@acme/volto-videos"
|
|
691
|
+
|
|
692
|
+
[[component]]
|
|
693
|
+
name = "aurora"
|
|
694
|
+
type = "node-aurora"
|
|
695
|
+
path = "aurora"
|
|
696
|
+
|
|
697
|
+
[[package]]
|
|
698
|
+
type = "node"
|
|
699
|
+
name = "@acme/videos-core"
|
|
700
|
+
path = "packages/videos-core"
|
|
701
|
+
components = ["volto", "aurora"]
|
|
702
|
+
```
|
|
703
|
+
|
|
704
|
+
| Option | Description |
|
|
705
|
+
|-----------------------------|----------------------------------------------------------------------------------------------|
|
|
706
|
+
| `name` | **Required.** Lowercase letters, digits, `-`, `_` and `.`. It names the `make <name>-install` target and the `<prefix>-<name>` container image. |
|
|
707
|
+
| `type` | **Required.** One of the package types. It decides the family and the default `base_package`. |
|
|
708
|
+
| `path` | **Required.** The app's root, relative to the repository root. |
|
|
709
|
+
| `base_package` | Package the app builds on. Defaults by type, as for packages; not allowed on `python` and `node`. |
|
|
710
|
+
| `base_package_version_file` | Python components only: file holding the base package version when `pyproject.toml` does not pin it. Defaults to `version.txt`. |
|
|
711
|
+
| `changelog_package` | A package of this component whose changelog is copied to `<path>/CHANGELOG.md` on release. |
|
|
712
|
+
|
|
713
|
+
Where each type reads its base package version:
|
|
714
|
+
|
|
715
|
+
- `python-plone`: the pin in `<path>/pyproject.toml`, else `base_package_version_file`.
|
|
716
|
+
- `node-volto`: for `@plone/volto`, the checkout tag in `<path>/mrs.developer.json`; for a distribution, `<path>/pnpm-lock.yaml`, else `mrs.developer.json`.
|
|
717
|
+
- `node-aurora`: `configDependencies` in `<path>/pnpm-workspace.yaml`, else the first document of `<path>/pnpm-lock.yaml`.
|
|
718
|
+
|
|
719
|
+
With `[[component]]` tables, a package's `components` list is optional: a package that lists none is released, but installed by no app. A package's `primary` and `base_package` have no effect, and RepoPlone warns about them; the base package belongs to the component. `settings.backend` and `settings.frontend` still answer, reporting the base package versions of the component named `backend` (else the first Python one) and `frontend` (else the first `node-volto` one).
|
|
720
|
+
|
|
721
|
+
`repoplone settings migrate --components` writes the derived components of a file out as `[[component]]` tables.
|
|
722
|
+
|
|
723
|
+
#### GitHub Actions outputs
|
|
724
|
+
|
|
725
|
+
```shell
|
|
726
|
+
uvx repoplone settings github-outputs >> "$GITHUB_OUTPUT"
|
|
727
|
+
```
|
|
728
|
+
|
|
729
|
+
prints the step outputs a CI workflow builds its jobs from:
|
|
730
|
+
|
|
731
|
+
| Output | Value |
|
|
732
|
+
|------------------------------|--------------------------------------------------------------------------------|
|
|
733
|
+
| `components` | JSON list of the components: name, type, path, base package and versions, image name, packages, watch paths. |
|
|
734
|
+
| `packages` | JSON list of the packages, each with the components it belongs to. |
|
|
735
|
+
| `image-name-prefix` | `[repository] container_images_prefix`. |
|
|
736
|
+
| `<component>-version` | The component's base package version. |
|
|
737
|
+
| `<component>-volto-version` | The Volto core version, for `node-volto` components. |
|
|
738
|
+
| `paths-filter` | A [`dorny/paths-filter`](https://github.com/dorny/paths-filter) filter with one entry per component, covering its path and the paths of its packages. |
|
|
578
739
|
|
|
579
740
|
### What changed from specification 1
|
|
580
741
|
|
|
@@ -584,7 +745,9 @@ Mark it with `primary = true`. When a family marks none, the first one in the fi
|
|
|
584
745
|
| `compose` as a string or a list | a list |
|
|
585
746
|
| `repository.managed_by_uv`, `backend.path`, `frontend.path` | removed |
|
|
586
747
|
| release steps `release_backend`, `release_frontend`| `release_python`, `release_node` |
|
|
587
|
-
|
|
|
748
|
+
| `towncrier_settings` and `section` on a package | `towncrier.settings` and `towncrier.section`, both optional |
|
|
749
|
+
| `repository.towncrier.enabled` | removed: the table being present turns it on |
|
|
750
|
+
| changelog sections titled `Backend` / `Frontend` | titled with the package name, unless `towncrier.section` says otherwise |
|
|
588
751
|
|
|
589
752
|
The release step ids are user-facing, so the rename is gradual: a specification 1 file accepts either spelling, a specification 2 file accepts only the new ones, and `--start-step` always accepts both.
|
|
590
753
|
|
|
@@ -606,12 +769,16 @@ The command rewrites `repository.toml` in place, preserving comments and formatt
|
|
|
606
769
|
- turns each component's package table into a `[[package]]` entry, with its `type` and `primary = true`
|
|
607
770
|
- normalizes `compose` to a list
|
|
608
771
|
- removes the deprecated `repository.managed_by_uv`, `backend.path` and `frontend.path`
|
|
772
|
+
- moves each package's `towncrier_settings` and `section` into its `towncrier` table, written as `towncrier.settings` and `towncrier.section`
|
|
773
|
+
- removes `repository.towncrier.enabled`, and removes a `[repository.towncrier]` table that names no `settings` file, since specification 1 treated it as off
|
|
609
774
|
- renames the release step ids
|
|
610
775
|
- leaves tables it does not own, such as `[cookieplone]`, alone
|
|
611
776
|
|
|
612
777
|
Every change is reported. Use `--dry-run` to print the result without writing it, and `--path` to migrate a file other than the detected one.
|
|
613
778
|
|
|
614
|
-
|
|
779
|
+
With `--components`, the command also writes the `backend` and `frontend` components RepoPlone derives for the file out as `[[component]]` tables, and adds a `components` list to each package. It works on a specification 2 file too, and refuses a file that already declares components.
|
|
780
|
+
|
|
781
|
+
The command does **not** add `towncrier.section` options to keep the old `Backend` / `Frontend` changelog headings — migrating is the deliberate moment those become package names. It says so, and adding `towncrier.section = "Backend"` to a package restores the old heading.
|
|
615
782
|
|
|
616
783
|
## Contribute 🤝
|
|
617
784
|
|
|
@@ -13,6 +13,7 @@ from .repository import PACKAGE_FAMILIES
|
|
|
13
13
|
from .repository import PACKAGE_TYPE_ALIASES
|
|
14
14
|
from .repository import BackendPackage
|
|
15
15
|
from .repository import Changelogs
|
|
16
|
+
from .repository import Component
|
|
16
17
|
from .repository import FrontendPackage
|
|
17
18
|
from .repository import Package
|
|
18
19
|
from .repository import RepositorySettings
|
|
@@ -38,6 +39,7 @@ __all__ = [
|
|
|
38
39
|
"BackendPackage",
|
|
39
40
|
"CTLContextObject",
|
|
40
41
|
"Changelogs",
|
|
42
|
+
"Component",
|
|
41
43
|
"FrontendPackage",
|
|
42
44
|
"MrsDeveloperEntry",
|
|
43
45
|
"Package",
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
from .repository import Component
|
|
1
2
|
from .repository import RepositorySettings
|
|
2
3
|
from packaging.requirements import Requirement
|
|
3
4
|
from typing import NotRequired
|
|
@@ -27,13 +28,17 @@ class PackageConstraintInfo(TypedDict):
|
|
|
27
28
|
class VersionChecker(Protocol):
|
|
28
29
|
"""Protocol for version checkers."""
|
|
29
30
|
|
|
30
|
-
def __call__(
|
|
31
|
+
def __call__(
|
|
32
|
+
self, settings: RepositorySettings, component: Component | None = None
|
|
33
|
+
) -> tuple[str, str, str]: ...
|
|
31
34
|
|
|
32
35
|
|
|
33
36
|
class VersionUpgrader(Protocol):
|
|
34
37
|
"""Protocol for version upgraders."""
|
|
35
38
|
|
|
36
|
-
def __call__(
|
|
39
|
+
def __call__(
|
|
40
|
+
self, settings: RepositorySettings, component: Component, version: str
|
|
41
|
+
) -> bool: ...
|
|
37
42
|
|
|
38
43
|
|
|
39
44
|
class MrsDeveloperEntry(TypedDict):
|