Skip to content
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

一个疑问,是这样的,我复制作者到创建的仓库,就出现一个问题 #42

Closed
hulang opened this issue Oct 24, 2023 · 3 comments

Comments

@hulang
Copy link

hulang commented Oct 24, 2023

主要是我一直用国内:阿里云镜像,快啊。
但是无法安装作者你写的。。用原生repo.packagist.org慢啊。。
这是我自己复制到我仓库的:https://github.com/hulang/think-ip
目前出现一个问题,一直提示错误:
unpack(): Type V: not enough input, need 4, have 1
如果可以,作者你指点下啊。。最好能使用:阿里云镜像更新。。。我就不用复制仓库了。。
@itbdw

@hulang
Copy link
Author

hulang commented Oct 26, 2023

解决了。。。我依旧使用作者你的库,用:阿里云。。
composer.json里面设置成了dev。。。

"itbdw/ip-database": "^3.x-dev"

@hulang
Copy link
Author

hulang commented Oct 26, 2023

我认为应该作者需要在:packagist.org里面删除dev,再更新一下版本到:3.0.2,阿里云应该就可以正常更新了。
更新的时候,顺便可以把:纯真IP库更新一下。。。

@itbdw
Copy link
Owner

itbdw commented Dec 1, 2023

刚发布了 3.0.2
https://packagist.org/packages/itbdw/ip-database

检查了源站,是可用的
https://repo.packagist.org/p2/itbdw/ip-database.json

阿里云应该是出问题了,无法识别新的release,而且通过观察他给出的地址,发现zip包还是在github下载的,很慢的。 https://mirrors.aliyun.com/composer/p2/itbdw/ip-database.json

腾讯是可用的,而且zip包也是直接在腾讯下载,建议使用腾讯 🥇
https://mirrors.cloud.tencent.com/repository/composer/p/itbdw/ip-database.json

@hulang hulang closed this as completed Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants