-
-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running a recipe on dev-master branch generates a version of 9999999.9999999 in lock file #887
Comments
Which error? |
I'm seeing this error when trying to upgrade some project to Symfony 7.1:
|
Investigating this, it looks like the loading of the symfony.lock expects the package version to be a normalizable package version. But the code writing the lock file in Lines 196 to 205 in 4dc1191
$version variable to be in its own format comparable to recipe version before writing it. I think this variable override is the root cause of this issue (to fully fix the issue, we would have to implement a way to recover from impacted symfony.lock files though). I think it should write the original version for the package version.
|
Anyone up to submit a patch? |
When installing a package it sets the version correctly as "dev-master" but after running the recipe it changes the version to "9999999.9999999" which then throws an error on a cache:clear.
I am using private repositories so I am setting the repository in composer.json as below and then running
composer require thedrum-developers/production-bundle:dev-master
This installs the bundle correctly.After running the
recipes:install thedrum-developers/production-bundle
the issue appears.The text was updated successfully, but these errors were encountered: