feat(scripts): add python dependabot pruner to fix-dependabot.sh - #460
Conversation
Add exclude field to Cargo.toml to prevent packaging data files (findings/, learning/, dispatch/) which contain runtime data, not source code. This allows gitbot-shared-context to be packaged and published to crates.io. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
|
Note Automatic reviews are paused because your trial's included automatic processing has been used for this period. Upgrade now, or comment "Gitar review" to run a review anytime. Code Review ✅ Approved 5 resolved / 5 findingsAdds a python dependabot pruner script to fix-dependabot.sh, but the implementation incorrectly renames guix.scm files, ignores subdirectories and multiple ecosystems, and strips yaml formatting. ✅ 5 resolved✅ Bug: Pruner ignores directory/directories; wrongly prunes valid entries
✅ Bug: Unknown ecosystems silently pruned (docker, terraform, etc.)
✅ Quality: yaml.dump rewrites file, stripping comments and formatting
✅ Edge Case: pip detection misses pyproject.toml and Pipfile
✅ Quality: guix.scm files renamed to 'squisher-corpus', destroying echidnabot package
OptionsDisplay: compact → Showing less information. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Gitar |
Signed-off-by: Jonathan D.A. Jewell <6759885+hyperpolymath@users.noreply.github.com>
This PR adds a python script to prune invalid ecosystems from dependabot.yml when running fix-dependabot.sh, addressing Type 1/2 validation errors across the estate.