callmez / yii2-wechat

基于Yii2实现的微信模块, 集成微信模拟器、多公众号管理、扩展开发接口,只需关注功能,微信开发的强劲引擎[停止开发, 仅供学习].
http://huajuan.me/yii2-wechat
MIT License
385 stars 195 forks source link

请教一个问题:在mac上composer update的时候,import大量的tag,都好几千个了。请问怎么办? #25

Open Cenyol opened 7 years ago

Cenyol commented 7 years ago

这是我mac上用户目录下的root composer.json

{
    "require": {
        "codeception/codeception": "2.0.*",
        "codeception/specify": "*",
        "codeception/verify": "*",
        "fxp/composer-asset-plugin": "@beta"
    }
}

这是我项目的composer.json

{
    "name": "yiisoft/yii2-app-advanced",
    "description": "Yii 2 Advanced Project Template",
    "keywords": ["yii2", "framework", "advanced", "project template"],
    "homepage": "http://www.yiiframework.com/",
    "type": "project",
    "license": "BSD-3-Clause",
    "support": {
        "issues": "https://github.com/yiisoft/yii2/issues?state=open",
        "forum": "http://www.yiiframework.com/forum/",
        "wiki": "http://www.yiiframework.com/wiki/",
        "irc": "irc://irc.freenode.net/yii",
        "source": "https://github.com/yiisoft/yii2"
    },
    "minimum-stability": "dev",
    "require": {
        "php": ">=5.4.0",
        "yiisoft/yii2": "~2.0.6",
        "bower-asset/angular": "~1.3@stable",
        "yiisoft/yii2-bootstrap": "~2.0.0",
        "yiisoft/yii2-swiftmailer": "~2.0.0",
        "kartik-v/yii2-grid": "@dev",
        "qiniu/php-sdk": "7.*",
        "kartik-v/yii2-detail-view": "*",
        "kartik-v/yii2-widgets": "*",
        "kartik-v/yii2-date-range": "*",
        "kartik-v/yii2-mpdf": "*",
        "kartik-v/yii2-checkbox-x": "*",
        "callmez/yii2-wechat": "*"
    },
    "require-dev": {
        "yiisoft/yii2-debug": "~2.0.0",
        "yiisoft/yii2-gii": "~2.0.0",
        "yiisoft/yii2-faker": "~2.0.0",

        "codeception/base": "^2.2.3",
        "codeception/verify": "~0.3.1"
    },
    "config": {
        "process-timeout": 1800,
        "fxp-asset": {
            "installer-paths": {
                "npm-asset-library": "web/assets/vendor",
                "bower-asset-library": "web/assets/vendor"
            }
        }
    },
    "repositories": {
        "packagist": {
            "type": "composer",
            "url": "https://packagist.phpcomposer.com"
        }
    },
    "scripts": {
        "post-install-cmd": "php init --env=Development --overwrite=n"
    }
}

类似这样的每个包它都导入了大量的版本

Importing tag v1.2.0 (1.2.0.0)
Reading bower.json of bower-asset/bootstrap (v4.0.0-alpha.6)
Downloading https://api.github.com/repos/twbs/bootstrap/contents/bower.json?ref=65ffb1c3b6e94440812a2e228cb8e8be512652ec
Downloading https://api.github.com/repos/twbs/bootstrap/commits/65ffb1c3b6e94440812a2e228cb8e8be512652ec
Writing /Users/cenyol/.composer/cache/repo/github.com/twbs/bootstrap/bower-65ffb1c3b6e94440812a2e228cb8e8be512652ec into cache
Importing tag v4.0.0-alpha.6 (4.0.0.0-alpha6)
Reading bower.json of bower-asset/bootstrap (v4.0.0-alpha.5)
Downloading https://api.github.com/repos/twbs/bootstrap/contents/bower.json?ref=b5890e0608ad2262cde4a38e90afa19f1cb5d852
Downloading https://api.github.com/repos/twbs/bootstrap/commits/b5890e0608ad2262cde4a38e90afa19f1cb5d852
Writing /Users/cenyol/.composer/cache/repo/github.com/twbs/bootstrap/bower-b5890e0608ad2262cde4a38e90afa19f1cb5d852 into cache
Importing tag v4.0.0-alpha.5 (4.0.0.0-alpha5)
Reading bower.json of bower-asset/bootstrap (v4.0.0-alpha.4)
Downloading https://api.github.com/repos/twbs/bootstrap/contents/bower.json?ref=295c93846c154fb461f85b30e663102f7e171104
Downloading https://api.github.com/repos/twbs/bootstrap/commits/295c93846c154fb461f85b30e663102f7e171104
Writing /Users/cenyol/.composer/cache/repo/github.com/twbs/bootstrap/bower-295c93846c154fb461f85b30e663102f7e171104 into cache
Importing tag v4.0.0-alpha.4 (4.0.0.0-alpha4)
Reading bower.json of bower-asset/bootstrap (v4.0.0-alpha.3)
Downloading https://api.github.com/repos/twbs/bootstrap/contents/bower.json?ref=c7de6107a86ebe65a6f5d5b88884256e5094ca92
Downloading https://api.github.com/repos/twbs/bootstrap/commits/c7de6107a86ebe65a6f5d5b88884256e5094ca92
Writing /Users/cenyol/.composer/cache/repo/github.com/twbs/bootstrap/bower-c7de6107a86ebe65a6f5d5b88884256e5094ca92 into cache
Importing tag v4.0.0-alpha.3 (4.0.0.0-alpha3)
Reading bower.json of bower-asset/bootstrap (v4.0.0-alpha.2)
Downloading https://api.github.com/repos/twbs/bootstrap/contents/bower.json?ref=48938155eb24b4ccdde09426066869504c6dab3c
Downloading https://api.github.com/repos/twbs/bootstrap/commits/48938155eb24b4ccdde09426066869504c6dab3c
Writing /Users/cenyol/.composer/cache/repo/github.com/twbs/bootstrap/bower-48938155eb24b4ccdde09426066869504c6dab3c into cache
Importing tag v4.0.0-alpha.2 (4.0.0.0-alpha2)
Reading bower.json of bower-asset/bootstrap (v4.0.0-alpha1)
Downloading https://api.github.com/repos/twbs/bootstrap/contents/bower.json?ref=980d8ea2d828fe1796a423f80d84d526b0252a89

在谷歌上搜到您也遇到过这个问题:https://github.com/fxpio/composer-asset-plugin/issues/69 请问该怎么处理呢