教义的Symfony Bundle repos发生了什么事? [英] What happened to Doctrine's Symfony Bundle repos?

查看:162
本文介绍了教义的Symfony Bundle repos发生了什么事?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚花了最后2个小时想知道为什么当我在我的项目上做了一个bin / vendor更新时,为什么一切都会崩溃。我收到以下错误


致命:github.com/symfony/DoctrineMigrationsBundle.git/info/refs没有找到:你是否运行git服务器上的update-server-info?



致命:github.com/symfony/DoctrineMongoDBBundle.git/info/refs未找到:您是否运行git update-server-在服务器上的信息?



致命:github.com/symfony/DoctrineFixturesBundle.git/info/refs未找到:您是否在服务器上运行git update-server-info ?


我没有改变任何与我的deps

  [DoctrineMigrationsBundle] 
git = http://github.com/symfony/DoctrineMigrationsBundle.git
target = / bundles / Symfony / Bundle / DoctrineMigrationsBundle
[doctrine-迁移]
git = http://github.com/doctrine/migrations.git

[doctrine-fixtures]
git = http://github.com/doctrine/ data-fixtures.git
[DoctrineFixturesBundle]
git = http://github.com/symfony/Do ctrineFixturesBundle.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

经过一番调查,我发现捆绑包的回收位置已更改为github.com/doctrine/。我不得不更改deps位置,并从供应商/捆绑包/ 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


I just spent the last 2 hours wondering why everything broke when I did a bin/vendors update on my project. I was getting the following errors

fatal: github.com/symfony/DoctrineMigrationsBundle.git/info/refs not found: did you run git update-server-info on the server?

fatal: github.com/symfony/DoctrineMongoDBBundle.git/info/refs not found: did you run git update-server-info on the server?

fatal: github.com/symfony/DoctrineFixturesBundle.git/info/refs not found: did you run git update-server-info on the server?

I hadn't changed anything with my deps

[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

After some investigation I saw that the repo locations of the bundles have changed to github.com/doctrine/. I had to change the deps locations and delete the bundles from vendors/bundles/Symfony/Bundle/ but it sure did confuse me.

I can't find any documentation on this at all, apart from the odd git diff and a small mention in the readme for the DoctrineFixturesBundle. Isn't this a non-BC change? Doesn't this affect everyone using those repos? If it's a non-BC change, why isn't there more information about it. Am I the only one affected? Or did I do something wrong (vendors update instead of install)?

I see that in the master branches of those projects, the namespaces are changing as well. Isn't this a massive non-BC change? I'm concerned that this could happen in the future when I'm about to launch a site and there doesn't seem to be much I can do about it.

解决方案

This happend quite a while ago: http://symfony.com/blog/symfony-2-1-the-doctrine-bundle-has-moved-to-the-doctrine-organization

They kept the old repos for people that hadn't updated. I wouldn't say it's really a BC break since it's not the code being changed, just the location of where the packages are served from.

Maybe just visit/subscribe to the symfony blog and any related twitter accounts. They mentioned this delete earlier today: https://twitter.com/jmikola/status/207852349782368256

这篇关于教义的Symfony Bundle repos发生了什么事?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