Task #58322

Test composer installers on windows

Added by Christian Opitz about 7 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Start date:
2014-04-29
Due date:
% Done:

0%

Estimated time:

Description

It should be tested, if the composer core installer works on windows. The installer should behave exactly the same way as if it was executed on a file system without symlink support under *nix systems (sources should be placed directly inside application root). Please run the installer in verbose mode and paste the output here (eg. composer create-project -vvv typo3/cms)

#1

Updated by Rupert Germann about 7 years ago

running "composer create-project -vvv typo3/cms" in the windows commandline (cmd.exe) doesn't work for me, it gives me an


  [RuntimeException]
  Failed to clone git://git.typo3.org/Packages/TYPO3.CMS.git, git was not found, check that it is installed and in your PATH env.

  Der Befehl "git" ist entweder falsch geschrieben oder
  konnte nicht gefunden werden.

But running the same command in git bash seems to work fine:

Welcome to Git (version 1.8.3-preview20130601)

Run 'git help git' to display the help index.
Run 'git help <command>' to display help for specific commands.

rupert.germann@WS-RUPI /E/xampp/htdocs
$ composer create-project -vvv typo3/cms
Downloading https://packagist.org/packages.json
Writing C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/packages.json into cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/p-provider-active.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/p-provider-archived.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/p-provider-latest.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/p-provider-stale.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms.json from cache
Installing typo3/cms (6.2.2)
  - Installing typo3/cms (6.2.2)
    Cloning ad213706b90180e3fe3b16fbfc8e54cb49c3fd1f
Executing command (CWD): git clone --no-checkout "git://git.typo3.org/Packages/TYPO3.CMS.git" "E:\xampp\htdocs/cms" && cd /D "E:\xampp\htdocs/cms" && git remote add composer "git://git.typo3.org/Packa
ges/TYPO3.CMS.git" && git fetch composer
Executing command (E:\xampp\htdocs/cms): git branch -r
Executing command (E:\xampp\htdocs/cms): git checkout "6.2.2" 
Executing command (E:\xampp\htdocs/cms): git reset --hard "ad213706b90180e3fe3b16fbfc8e54cb49c3fd1f" 

Created project in E:\xampp\htdocs\cms
Reading ./composer.json
Loading composer repositories with package information
Downloading https://packagist.org/packages.json
Writing C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/packages.json into cache
Installing dependencies (including require-dev)
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/p-provider-active.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/p-provider-archived.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/p-provider-latest.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/p-provider-stale.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-composer-installers.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-mikey179$vfsstream.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-phpunit$phpunit.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-phpunit$php-file-iterator.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-phpunit$php-text-template.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-phpunit$php-code-coverage.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-phpunit$php-timer.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-phpunit$phpunit-mock-objects.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-symfony$yaml.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-phpunit$php-token-stream.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-sebastian$environment.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-sebastian$version.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-about.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-aboutmodules.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-adodb.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-backend.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-belog.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-beuser.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-cms.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-context-help.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-core.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-cshmanual.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-css-styled-content.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-dbal.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-documentation.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-extbase.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-extensionmanager.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-extra-page-cm-options.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-feedit.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-felogin.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-filelist.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-filemetadata.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-fluid.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-form.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-frontend.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-func.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-func-wizards.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-impexp.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-indexed-search.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-indexed-search-mysql.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-info.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-info-pagetsconfig.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-install.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-lang.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-linkvalidator.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-lowlevel.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-opendocs.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-openid.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-perm.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-recordlist.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-recycler.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-reports.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-rsaauth.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-rtehtmlarea.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-saltedpasswords.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-scheduler.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-setup.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-sv.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-sys-action.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-sys-note.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-t3editor.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-t3skin.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-taskcenter.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-tstemplate.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-version.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-viewpage.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-wizard-crpages.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-wizard-sortpages.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-typo3$cms-workspaces.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-lw$typo3cms-installers.json from cache
Reading C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-netresearch$composer-installers.json from cache
  - Installing mikey179/vfsstream (dev-master 6a1c82e)
    Cloning 6a1c82e9bd1ca3a53e8864937c86136f4e2c9dd3
Executing command (CWD): git clone --no-checkout "git://github.com/mikey179/vfsStream.git" "E:\xampp\htdocs\cms\Packages\Libraries\mikey179/vfsStream" && cd /D "E:\xampp\htdocs\cms\Packages\Libraries\
mikey179/vfsStream" && git remote add composer "git://github.com/mikey179/vfsStream.git" && git fetch composer
Executing command (E:\xampp\htdocs\cms\Packages\Libraries\mikey179/vfsStream): git remote set-url --push origin "git@github.com:mikey179/vfsStream.git" 
Executing command (E:\xampp\htdocs\cms\Packages\Libraries\mikey179/vfsStream): git branch -r
Executing command (E:\xampp\htdocs\cms\Packages\Libraries\mikey179/vfsStream): git checkout "master" 
Executing command (E:\xampp\htdocs\cms\Packages\Libraries\mikey179/vfsStream): git reset --hard "6a1c82e9bd1ca3a53e8864937c86136f4e2c9dd3" 

  - Marking mikey179/vfsstream (1.3.x-dev 6a1c82e) as installed, alias of mikey179/vfsStream (dev-master 6a1c82e)

  - Installing typo3/cms-composer-installers (dev-master f91cdb2)
    Cloning f91cdb2905da6dbf7b4d993ff49ebe643a4a5a3d
