Exclude end-of-support boards from armbian-images.json#271
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
WalkthroughThe script Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@scripts/generate-armbian-images-json.sh`:
- Around line 583-585: The EOS filter currently only skips the base board using
BOARD_SUPPORT_MAP[$BOARD_SLUG], but the reusable-board emission loop still emits
rows for reusable boards whose support is "eos"; update the reusable emission
logic to perform the same check and skip those entries. Specifically, inside the
reusable-board loop (the block that emits the reusable rows), check
BOARD_SUPPORT_MAP for the reusable board's slug variable (the same map used for
the base board, e.g. BOARD_SUPPORT_MAP[$REUSABLE_SLUG] or whatever slug variable
is used in that loop) and continue when it equals "eos" before emitting; ensure
the check mirrors the base-board guard so EOS boards are never written to
armbian-images.json.
🪄 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: CHILL
Plan: Pro
Run ID: ebc6c33d-8148-4c47-ad20-5bb9020d4e67
📒 Files selected for processing (1)
scripts/generate-armbian-images-json.sh
Load .eos board configs so their support level is known, then skip them during JSON generation so EOS boards no longer appear in the download index.
Summary
.eosboard configs so their support level is knownTest plan
.eosconfig extension are excluded from generatedarmbian-images.json.conf,.csc,.wip,.tvb) are still included