Skip to content

Update docs and track advanced feature we want to bring into a uv managed backend #354

@fredvd

Description

@fredvd

This is a follow up from PR #350 that was merged, but we need to update the docs for this and keep track of some advanced features that would be great to have documented and/or added to the cookieplone templates.

We would need to do some research a few of those further, but ideas and options are already in the (closed) PR discussion.

  • Override use a different version of a released package than the KGS managed by uv in the pyproject.toml I don't fully understand yet why this should be done with an 'extra' list in pyproject.toml and changes in repoplone. yet. Once the project template is generated you update /backend/pyproject.toml is my impression.

  • Then we want to support source checkouts: this works by using uv.tool.sources in the pyproject.toml, but the checkout itself to the filesystem is not done by uv (it is done by mxdev). AFAICS what @erral suggested in the PR is to lext mxdev do this part stll. But @ericof mentioned repoplone could take care of this as well. How much I have used and like the mxdev features, keeping only this part in mxdev for doing checkouts and it can work, is a guarantee to confuse people using the generated project scaffold.

@davisagli posted a list of where mxdev is mentioned. on the PR Some questions:

  • Can we 'migrate' the features in short enough time that we can update the documentation in one go? Or will this take to olong and should we do the update in two phases? How long do we give ourselves for that (timeboxing a bit).

  • @stevepiercy Should we copy the resulting "pages to update with what" into one or two plone/documentation issues?

@ericof Created a separate documentation issue on plone/cookieplone#132, but this is about the improved cookieplone 2.0 functionality AFAICS and about the template tooling, not wisdom/FAQ's about using the tools in the generated scaffold to develop/run/release your project.

Meta "how to make future efforts easier: we have been discussing this before, with updates to the frontend/backend tooling in a generated plone project scaffold, spreading the basics and advanced features over 5-10 pages in the documentation is not much 'fun' to track and update.

We already did a great job to let trainings refer to docs.plone.org, but we should check those as well. But also inside docs.plone.org, the fewer pages we have on the details and we refer to , the easier future updates will be.

But just as there is 'philosophy' about cookieplone, there is also extra tips/tricks/lore around the generated cookieplone scaffold and how to use it.

This is an explorartory and 'what should we do issu" so we are aware and can update each other of the scope and attempt for a logical 'order'. What am I missing, or what are better alternatives?

To do

The following docs should be reviewed and updated:

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions