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

jsoninfo: add inventory-artifacts cli, which stops after artifacts-reduced and adds kernels.ndjson and uboots.njdson via jq #7639

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rpardini
Copy link
Member

@rpardini rpardini commented Jan 2, 2025

jsoninfo: add inventory-artifacts cli, which stops after artifacts-reduced and adds kernels.ndjson and uboots.njdson via jq

  • jsoninfo: add inventory-artifacts cli, which stops after artifacts-reduced and adds kernels.ndjson and uboots.njdson via jq
    • if one runs ./compile.sh inventory-artifacts we shall get:
      • output/info/kernels.ndjson: one line for each kernel build
      • output/info/uboots.ndjson: one line for each u-boot build
    • this is meant as base for other tooling that acts "for each kernel" or "for each u-boot" such as patch/config rewrites, etc

@github-actions github-actions bot added size/small PR with less then 50 lines Needs review Seeking for review Framework Framework components labels Jan 2, 2025
…reduced and adds kernels.ndjson and uboots.njdson via jq

- if one runs `./compile.sh inventory-artifacts` we shall get:
  - `output/info/kernels.ndjson`: one line for each kernel build
  - `output/info/uboots.ndjson`: one line for each u-boot build
- this is meant as base for other tooling that acts "for each kernel" or "for each u-boot" such as patch/config rewrites, etc
@rpardini rpardini force-pushed the pr/jsoninfo-add-inventory-artifacts-cli-which-stops-after-artifacts-reduced-and-adds-kernelsndjson-and-ubootsnjdson-via-jq branch from c15361a to fac108a Compare January 3, 2025 09:57
@rpardini
Copy link
Member Author

rpardini commented Jan 4, 2025

.ndjson is fine, but still requires read / jq-fu to process. I'll look into outputting something that bash can loop better over.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Framework Framework components Needs review Seeking for review size/small PR with less then 50 lines
Development

Successfully merging this pull request may close these issues.

1 participant