packagist icon indicating copy to clipboard operation
packagist copied to clipboard

package is not auto-updated after moving it on github

Open georgringer opened this issue 8 years ago • 7 comments

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

georgringer avatar Oct 20 '17 09:10 georgringer

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.

stof avatar Oct 20 '17 09:10 stof

btw, look at the output of composer validate too in your package. If the composer.json is invalid, it might prevent updates

stof avatar Oct 20 '17 09:10 stof

I used georgringer as this is my packagist user

georgringer avatar Oct 20 '17 09:10 georgringer

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

georgringer avatar Oct 20 '17 09:10 georgringer

@stof, I have the same problem. https://www.youtube.com/watch?v=-ekdLOpbLM0

halabooda avatar Oct 23 '17 09:10 halabooda

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.

Seldaek avatar Nov 30 '17 16:11 Seldaek

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.

nglasl avatar Dec 11 '17 04:12 nglasl