Ocramius/PackageVersions

Option to ignore version of rootPackage

qurben opened this issue · 4 comments

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?

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.