doctrine / DoctrineCouchDBBundle

Symfony Bundle for DoctrineCouchDB
http://www.doctrine-project.org
Other
49 stars 46 forks source link

Error with composer #29

Closed skitoo closed 8 years ago

skitoo commented 11 years ago

Hi,

When I try to install DoctrineCoucDBBundle with composer I have the following error :

 [RuntimeException]
  Failed to execute git checkout 'b38fe1e5185907de8766735a7e975c47ac2adcc3' && git reset --hard 'b38fe1e5185907de8766735a7e975c47ac2adcc3'

  HEAD is now at b38fe1e... Update composer.json
  error: unable to create file Tests/DependencyInjection/Fixtures/Bundles/YamlBundle/Resources/config/doctrine/Fixtures.Bundles.YamlBundle.Couc
  hDocument.Test.couchdb.yml (operation not allowed)
  fatal: Could not reset index file to revision 'b38fe1e5185907de8766735a7e975c47ac2adcc3'.

It seems that the Fixtures.Bundles.YamlBundle.Couc hDocument.Test.couchdb.yml file have name too long.

PHP : 5.4.4 Debian : 7 Git : 1.7.10 Composer : https://github.com/composer/composer/commit/ab731b1197d76ce1e13fbf67a7e8f17a2be8b3e9

skitoo commented 11 years ago

In fact I use Vagrant with shared directory between my VM on debian and Windows 7. The filename length on Windows is 260! (http://msdn.microsoft.com/en-us/library/aa365247.aspx#maxpath). To resolve this problem on my computer I moved my project directory to C:/ But, It would be great if the Fixtures.Bundles.YamlBundle.Couc hDocument.Test.couchdb.yml file could have a shorter name.

Thx