Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli: introduce inventory-boards cli command, for hopefully painless & useful one-board-per-line CSV output #6354

Conversation

rpardini
Copy link
Member

@rpardini rpardini commented Mar 5, 2024

cli: introduce inventory-boards cli command, for hopefully painless & useful one-board-per-line CSV output

  • cli: introduce inventory-boards cli command, for hopefully painless & useful one-board-per-line CSV output
    • inventory-boards-csv.py: moar Python atrocities done to data; idea here is to output one line per board, with <> for fields that, well, vary (mainly across BRANCH'es)
    • inventory-boards sets TARGETS_FILE to something that doesn't exist, so the default-targets.yaml is used (so same list for everyone, save for userpatched-boards)

… & useful one-board-per-line CSV output

- `inventory-boards-csv.py`: moar Python atrocities done to data; idea here is to output one line per board, with <<varies>> for fields that, well, vary (mainly across BRANCH'es)
- `inventory-boards` sets `TARGETS_FILE` to something that doesn't exist, so the `default-targets.yaml` is used (so same list for everyone, save for userpatched-boards)
@github-actions github-actions bot added the size/medium PR with more then 50 and less then 250 lines label Mar 5, 2024
@rpardini
Copy link
Member Author

rpardini commented Mar 5, 2024

Example usage is just ./compile.sh inventory-boards, this will fry your cores for a while, then output output/info/boards-inventory.csv ready to be consumed.

@rpardini rpardini marked this pull request as ready for review March 5, 2024 20:26
@rpardini rpardini requested review from iav, neheb, hzyitc, mhoffrog and a team as code owners March 5, 2024 20:26
@igorpecovnik igorpecovnik added 05 Milestone: Second quarter release Needs Documentation New feature needs documentation entry labels Mar 5, 2024
@igorpecovnik igorpecovnik added the Ready to merge Reviewed, tested and ready for merge label Mar 5, 2024
@rpardini rpardini merged commit bf7f207 into armbian:main Mar 5, 2024
17 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
05 Milestone: Second quarter release Needs Documentation New feature needs documentation entry Ready to merge Reviewed, tested and ready for merge size/medium PR with more then 50 and less then 250 lines
Development

Successfully merging this pull request may close these issues.

None yet

2 participants