Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes for Windows Linux subsystem shell and Cygwin bash #21

Open
wants to merge 11 commits into
base: master
from

Conversation

@lheinman
Copy link

commented Jul 22, 2019

  • Created a Powershell script to convert file path provided by IntelliJ to *nix format.
  • Updated README.md to reflect changes in IntelliJ keyboard shortcuts configuration.
  • Provided a workaround for a Cygwin's curl problem: unable to open files in absolute paths, such as /tmp

Leo Heinman and others added some commits Jul 22, 2019

Merge pull request #1 from lheinman/cygwin
Fixes for Windows Linux subsystem shell and Cygwin bash
Merge pull request #2 from lheinman/cygwin
Updated README.md, moved code around
@alexkli
Copy link
Contributor

left a comment

@lheinman Thanks for the contribution!

A few requests & comments inline.

repo/README.md Show resolved Hide resolved
repo/repo Show resolved Hide resolved
repo/repoWrapper.ps1 Outdated Show resolved Hide resolved

Leo Heinman and others added some commits Jul 23, 2019

Merge pull request #3 from lheinman/cygwin
Clirified use of Cygwin in the wrapper script; wrapper code cleanup
Merge pull request #4 from lheinman/cygwin
Renamed repoWrapper to repoWin; reverted some of repoWin code cleanup

Leo Heinman and others added some commits Jul 24, 2019

Merge pull request #5 from lheinman/cygwin
Moved backslash flipping code into 'repo' bash shell script to enable using 'repo' from Cygwin bash directly

$cmdPath = $cmdPath -replace '\\','/'
$cmdPath = $cmdPath -replace '.:','/mnt/c'

This comment has been minimized.

Copy link
@alexkli

alexkli Aug 10, 2019

Contributor

Is there a reason why this logic can't be in repo too?

This comment has been minimized.

Copy link
@lheinman

lheinman Aug 10, 2019

Author

Putting this code in repo results in stripping all backslashes. For path:
repo: does not exist: C:DevgitDigitalPlatformuisrcmaincontentjcr_rootappschipotlecomponentsstructurepagev1pagepartialsgascript.html
for cmdPath:
/bin/bash: C:githubtoolsrepo/repo: No such file or directory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.