chore: update renovate rules around 12-factor Spread test materials
Metadata
Current evaluation
Merged renovate.json5 updates in #1353: ignored docs/requirements.txt, grouped non-major tutorial updates, and added Express and Spring Boot custom managers.
Resolution: closed resolved
Reason: PR canonical/rockcraft#1353 was approved and merged. It implements the requested Renovate policy for the 12-factor documentation and Spread test materials; the reported Spread test failure was confirmed unrelated.
Evaluated by: mr-cal-bot
No scores available.
Issue body
This PR updates `renovate.json5` to manage the version updates for the 12-factor documentation Spread tests. This PR was prepared using AI assistance.
I used the following policy as a starting place for the updates:
1. Ignore `docs/requirements.txt`
2. For other files in the `docs` folder, disable major release updates in Renovate (someone would have to do those manually).
3. Lump minor/patch releases together (so you'd have one PR that updates everything)
Note that the Go extension is not included because its version is handled through the snap; the Spread test and tutorial use `sudo snap install go --classic` with explicitly defining a version of Go.
For Spring Boot, there is no native `start.spring.io` data source, so the custom rule uses `spring-boot-starter-parent` instead. The LLM claims that this data source tracks identical versions to `start.spring.io`
### Summary of changes
* Added `ignorePaths` to ignore `docs/requirements.txt`
* Added `packageRules` to disable major release updates and lump minor/patch releases together for files under `docs/tutorial/code/`.
* Added `customManagers` to add custom rules for updating the `task.yaml` files for ExpressJS and Spring Boot.
---
- [X] I've followed the [contribution guidelines](https://github.com/canonical/rockcraft/blob/main/CONTRIBUTING.md).
- [X] I've signed the [CLA](http://www.ubuntu.com/legal/contributors/).
- [Failures on files unrelated to the PR] I've successfully run `make lint && make test`.
- [N/A] I've added or updated any relevant documentation.
- [N/A] In documents I changed, I [added a meta description](https://canonical-starflow.readthedocs-hosted.com/how-to/add-a-page-meta-description/) if one was missing.
- [ ] I've updated the relevant release notes.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged renovate.json5 updates in #1353: ignored docs/requirements.txt, grouped non-major tutorial updates, and added Express and Spring Boot custom managers. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged Renovate updates for Spread test materials: ignored docs/requirements.txt, grouped non-major tutorial updates, and added Express and Spring Boot custom managers. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Updated renovate.json5 for 12-factor documentation Spread test versions. Rules ignore requirements.txt, disable major updates, group minor/patch releases, and handle ExpressJS and Spring Boot. Approved; unrelated CI failure was acknowledged. |
Update history
| Date | Change |
|---|---|
| updated | |
| updated | |
| updated | |
| updated | |
| updated | |
| updated | |
| updated | |
| updated | |
| created |
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2867 chore: update renovate rules around 12-factor Spread test materials- #1353 | charmcraft | merged | PR #2867 merged (commit 98c5940b): renovate.json5 updated to ignore docs/requirements.txt, disable major bumps and group minor/patch updates for docs/tutorial/code, plus customManagers for ExpressJS and Spring Boot task.yaml files. | |
| #643 chore(deps): update documentation dependencies | craft-parts | merged | Merged Renovate PR canonical/craft-parts#643, updating five pinned documentation dependencies, including sphinx-autodoc-typehints 1.25.3. | |
| #65 chore(config): migrate Renovate config | craft-actions | merged | Renovate bot's config migration PR was merged (approved by 2 reviewers, all CI green): renovate.json5 had renamed options updated and comments/trailing commas stripped. Pure chore, +3/-3 lines. | |
| #2823 chore: configure renovate to ignore requirements files under tests/ | charmcraft | merged | PR #2823 merged, adding `tests/**` to ignorePaths in .github/renovate.json5 so Renovate stops raising updates for test-fixture requirements files. | |
| #156 chore: make renovate update pre-commit-config | starbase | merged | Merged PR #156 as commit 46e9d22, updating Renovate so dependencies in the pre-commit configuration are maintained automatically. | |
| #92 chore(config): migrate renovate config | snapcraft-rocks | merged | Merged in #92 via commit e08f23b, replacing Renovate's deprecated fileMatch option with managerFilePatterns in renovate.json. | |
| #560 chore(deps): update documentation dependencies | craft-providers | merged | Merged Renovate PR #560 updated documentation dependencies to Sphinx 7.3.7 and sphinx-autobuild 2024.4.16. | |
| #128 chore(deps): update development dependencies (minor and patch) | craft-actions | merged | Merged Renovate PR #128 updating dev dependencies: @types/node 26.6.3→26.6.4, eslint 10.11.0→10.12.0, typescript-eslint 8.70.1→8.71.0, vitest 5.0.2→5.0.3. | |
| #462 chore(deps): update documentation dependencies | craft-providers | merged | Merged Renovate PR #462 via commit 99b1abb, updating documentation dependencies including lxd-sphinx-extensions, sphinx-lint, sphinx-reredirects, sphinx-tabs, and sphinxext-opengraph. | |
| #19 chore(ci): have renovate update snapcraft | snapcraft-rocks | merged | PR #19 merged, adding an 18-line renovate.json (regex customManager on rockcraft.yaml + baseBranchPatterns for coreNN branches) so Renovate bumps canonical/snapcraft versions on live branches; landed as commit e1a4987. |