Skip to content

renovate: generate pull requests for ddterm releases#90

Merged
amezin merged 1 commit into
masterfrom
renovate/reconfigure
Jun 22, 2026
Merged

renovate: generate pull requests for ddterm releases#90
amezin merged 1 commit into
masterfrom
renovate/reconfigure

Conversation

@amezin

@amezin amezin commented Jun 22, 2026

Copy link
Copy Markdown
Member

No description provided.

@coderabbitai

coderabbitai Bot commented Jun 22, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Summary by CodeRabbit

  • Chores
    • Added a new script for running Renovate locally in dry-run mode during development.
    • Enhanced Renovate configuration to support custom dependency manager rules and improved logging control for specific scenarios.

Walkthrough

Adds renovate-local-dry-run.sh, a Bash script that sets Renovate environment defaults and runs the Renovate container via podman. Also updates renovate.json with a regex custom manager for PKGBUILD/.SRCINFO files and logLevelRemap rules to suppress specific log messages.

Changes

Renovate Configuration and Local Tooling

Layer / File(s) Summary
Custom regex manager for PKGBUILD/.SRCINFO
renovate.json
Closes packageRules, adds a customManagers regex entry targeting gnome-shell-extension-ddterm/PKGBUILD and .SRCINFO to extract pkgver and sha256sums, uses github-release-attachments datasource, and adds logLevelRemap rules to downgrade two no-results messages to warn.
Local podman dry-run script
renovate-local-dry-run.sh
New script that defaults LOG_LEVEL, RENOVATE_REPORT_TYPE, RENOVATE_BASE_DIR, and RENOVATE_PLATFORM; creates the base directory; and executes the Renovate container via podman run with user namespace mapping, env forwarding (GITHUB_COM_TOKEN, RENOVATE_*, logging vars), and read-only repo mount.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

🚥 Pre-merge checks | ✅ 3 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Description check ❓ Inconclusive No pull request description was provided by the author, making it impossible to assess relevance to the changeset. Add a pull request description explaining the purpose of the new Renovate configuration and the local dry-run script.
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title directly corresponds to the main change: adding Renovate configuration to automatically generate pull requests for ddterm releases.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch renovate/reconfigure

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@renovate

renovate Bot commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Reconfigure PR Results

This is a reconfigure PR comment to help you understand and re-configure your renovate bot settings. If this Reconfigure PR were to be merged, we'd expect to see the following outcome:


Detected Package Files

  • .github/workflows/aur-publish.yml (github-actions)
  • .github/workflows/ci.yml (github-actions)
  • .github/workflows/master.yml (github-actions)
  • .github/workflows/ci.yml (regex)
  • gnome-shell-extension-ddterm/.SRCINFO (regex)
  • gnome-shell-extension-ddterm/PKGBUILD (regex)

Configuration Summary

Based on the default config's presets, Renovate will:

  • Hopefully safe environment variables to allow users to configure.
  • Show all Merge Confidence badges for pull requests.
  • Enable Renovate Dependency Dashboard creation.
  • Use semantic commit type fix for dependencies and chore for all others if semantic commits are in use.
  • Ignore node_modules, bower_components, vendor and various test/tests (except for nuget) directories.
  • Group known monorepo packages together.
  • Use curated list of recommended non-monorepo package groupings.
  • Show only the Age and Confidence Merge Confidence badges for pull requests.
  • Apply crowd-sourced package replacement rules.
  • Apply crowd-sourced workarounds for known problems with packages.
  • Ensure that every dependency pinned by digest and sourced from Forgejo contains a link to the commit-to-commit diff
  • Ensure that every dependency pinned by digest and sourced from Gitea contains a link to the commit-to-commit diff
  • Ensure that every dependency pinned by digest and sourced from GitHub.com and Github enterprise contains a link to the commit-to-commit diff
  • Ensure that every dependency pinned by digest and sourced from GitLab.com contains a link to the commit-to-commit diff
  • Correctly link to the source code for golang.org/x packages
  • Link to pkg.go.dev/... for golang.org/x packages' title
  • Provide a link to octochangelog's improved breakdown for Renovate's changelogs
  • Update _VERSION environment variables in GitHub Action files.

What to Expect

With your current configuration, Renovate will create 2 Pull Requests:

