Comments (5)
That’s a great idea. Looking forward to see how you tackle this. I should do the same for the .NET implementation.
from cyclonedx-php-composer.
@coderpatros
i did a demo setup before, since i found the tests insufficient. I did not want to improve the tests, since i am working on a unit-tested rewrite already. So i came up with a demo as some kind of end-t-end integration test.
this exciting demo was runable in every supported env,
but therefore it's output SBOM files were not reproducible.
SO via #59 + #66 is added the demo with thee needed laravel/laravel:7.12.0
as a reproducible setup.
Since i am pinning to outdated versions in my demo, i still need to get dependabot to ignore these demo files.
this was tried to do via via #60 and #63(important - see #61)
without some affect:
- dependencies still are listed and marked as vulnerable - https://github.com/CycloneDX/cyclonedx-php-composer/network/dependencies.
- denependabot ignores those dependencies as expected - https://github.com/CycloneDX/cyclonedx-php-composer/network/updates
- vulnerable dep "laravel:7.12: is ignored by dependabot alerts as expected - https://github.com/CycloneDX/cyclonedx-php-composer/security/dependabot
- result: this repo does not prompt as vulnerable, demo deps are not managed by dependabot.
from cyclonedx-php-composer.
@coderpatros
i wonder if i tackeled this right.
the idea: i want to have reproducible builds. therefor i need a composer.lock file.
since https://github.com/laravel/laravel/tree/v7.12.0 did not have one.
i creeated a demo project that requires laravel/framework:7.12.0
- seamed far enough for me ....
then i pinned the dependencies, to keep track of the versions so i get reproducible SBOM files.
anyways, i decided to require the whole laravel
via #66
from cyclonedx-php-composer.
@coderpatros
addendum: added CI tests to check that reproducible files are produced without changes - via #70
from cyclonedx-php-composer.
all done
from cyclonedx-php-composer.
Related Issues (20)
- feat: component's authors HOT 2
- have `serialNumber` populated HOT 1
- change: `composer make-bom` -> `composer CycloneDX:make-sbom` HOT 2
- perf: generator/iterator extractor without `iterator_to_array`
- component's `reference`
- [BUG] SBOM generation does not find right purl with wordpress composer installation HOT 7
- upload test results to codacy
- typo "compoer" -> "composer"
- support CDX 1.5
- render `metadata.lifecycles`
- render property `cdx:reproducible`
- support composer v2.6.0
- add info to SBOM results: which version of `composer` was used in the process
- Populate `metadata.tools[].version` when installed globally
- [TRACK] CycloneDX SBOM in `composer`
- [TRACK] openSSF cii-best-practices badge shows wrong values HOT 1
- [BUG] hashes on wrong element
- feat: dependency graph with virtual packages
- feat: document platform dependencies
- default to CycloneDX 1.5 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cyclonedx-php-composer.