Executing command (CWD): git clone --no-checkout "git://github.com/TYPO3/CmsComposerInstallers.git" "E:\xampp\htdocs\cms\Packages\Libraries\typo3/cms-composer-installers" && cd /D "E:\xampp\htdocs\cms
\Packages\Libraries\typo3/cms-composer-installers" && git remote add composer "git://github.com/TYPO3/CmsComposerInstallers.git" && git fetch composer
Executing command (E:\xampp\htdocs\cms\Packages\Libraries\typo3/cms-composer-installers): git remote set-url --push origin "git@github.com:TYPO3/CmsComposerInstallers.git" 
Executing command (E:\xampp\htdocs\cms\Packages\Libraries\typo3/cms-composer-installers): git branch -r
Executing command (E:\xampp\htdocs\cms\Packages\Libraries\typo3/cms-composer-installers): git checkout "master" 
Executing command (E:\xampp\htdocs\cms\Packages\Libraries\typo3/cms-composer-installers): git reset --hard "f91cdb2905da6dbf7b4d993ff49ebe643a4a5a3d" 

  - Marking typo3/cms-composer-installers (1.1.x-dev f91cdb2) as installed, alias of typo3/cms-composer-installers (dev-master f91cdb2)

  - Installing symfony/yaml (v2.4.4)
Downloading https://api.github.com/repos/symfony/Yaml/zipball/65539ecde838f9c0d18b006b2101e3deb4b5c9ff
    Downloading: 100%
Writing C:/Users/rupert.germann.WMDB/AppData/Local/Composer/files/symfony/yaml/65539ecde838f9c0d18b006b2101e3deb4b5c9ff.zip into cache
    Extracting archive

  - Installing phpunit/php-text-template (1.2.0)
Downloading https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/206dfefc0ffe9cebf65c413e3d0e809c82fbf00a
    Downloading: 100%
Writing C:/Users/rupert.germann.WMDB/AppData/Local/Composer/files/phpunit/php-text-template/206dfefc0ffe9cebf65c413e3d0e809c82fbf00a.zip into cache
    Extracting archive

  - Installing phpunit/phpunit-mock-objects (1.2.3)
Downloading https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/5794e3c5c5ba0fb037b11d8151add2a07fa82875
    Downloading: 100%
Writing C:/Users/rupert.germann.WMDB/AppData/Local/Composer/files/phpunit/phpunit-mock-objects/5794e3c5c5ba0fb037b11d8151add2a07fa82875.zip into cache
    Extracting archive

  - Installing phpunit/php-timer (1.0.5)
Downloading https://api.github.com/repos/sebastianbergmann/php-timer/zipball/19689d4354b295ee3d8c54b4f42c3efb69cbc17c
    Downloading: 100%
Writing C:/Users/rupert.germann.WMDB/AppData/Local/Composer/files/phpunit/php-timer/19689d4354b295ee3d8c54b4f42c3efb69cbc17c.zip into cache
    Extracting archive

  - Installing phpunit/php-token-stream (1.2.2)
Downloading https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/ad4e1e23ae01b483c16f600ff1bebec184588e32
    Downloading: 100%
Writing C:/Users/rupert.germann.WMDB/AppData/Local/Composer/files/phpunit/php-token-stream/ad4e1e23ae01b483c16f600ff1bebec184588e32.zip into cache
    Extracting archive

  - Installing phpunit/php-file-iterator (1.3.4)
Downloading https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/acd690379117b042d1c8af1fafd61bde001bf6bb
    Downloading: 100%
Writing C:/Users/rupert.germann.WMDB/AppData/Local/Composer/files/phpunit/php-file-iterator/acd690379117b042d1c8af1fafd61bde001bf6bb.zip into cache
    Extracting archive

  - Installing phpunit/php-code-coverage (1.2.17)
Downloading https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/6ef2bf3a1c47eca07ea95f0d8a902a6340390b34
    Downloading: 100%
Writing C:/Users/rupert.germann.WMDB/AppData/Local/Composer/files/phpunit/php-code-coverage/6ef2bf3a1c47eca07ea95f0d8a902a6340390b34.zip into cache
    Extracting archive

  - Installing phpunit/phpunit (3.7.37)
Downloading https://api.github.com/repos/sebastianbergmann/phpunit/zipball/ae6cefd7cc84586a5ef27e04bae11ee940ec63dc
    Downloading: 100%
Writing C:/Users/rupert.germann.WMDB/AppData/Local/Composer/files/phpunit/phpunit/ae6cefd7cc84586a5ef27e04bae11ee940ec63dc.zip into cache
    Extracting archive

phpunit/php-code-coverage suggests installing ext-xdebug (>=2.0.5)
phpunit/phpunit suggests installing phpunit/php-invoker (~1.1)
Executing command (E:\xampp\htdocs\cms\Packages\Libraries\typo3\cms-composer-installers): git log -n1 --pretty=%ct "f91cdb2905da6dbf7b4d993ff49ebe643a4a5a3d" 
Executing command (E:\xampp\htdocs\cms\Packages\Libraries\mikey179\vfsStream): git log -n1 --pretty=%ct "6a1c82e9bd1ca3a53e8864937c86136f4e2c9dd3" 
Writing lock file
Generating autoload files
Do you want to remove the existing VCS (.git, .svn..) history? [Y,n]?

rupert.germann@WS-RUPI /E/xampp/htdocs
$

System: windows 7 pro 64bit
Latest xampp with PHP 5.5.11

I had to uncomment "extension=php_fileinfo.dll" in php.ini
because the very first try of running the composer command gave me this error:

...
Writing C:/Users/rupert.germann.WMDB/AppData/Local/Composer/repo/https---packagist.org/provider-netresearch$composer-installers.json into cache
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - The requested PHP extension ext-fileinfo * is missing from your system.

#2

Updated by Thomas Maroschik about 6 years ago

  • Status changed from New to Closed

Also available in: Atom PDF