Skip to content

fix(renovate): detect vendored deps under devices/vendor/#44

Merged
jbunting merged 1 commit into
mainfrom
fix/renovate-vendor-ignorepaths
Jul 23, 2026
Merged

fix(renovate): detect vendored deps under devices/vendor/#44
jbunting merged 1 commit into
mainfrom
fix/renovate-vendor-ignorepaths

Conversation

@jbunting

Copy link
Copy Markdown
Owner

Problem

The Renovate dependency dashboard (#14) was not detecting the vendored dependencies in devices/vendor/:

  • tube0013/TubesZB-ESPHome-Builder (in tubeszb-zw.yaml and tubeszb-mgm24.yaml)
  • tube0013/esphome-components (in tubeszb-mgm24.yaml)

The # renovate: datasource=git-refs … annotations and the custom managers were all correct — the three annotations in top-level devices/*.yaml (bluetooth-proxy, garage-door, hot-tub) were being detected fine.

Root cause

config:recommended extends the :ignoreModulesAndTests preset, whose default ignorePaths includes **/vendor/** and **/examples/**. Renovate applies ignorePaths before any manager runs, so every file under devices/vendor/ was skipped regardless of our managerFilePatterns. Our devices/vendor/ holds first-class vendored ESPHome configs, not throwaway third-party trees, so the default exclusion is wrong for this repo.

Fix

Override ignorePaths to just the npm-style trees this repo will never contain (node_modules, bower_components), dropping vendor/examples/tests. .esphome/ build caches are already gitignored so Renovate never sees them.

Verification

  • renovate-config-validator passes.
  • renovate --platform=local --dry-run=extract now extracts tube0013/TubesZB-ESPHome-Builder and tube0013/esphome-components from both devices/vendor/*.yaml files (previously absent).

After this merges, the dependency dashboard's regex section should grow from 3 to 5 entries (the two vendor files).

🤖 Generated with Claude Code

`config:recommended` pulls in the `:ignoreModulesAndTests` preset, whose
ignorePaths includes `**/vendor/**` and `**/examples/**`. Our vendored
TubesZB Z-Wave and MGM24 configs live under `devices/vendor/`, so Renovate
skipped them before any manager ran — the `# renovate: datasource=git-refs`
annotations for tube0013/TubesZB-ESPHome-Builder and tube0013/esphome-components
were never detected (they were absent from the dependency dashboard, while the
top-level devices/*.yaml annotations were picked up).

Override ignorePaths to just the npm-style trees this repo will never contain
(.esphome/ build caches are already gitignored). Verified with
`renovate --platform=local --dry-run=extract`: both vendor configs' deps now
extract.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@jbunting
jbunting merged commit 3c70f89 into main Jul 23, 2026
10 checks passed
@jbunting
jbunting deleted the fix/renovate-vendor-ignorepaths branch July 23, 2026 17:59
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