chore(deps): update dependency gnome-shell-extension-ddterm to v63.2.1
  • Schedule: ["at any time"]
  • Branch name: renovate/gnome-shell-extension-ddterm-63.x
  • Merge into: master
  • Upgrade gnome-shell-extension-ddterm to 60c1b94c25575092a4c94a18c66e831ca83a7ec8b77acb398974a9122f8dd6ee
chore(deps): update actions/checkout action to v7
  • Schedule: ["at any time"]
  • Branch name: renovate/actions-checkout-7.x
  • Merge into: master
  • Upgrade actions/checkout to 9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0

@amezin amezin force-pushed the renovate/reconfigure branch 3 times, most recently from 56e7031 to 9a29829 Compare June 22, 2026 05:34
@amezin amezin force-pushed the renovate/reconfigure branch from 9a29829 to 9090b20 Compare June 22, 2026 05:44
@amezin amezin marked this pull request as ready for review June 22, 2026 05:57

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@renovate-local-dry-run.sh`:
- Around line 1-8: The renovate-local-dry-run.sh script lacks shell strictness
options that would help catch errors early and prevent silent failures. Add set
-euo pipefail as the first line after the shebang (#!/bin/bash) to enable exit
on error, exit on undefined variables, and proper pipe failure handling. This
will ensure that if any command like mkdir fails, or if any variable is unset,
the script will immediately exit rather than continuing with potentially
corrupted state.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: f5c254da-1186-4405-b79d-a15b87303eec

📥 Commits

Reviewing files that changed from the base of the PR and between 37c7e2d and 9090b20.

📒 Files selected for processing (2)
  • renovate-local-dry-run.sh
  • renovate.json
📜 Review details
🔇 Additional comments (2)
renovate.json (1)

20-44: LGTM!

renovate-local-dry-run.sh (1)

10-24: LGTM!

Comment thread renovate-local-dry-run.sh
Comment on lines +1 to +8
#!/bin/bash

export LOG_LEVEL="${LOG_LEVEL:-info}"
export RENOVATE_REPORT_TYPE="${RENOVATE_REPORT_TYPE:-logging}"
export RENOVATE_BASE_DIR="${RENOVATE_BASE_DIR:-$PWD/.renovate}"
export RENOVATE_PLATFORM="${RENOVATE_PLATFORM:-local}"

mkdir -p "$RENOVATE_BASE_DIR"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick | 🔵 Trivial | 💤 Low value

Consider adding shell strictness options for robustness.

Adding set -euo pipefail would exit on errors (like mkdir failures) and catch unset variable references, preventing silent failures.

🛠️ Suggested improvement
 #!/bin/bash
+
+set -euo pipefail
 
 export LOG_LEVEL="${LOG_LEVEL:-info}"
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
#!/bin/bash
export LOG_LEVEL="${LOG_LEVEL:-info}"
export RENOVATE_REPORT_TYPE="${RENOVATE_REPORT_TYPE:-logging}"
export RENOVATE_BASE_DIR="${RENOVATE_BASE_DIR:-$PWD/.renovate}"
export RENOVATE_PLATFORM="${RENOVATE_PLATFORM:-local}"
mkdir -p "$RENOVATE_BASE_DIR"
#!/bin/bash
set -euo pipefail
export LOG_LEVEL="${LOG_LEVEL:-info}"
export RENOVATE_REPORT_TYPE="${RENOVATE_REPORT_TYPE:-logging}"
export RENOVATE_BASE_DIR="${RENOVATE_BASE_DIR:-$PWD/.renovate}"
export RENOVATE_PLATFORM="${RENOVATE_PLATFORM:-local}"
mkdir -p "$RENOVATE_BASE_DIR"
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@renovate-local-dry-run.sh` around lines 1 - 8, The renovate-local-dry-run.sh
script lacks shell strictness options that would help catch errors early and
prevent silent failures. Add set -euo pipefail as the first line after the
shebang (#!/bin/bash) to enable exit on error, exit on undefined variables, and
proper pipe failure handling. This will ensure that if any command like mkdir
fails, or if any variable is unset, the script will immediately exit rather than
continuing with potentially corrupted state.

@amezin amezin merged commit 9090b20 into master Jun 22, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant