packagist
packagist copied to clipboard
package is not auto-updated after moving it on github
I have the problem that I moved a package on github from https://github.com/georgringer/news_subheadline to https://github.com/ext-news/news_subheadline and updated the URL at packagist but it still says that it is not auto-updated.
Is there any issue on my side? I also updated the hook at github several times, using still as username georgringer and my token.
Thanks for help
Have you configured the packagist username explicitly in the configuration of the Github webhook service ? If you leave it empty, it will use the repo owner name.
btw, look at the output of composer validate too in your package. If the composer.json is invalid, it might prevent updates
I used georgringer as this is my packagist user
I removed the package and readded it and still the package is not updated when a change happens at github. https://packagist.org/packages/georgringer/news-subheadline shows an old readme
@stof, I have the same problem. https://www.youtube.com/watch?v=-ekdLOpbLM0
All I can say is sometimes deleting the integration/service on github and then re-creating it helps unlock the situation. Double checking you don't paste any weird stuff inside the API token is also a good idea.
Throwing my +1 onto this. The auto-update will work 95% of the time, but fail the other 5% of the time. I tested this by adding a tag onto a repository, and it would show under packagist. Then deleting the tag, it would remain under packagist. If you look under settings, there's a "last delivery failed due to timeout" error. Pushing another tag, it appears under packagist and the previous tag is now gone. I've also tried doing a "force update" directly from packagist, and it actually took two attempts before the deleted tag was removed, so it's definitely hit and miss from either end. This doesn't only happen when deleting a tag, as I've had the same issue when trying to create a new tag.