Closed Lite5h4dow closed 2 years ago
I use it in Windows. It works in WSL, Cygwin, Msys2, Mingw, and git-bash. It would probably work in any bash environment, as it's very platform-agnostic.
@rasa i mean actual windows, not linux on windows.
@Lite5h4dow If you mean running yadm under Windows's CMD command interpreter, then it would not be the right tool for you, as it requires bash, which requires an environment like WSL or Cygwin to run in. It also requires a few standard *nix utilities, such as awk. Personally, I avoid using CMD, as its scripting functionality pales in comparison to bash.
powershell is the default now for this kind of thing. it has most if not all of the features of bash now and is more than capable of functioning as the execution shell of choice for windows.
the problem here is going to be git, you have to have a functioning git for yadm to work which means you have to have that unix stuff installed anyways. Now it might be possible to look into how docker/git are exporting their commands to the shell so you could just run yadm from powershell without having to be in bash.
@xenoterracide git work completely fine on windows
@xenoterracide git work completely fine on windows
I think you're missing the context of the previous comments here about PowerShell and "Linux on Windows". Git for Windows very much uses msys. Git will not operate without a Unix environment.
In Windows, I sometimes use this script, named yadm.cmd
:
set "GIT_DIR=%USERPROFILE%\.local\share\yadm\repo.git"
where /q git || set "PATH=%ProgramFiles%\Git\usr\bin;%PATH%"
git %*
and it works great. A similar thing could be done in Powershell.
This issue has been labeled as stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.
This issue was closed because it has been labeled as stale for 7 days with no activity.
@xenoterracide git work completely fine on windows
I think you're missing the context of the previous comments here about PowerShell and "Linux on Windows". Git for Windows very much uses msys. Git will not operate without a Unix environment.
It still works fine in Powershell.
Hey guys, I know this is a stale issue, but if someone would come up with easy instructions on how to leverage git-bash from powershell to use yadm that would be great :)
i think rewrite yadm in powershell is a way. i have done a little. here is repository: https://github.com/jyf-111/PSYadm
Install-Script -Name yadm
# then use yadm
yadm
yadm init
yadm clone <url>
...
Could yadm
work with git-bash
and Windows to install both Linux/Bash based configurations as well as run installations for things like chocolatey
?
Is your feature request related to a problem? Please describe.
no windows support
Additional context
Any chance for Windows support?