Replies: 7 comments 13 replies
-
That's an interesting idea, but I have a few small remarks.
|
Beta Was this translation helpful? Give feedback.
-
Thank you for contributing the idea!
Are you sure that this is still a valid concern, after msys2/msys2-runtime#27 was merged?
Where does that |
Beta Was this translation helpful? Give feedback.
-
I also wonder whether we really need to go through all the motions every single time |
Beta Was this translation helpful? Give feedback.
-
It might be a really good idea to be more helpful here, by at least suggesting a link to the user, or even going so far as to offer taking the user there directly. Something like this: git askyesno --title "Python required" \
"No Python was found. Download and install from the Microsoft Store?" || exit 1
start https://www.microsoft.com/en-us/p/python-39/9p7qfqmjrfp7
# either wait in a busy loop, or ask the user to hit Enter when Python was installed, then re-exec |
Beta Was this translation helpful? Give feedback.
-
Final thought (for now): since the main aim for this thing is to support |
Beta Was this translation helpful? Give feedback.
-
OK, I have the I'm going to see if I can make it automatically launch python 2 or 3 depending on if it's called as |
Beta Was this translation helpful? Give feedback.
-
Ok, sorry this took so long. I have the launcher in a state where I think we can start testing it. Right now my PKGBUILD will build the How can I include this in a build of the Git for Windows installer? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I recently started working with Windows more and interacting with Git for Windows more and got to thinking about how to make it easier for Windows users to use
git-filter-repo
and get the full experience since installing it has proved problematic for Windows users. I would like to propose a small shim installed at/usr/bin/python
and/usr/bin/python3
that would make usinggit-filter-repo
work like it does on a UNIX install ofgit
.I have a rough draft here:
This shell script will, in order
python
commands on the${PATH}
py
launcher and pass all arguments to it, elseI've tested it on my machine and it seems to work pretty well with a python.org Python and a Microsoft Store Python. I'm hoping with this shim, Git for Windows could start to include
git-filter-repo
in the same way it includes other extensions likegit-flow
andgit-lfs
, and thatgit-p4
could become a first-class citizen again.Beta Was this translation helpful? Give feedback.
All reactions