← Back to issue list

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

View original Github issue

Metadata

Project
rockcraft
Number
#1353
Type
pull request
State
merged
Author
erinecon
Labels
Created
Updated
Closed

Current evaluation

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.

Suggested action:

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
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 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.
98%
#143 chore: update renovate config starbase merged Merged into main after reviewer approval and passing CI checks. The pull request updates the Renovate configuration across two files (+44/-13 lines) with no impact on test coverage.
74%
#2823 chore: configure renovate to ignore requirements files under tests/ charmcraft merged Merged configuration update adding tests/** to ignorePaths in .github/renovate.json5. This stops Renovate from tracking test fixture requirements. Approved by two reviewers and merged.
72%
#4696 chore(deps): update development dependencies (non-major) snapcraft merged Merged automated updates for Python type stubs via Renovate. Approved after passing CI and coverage checks. Maintainer deferred merge to address unrelated spread test failures before applying.
72%
#11 chore(deps): update development dependencies (minor and patch) craft-actions merged Merged automated dependency updates after passing CI and receiving two approvals. Renovate bot upgraded @types/node, esbuild, eslint-plugin-jest, prettier, ts-jest, and typescript-eslint to their latest minor and patch versions.
71%
#70 chore(deps): update development dependencies (minor and patch) craft-actions merged Merged automated minor and patch updates for development dependencies including @types/node, eslint, prettier, and typescript-eslint. Approved by a reviewer, passed all CI checks, and merged via Renovate automerge.
71%
#3 chore: Configure Renovate snapcraft-rocks merged Merged to activate Renovate for automated dependency updates. The onboarding pull request was approved by one reviewer, passed CI checks, and added the initial renovate.json configuration to the repository.
70%
#156 chore: make renovate update pre-commit-config starbase merged Merged a chore to update the pre-commit configuration via Renovate. Approved by one reviewer, passed CI checks, and maintained 100% test coverage. The change modified a single file with one line addition and deletion.
70%
#606 chore(deps): disable renovate on things we can't update craft-parts merged Merged a chore pull request disabling Renovate for unupdatable dependencies. Approved by two reviewers with no unresolved comments. The change adds four lines to one file to exclude specific dependencies from automated updates.
70%