> git for windows comes with perl
Is this new? Because my installation does not have it. I just checked,
and the folder my env path points to only contains git.exe, git-gui.exe,
and no Perl. I don't share your positive experience with Perl on
Windows; see my earlier posts in this thread for details. Ideally, we
would not replace the Perl script with a Python script, but rather
remove the script entirely by moving to another code platform that does
not need these hooks to make contributing easy.
For all other readers, I can recommend the lengthy discussion from the
great people at Blender who had to deal with the discontinuation of
Phabricator:
*
https://devtalk.blender.org/t/developer-blender-org-call-for-comments-and-participation/23451/8
*
https://devtalk.blender.org/t/developer-blender-org-call-for-comments-and-participation/23451/34
* https://code.blender.org/2022/07/gitea-diaries-part-1/
Cheers 👋,
Eli
On 1/4/2024 3:15 PM, Oswald Buddenhagen via Development wrote:
On Thu, Jan 04, 2024 at 11:35:45AM +0000, Edward Welbourne via
Development wrote:
Volker Hilsheimer (8 December 2023 23:55) wrote (inter alia):
Would it make a huge difference if we didn’t require perl (and IIRC
we only need it for the init-repository script)?
Our post-commit hook also invokes sanitize-commit, which is a perl
script.
Of course, it would not be beyond the wit of developers to rewrite both
into python; [...]
this whole "get rid of perl for the sake of windows users" is a
monumental red herring. because literally everyone already has perl
with all required modules installed the moment they have cloned qt the
way we instruct them to: git for windows comes with perl, because
significant parts of git are written in perl.
putting ...\Git\usr\bin into the shell's PATH is not the recommended
installation mode of GfW, but having instructions to do so in a qt
build environment seems rather reasonable to me.
and any git-something in PATH that gets run as `git something` (yes,
this just works) has perl in its PATH, which makes launching perl
scripts from qt5/qtrepotools//bin a breeze.
--
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development