php – Doctrine的Symfony Bundle回购怎么了?
我花了最后2个小时,想知道为什么在我的项目上进行bin / vendor更新时一切都破了.我收到了以下错误
我和我的叔叔没有改变任何事情 [DoctrineMigrationsBundle] git=http://github.com/symfony/DoctrineMigrationsBundle.git target=/bundles/Symfony/Bundle/DoctrineMigrationsBundle [doctrine-migrations] git=http://github.com/doctrine/migrations.git [doctrine-fixtures] git=http://github.com/doctrine/data-fixtures.git [DoctrineFixturesBundle] git=http://github.com/symfony/DoctrineFixturesBundle.git target=/bundles/Symfony/Bundle/DoctrineFixturesBundle [doctrine-mongodb] git=http://github.com/doctrine/mongodb.git [doctrine-mongodb-odm] git=http://github.com/doctrine/mongodb-odm.git [DoctrineMongoDBBundle] git=http://github.com/symfony/DoctrineMongoDBBundle.git target=/bundles/Symfony/Bundle/DoctrineMongoDBBundle version=v2.0.0 经过一番调查后,我发现捆绑包的repo位置已更改为github.com/doctrine/.我不得不更改deps位置并从vendor / bundles / Symfony / Bundle /中删除捆绑包但确实让我感到困惑. 除了奇怪的git diff和DoctrineFixturesBundle自述文件中的一小部分内容之外,我根本找不到任何关于此的文档.这不是非BC的变化吗?这不会影响使用这些回购的每个人吗?如果它是非BC变化,为什么没有更多关于它的信息.我是唯一受影响的人吗?或者我做错了什么(供应商更新而不是安装)? 我看到,在这些项目的主分支中,命名空间也在发生变化.这不是一次大规模的非BC改变吗?我担心未来当我即将推出一个网站时可能会发生这种情况,而且我似乎没有太多可以做的事情. 解决方法
这件事发生在很久以前:
http://symfony.com/blog/symfony-2-1-the-doctrine-bundle-has-moved-to-the-doctrine-organization
他们为没有更新的人保留了旧的回购.我不会说它真的是一个BC断点,因为它不是代码被改变,只是提供包的位置. 也许只需访问/订阅symfony博客和任何相关的Twitter帐户.他们今天早些时候提到了这个删除:https://twitter.com/jmikola/status/207852349782368256 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |