Bug #27482

CLI not working on Windows

Added by Bastian Waidelich over 10 years ago. Updated about 10 years ago.

Status:
Resolved
Priority:
Must have
Category:
-
Target version:
Start date:
2011-06-15
Due date:
% Done:

100%

Estimated time:

Description

It seems, Git [1] "resolves" symlinks on Windows by creating a file that only contains the relative path to the target file.
E.g. it replaces (http://git.typo3.org/FLOW3/Distributions/Base.git?a=blob;f=flow3;h=2843cf594ee6b2d77c11afdd7ea8ead25d49048b;hb=HEAD) with a file that contains the string "Packages/Framework/FLOW3/Scripts/flow3" when one pulls the distribution.
See http://code.google.com/p/msysgit/issues/detail?id=224 for a corresponding bug report in the msysgit project.

Among other things this leads to the situation, that CLI arguments are stripped off when executing Commands through the console.

[1] using msysgit


Related issues

Related to TYPO3.Flow - Feature #4426: Provide Windows compatible version of the FLOW3 Command Line ToolResolvedBastian Waidelich

Actions
#2

Updated by Bastian Waidelich over 10 years ago

Karsten Dambekalns wrote:

Could this be made into an easy to use tool for Windows users?

Not too sure..
Instead we could replace the symlink by a file that contains

#!/usr/bin/env php
<?php
require('Packages/Framework/FLOW3/Scripts/flow3');
?>

instead...!?

#3

Updated by Mr. Hudson over 10 years ago

Patch set 1 of change Ie4b3d9d5f620572b926b7f975102b2b09471c42b has been pushed to the review server.
It is available at http://review.typo3.org/3049

#4

Updated by Karsten Dambekalns over 10 years ago

  • Status changed from New to Under Review
  • Assignee set to Karsten Dambekalns
  • Target version set to 1.0 beta 1
#5

Updated by Mr. Hudson over 10 years ago

Patch set 1 of change Ibfae85839e4620e584af141e62c3c5886f575a4e has been pushed to the review server.
It is available at http://review.typo3.org/3053

#6

Updated by Mr. Hudson over 10 years ago

Patch set 1 of change Idd7d74c6c4a2ad4b88f3d5849681d2bb289e94b9 has been pushed to the review server.
It is available at http://review.typo3.org/3056

#7

Updated by Mr. Hudson over 10 years ago

Patch set 2 of change Idd7d74c6c4a2ad4b88f3d5849681d2bb289e94b9 has been pushed to the review server.
It is available at http://review.typo3.org/3056

#8

Updated by Mr. Hudson over 10 years ago

Patch set 3 of change Idd7d74c6c4a2ad4b88f3d5849681d2bb289e94b9 has been pushed to the review server.
It is available at http://review.typo3.org/3056

#9

Updated by Sebastian Kurfuerst about 10 years ago

  • Status changed from Under Review to Resolved
#10

Updated by Sebastian Kurfuerst about 10 years ago

  • % Done changed from 0 to 100

Also available in: Atom PDF