Coder Social home page Coder Social logo

Comments (5)

coderpatros avatar coderpatros commented on August 15, 2024 1

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.

jkowalleck avatar jkowalleck commented on August 15, 2024

@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:

from cyclonedx-php-composer.

jkowalleck avatar jkowalleck commented on August 15, 2024

@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.

jkowalleck avatar jkowalleck commented on August 15, 2024

@coderpatros
addendum: added CI tests to check that reproducible files are produced without changes - via #70

from cyclonedx-php-composer.

jkowalleck avatar jkowalleck commented on August 15, 2024

all done

from cyclonedx-php-composer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.