首页 > 解决方案 > Github 明星在 packagegist 中没有正确显示

问题描述

我最近在 github 上创建了一个开源项目。

https://github.com/sagautam5/local-states-nepal

然后,我把这个包上传到了https://packagist.org

之后,我通过添加网络挂钩进行了自动更新。主要问题是星数在 packagegist 中显示不正确。

github 项目中有 10 颗星,但在 packagist 中只显示了一颗星?我错过了要设置的东西还是 packageagist 中的问题?

标签: phpgithubcomposer-phppackagistgit-webhooks

解决方案


如果您刚刚发布了https://packagist.org/packages/sagautam5/local-states-nepal,请及时检查问题是否仍然存在。

Stars ”链接的值可能会缓存在 packagist.org 页面中,并且可能会在几个小时内更新。
或者它在发布时(1 月 4 日)被缓存,只有在您今天上传新版本时才会更新。


推荐阅读