Skip to content

Use public released version of volto-plate - #475

Merged
ericof merged 4 commits into
mainfrom
issue-593
Aug 19, 2026
Merged

Use public released version of volto-plate#475
ericof merged 4 commits into
mainfrom
issue-593

Conversation

@ericof

@ericof ericof commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Summary

Replaces the vendored, checkout-based volto-plate dependency with the public released packages, and cleans up the changelog tooling that surrounded it.

Refs https://gitlab.kitconcept.io/kitconcept/distribution-kitconcept-intranet/-/issues/593

What changed

Use the public released versions of volto-plate

  • kitconcept.plate is now ==1.0.0a23, resolved from PyPI, replacing the [tool.uv.sources] path entry pointing at backend/container/kitconcept-plate.tar.gz.
  • @kitconcept/volto-plate is now ^1.0.0-alpha.23, resolved from npm, replacing file:../../artifacts/kitconcept-volto-plate.tgz.
  • Both vendored artifacts are removed, together with scripts/update-volto-plate.py and its update-volto-plate Makefile target.
  • backend/uv.lock and frontend/pnpm-lock.yaml updated accordingly.

Rework the changelog CI workflow

  • The backend, frontend and repository changelog checks now run as steps of a single job, instead of three near-identical jobs each re-implementing the paths filter.
  • Package paths come from uvx repoplone settings dump via the shared config.yml workflow, so they are no longer hardcoded in the workflow.
  • Each check reports its outcome in the workflow summary.
  • dependabot.yml moves to .github/, where GitHub actually reads it, and its pull requests are labelled skip changelog.

Rename the towncrier test fragment type to tests

  • Aligns the fragment type with its directory name, in all three towncrier configs.
  • The one existing .test fragment is renamed, so it is not silently dropped from the changelog.
  • The frontend changelog template moves into news/, so it no longer depends on node_modules being installed.
  • .release-it.json finishes the pipx → uvx migration.

Notes for the reviewer

The 593.internal fragments use the issue number, but issue_format in the towncrier configs points at https://github.com/kitconcept/kitconcept.intranet/issue/{issue} — a GitHub URL (and a singular /issue/ path), while 593 is a GitLab issue. The rendered changelog links will be wrong; worth a follow-up on issue_format.

Test plan

  • CI green (backend, frontend, changelog checks)
  • Container images build with the released kitconcept.plate

ericof added 3 commits August 18, 2026 16:12
Run the backend, frontend and repository changelog checks as steps of a
single job, deriving the package paths from `uvx repoplone settings dump`
via the shared config workflow, and report each outcome in the workflow
summary.

Move `dependabot.yml` to `.github/`, where GitHub actually reads it, and
label its pull requests with `skip changelog`.
Align the fragment type with the directory name used by the other types,
and declare it in the repository-level configuration as well. Rename the
one existing fragment accordingly, so it is not silently dropped from the
changelog.

Also move the frontend changelog template into `news/`, so it no longer
depends on `node_modules` being installed, relocate the stray
`+core-a6.bugfix` fragment into `news/`, and finish the pipx-to-uvx
migration in `.release-it.json`.
Depend on `kitconcept.plate` 1.0.0a23 from PyPI and
`@kitconcept/volto-plate` 1.0.0-alpha.23 from npm, instead of the source
distribution vendored in `backend/container/` and the tarball vendored in
`frontend/artifacts/`.

Both vendored artifacts and the `update-volto-plate` script that produced
them are removed, together with its `Makefile` target.

Refs https://gitlab.kitconcept.io/kitconcept/distribution-kitconcept-intranet/-/issues/593
@ericof
ericof requested review from a team as code owners August 18, 2026 19:16
@ericof ericof added the enhancement New feature or request label Aug 18, 2026
@ericof ericof self-assigned this Aug 18, 2026
`backend/container/` and `frontend/artifacts/` only ever held the vendored
volto-plate distributions. With those consumed from PyPI and npm, git no
longer tracks the directories, so the `COPY` lines fail the image builds.

Nothing else reads either path.
@ericof
ericof requested a review from davisagli August 18, 2026 20:10
@ericof
ericof merged commit 01d9add into main Aug 19, 2026
43 of 44 checks passed
@ericof
ericof deleted the issue-593 branch August 19, 2026 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants