← Back to issue list

chore: update renovate rules around 12-factor Spread test materials- #1353

View original Github issue

Metadata

Project
charmcraft
Number
#2867
Type
pull request
State
merged
Author
erinecon
Labels
—
Created
Updated
Closed

Current evaluation

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.

Resolution: closed resolved

Reason: The pull request was approved by two reviewers with all CI checks passing and merged into main as commit 98c5940b. It applied the Renovate configuration changes for the 12-factor Spread test/tutorial materials described for tracking issue #1353.

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 * Updated `ignorePaths` to ignore `docs/requirements.txt` only * 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/charmcraft/blob/main/CONTRIBUTING.md). - [X] I've signed the [CLA](http://www.ubuntu.com/legal/contributors/). - [Failures unrelated to the changes in this 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 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.
stealth/space-bunny-alpha — closed resolved Merged as charmcraft#2867 in commit 98c5940b, updating Renovate rules for 12-factor Spread test materials with grouped updates and ExpressJS and Spring Boot custom managers.
qwen3.6-35b-a3b-mtp-q6 — — Merged. Updated renovate.json5 to manage 12-factor Spread test materials. Config ignores docs/requirements.txt, disables major updates, groups minor/patch releases, and adds custom managers for ExpressJS and Spring Boot. Approved and passed CI.

Update history

Date Change
updated
updated
updated
updated
updated
updated
updated
updated
created

Related work

  • Related To: canonical/charmcraft#1353 (confidence 80%)

    Referenced in the PR title as the tracking issue for routine dependency-update housekeeping that these renovate rules support

Related issues

Issue Project State Summary Similarity
#1353 chore: update renovate rules around 12-factor Spread test materials rockcraft merged Merged renovate.json5 updates in #1353: ignored docs/requirements.txt, grouped non-major tutorial updates, and added Express and Spring Boot custom managers.
95%
#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.
73%
#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.
72%
#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.
72%
#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.
72%
#1357 chore: remove unused docs requirements file craft-parts merged Merged #1357 as commit b472871d, deleting the unused 349-line docs/requirements.txt to stop needless Renovate PR noise; all CI checks passed.
72%
#359 chore(lint): update linters and fix linting issues with new rules craft-parts merged Merged PR #359 in commit e7b93bde, updating linters and fixing violations introduced by the new rules across 13 files.
72%
#547 chore(deps): update documentation dependencies craft-parts merged Renovate docs-dependency bump PR merged to main as a9512830 after lengau manually downgraded some packages once the Read the Docs build passed via #556; the failing lint was unrelated (#562).
72%
#734 chore(deps): update documentation dependencies craft-parts closed Renovate PR #734 was closed unmerged after five days of inactivity; its dependency versions appeared in 84e96162 and were later carried forward by 67623b5d.
72%
#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.
72%