Closed qurben closed 4 years ago
Heya,
Not sure why that would be necessary?
Marco Pivetta
On Sun, May 24, 2020 at 9:10 PM Gerben Oolbekkink notifications@github.com wrote:
We depend on a package which depends on this package. We noticed that Versions.php updates for every version we put out, even when the changes in our repository are not part of the deployed code.
We would like to see that if we don't change our composer.lock file or add/remove/rename php files, the contents of vendor do not change.
Is there a way to disable generating versions for the rootPackage or make sure that the rootPackage is always the same version?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Ocramius/PackageVersions/issues/142, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABFVEGATZ3CBEVQMOKGELTRTFWLZANCNFSM4NJAIL3Q .
It produces noise in our deployment setup, every commit is also a change in Versions.php
, but we rather not remove Versions.php
altogether as this might break something we depend on.
If there is a nice way to configure this it would be very nice, else we would just script something to remove the line after it is generated.
If you are OK with running with an outdated vendor
, you can run
installation with --no-scripts
at the cost of some runtime performance
down the line if version resolution is required.
Marco Pivetta
On Sun, May 24, 2020 at 9:43 PM Gerben Oolbekkink notifications@github.com wrote:
It produces noise in our deployment setup, every commit is also a change in Versions.php, but we rather not remove Versions.php altogether as this might break something we depend on.
If there is a nice way to configure this it would be very nice, else we would just script something to remove the line after it is generated.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Ocramius/PackageVersions/issues/142#issuecomment-633285317, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABFVEGGLJDROTRTRNBOWKTRTF2HNANCNFSM4NJAIL3Q .
This will be implemented in https://github.com/Ocramius/PackageVersions/milestone/22
We depend on a package which depends on this package. We noticed that
Versions.php
updates for every version we put out, even when the changes in our repository are not part of the deployed code.We would like to see that if we don't change our
composer.lock
file or add/remove/rename php files, the contents ofvendor
do not change.Is there a way to disable generating versions for the rootPackage or make sure that the rootPackage is always the same version?