Satis - Storing a Packagist repo locally with local changes that will not be for public consumption

StackOverflow https://stackoverflow.com/questions/13175956

문제

I want to know if I store an existing Bundle that's on http://packagist.org in my company svn repo, do I also need to store the required packages/repos as well?

Example, the MonologBundle:

JSON required blurb:

"require": {
    "php": ">=5.3.2",
    "symfony/monolog-bridge": ">=2.1.0,<2.3-dev",
    "symfony/dependency-injection": ">=2.1.0,<2.3-dev",
    "symfony/config": ">=2.1.0,<2.3-dev",
    "monolog/monolog": "1.*"
},

My company will be making local changes to this Bundle that will not be for public consumption. Since it will be added to our repo I wanted to know if we also have to add the required vendors/bundles/repos as well?

도움이 되었습니까?

해결책

You don't have to, you can simply download the dependencies from packagist if you don't want to override those.

That said, I don't see why you would need to modify the bundle itself. It should be enough to override this or that service if needed.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top