{"id":48503944,"url":"https://github.com/bootlin/meta-spdx-diff-test","last_synced_at":"2026-04-07T15:37:08.677Z","repository":{"id":342578555,"uuid":"1116950041","full_name":"bootlin/meta-spdx-diff-test","owner":"bootlin","description":null,"archived":false,"fork":false,"pushed_at":"2026-03-25T09:23:08.000Z","size":937,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"scarthgap","last_synced_at":"2026-03-26T12:55:05.730Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"BitBake","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bootlin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING.MIT","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-15T16:00:05.000Z","updated_at":"2026-03-25T09:23:12.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/bootlin/meta-spdx-diff-test","commit_stats":null,"previous_names":["bootlin/meta-spdx-diff-test"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bootlin/meta-spdx-diff-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bootlin%2Fmeta-spdx-diff-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bootlin%2Fmeta-spdx-diff-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bootlin%2Fmeta-spdx-diff-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bootlin%2Fmeta-spdx-diff-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bootlin","download_url":"https://codeload.github.com/bootlin/meta-spdx-diff-test/tar.gz/refs/heads/scarthgap","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bootlin%2Fmeta-spdx-diff-test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31518631,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-04-07T15:37:08.225Z","updated_at":"2026-04-07T15:37:08.666Z","avatar_url":"https://github.com/bootlin.png","language":"BitBake","funding_links":[],"categories":[],"sub_categories":[],"readme":"# meta-spdx-diff-test\n\nTest layer demonstrating spdx-diff with various SBOM change scenarios.\n\n## Structure\n\n- `core-image-minimal.bbappend` - Enables spdx-diff with fixed reference SBOM\n- `kas/image-minimal.yml` - Builds baseline core-image-minimal\n- `kas/spdx-diff.yml` - Enables spdx-diff with fixed reference SBOM by applying\n  `meta-spdx-diff-test/recipes-core/images/core-image-minimal.bbappend`.\n- `kas/test-*.yml` - Test scenarios that compose with image-minimal.yml\n- `meta-recipes-test/` - Demo layer providing packages for testing\n- `kernel-config/*.cfg` - Kernel configuration test cases\n\n## Test Scenarios\n\n### Package Changes\n\n- `test-new-package.yml` - Add packages (example, i2c-tools)\n- `test-new-package-version.yml` - Upgrade i2c-tools (4.3 → 4.4)\n- `test-new-packageconfig.yml` - Modify package build features\n\n### Kernel Configuration\n\n- `test-kernelconfig-n-to-y.yml` - Enable feature (n → y)\n- `test-kernelconfig-n-to-m.yml` - Enable module (n → m)\n\n## Quick Start\n\n```bash\n# Clone\ngit clone https://github.com/bootlin/meta-spdx-diff-test.git meta-spdx-diff-test\ncd meta-spdx-diff-test\n\n# Build baseline\nkas build kas/image-minimal.yml\n\n# Build with changes\nkas build kas/image-minimal.yml:kas/test-new-package.yml\n\n# Build with changes and with spdx-diff enabled\nkas build kas/image-minimal.yml:kas/spdx-diff.yml:kas/test-new-package.yml\n\n# View diff\ncat build/tmp-glibc/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs.spdx-diff.json\n```\n\n## How It Works\n\n1. `core-image-minimal.bbappend` inherits spdx-diff class\n2. Reference SBOM is fetched from:\n   ```\n   file://${TOPDIR}/../sbom-data/reference-sbom.spdx.json\n   ```\n3. After image build, spdx-diff compares new vs reference\n4. Diff results are deployed with human-readable summary\n\n## Example Output\n\n```\nPackages - Added:\n    + example: 0.1\n    + i2c-tools: 4.3\n\nPackages - Changed:\n    ~ openssl: 3.0.13 -\u003e 3.0.14\n\nKernel Config - Changed:\n    ~ CONFIG_SECURITY_SELINUX: n -\u003e y\n```\n\n## Test Composition\n\nAll scenarios compose with `image-minimal.yml`:\n\nTo generate all test cases, executes: `sbom-data/generate_sboms.sh`\n\n## Requirements\n\n- [meta-spdx-diff](https://github.com/bootlin/meta-spdx-diff)\n- Scarthgap with OE-Core commit a172a0e8d5 or later\n- KAS build tool\n\n## Links\n\n- spdx-diff tool: https://github.com/bootlin/spdx-diff\n- meta-spdx-diff layer: https://github.com/bootlin/meta-spdx-diff\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbootlin%2Fmeta-spdx-diff-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbootlin%2Fmeta-spdx-diff-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbootlin%2Fmeta-spdx-diff-test/lists"}