-
-
Notifications
You must be signed in to change notification settings - Fork 68
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
Composer files not updated when new version fetched #265
Comments
Hi @rayrutjes and thank you for your bug report. Please provide:
|
Thanks for the quick reply @khromov . Reproduction steps:
As a user I would expect that the UI reflects the state of the composer repository. I guess this is a tricky one since there isn't such thing as updating a single composer entry for a given plugin. This is only updated at each cron run of |
Thanks for those additional details, I understand the issue now. Rebuilding takes about 15 seconds on my computer, so it's not prohibitively expensive to do it on an update. However, it might exacerbate a problem that I've noticed where if the build script runs while you are performing a @joaquimds Maybe you have some input regarding this? |
Just ran into this myself. Would love to see an update! For posterity's sake, how often is the wpackagist composer repository rebuilt? |
@ethanclevenger91 this is an open question! #350 and underlying bug #368 are outstanding and should unlock testing of much faster updates. I think the refactoring & fixes already written will also address the immediate rebuild step, hopefully also mitigating the risk of resulting 404s. But we can re-test once we have resolved the bug blocking deploying the changes. |
The logic changes which do all the steps for a specific package on-demand are now live. I'll close this for now – please reopen if you find the problem's ongoing. |
There is a discrepancy when a user manually asks to update a given repository.
The display will show the latest version, but this version will not be available for use in composer until the
build
command is ran.The text was updated successfully, but these errors were encountered: