msvc-wine icon indicating copy to clipboard operation
msvc-wine copied to clipboard

Convert install scripts to python

Open AgentK9 opened this issue 2 years ago • 3 comments

Python is more universal than perl and allows for better extensibility and portability, not to mention readability.

AgentK9 avatar Aug 24 '23 00:08 AgentK9

I'm somewhat ambivalent about this PR. (I haven't studied your suggested code in detail yet.)

Yes, python is probably to prefer over perl for the fixinclude and lowercase scripts. But for the install.sh script, I'm not really sure about whether this is a net win or loss - what do we gain from converting that to python?

(The actions run that I just enabled will probably fail; this is due to a tool regression that I've worked around on master; if you rebase your branch on latest master, it should run successfully again.)

mstorsjo avatar Sep 09 '23 21:09 mstorsjo

Hello,

Thanks so much for your time in reviewing this. I have merged main into my branch. If you'd like, I can also squash all of these commits.

Here are a few reasons why the install.sh script should be changed along with the others:

  1. Unified Codebase: Aligns with the existing Python components, streamlining maintenance.
  2. Inclusivity: Facilitates contributions from Windows developers unfamiliar with GNU shell/sh.
  3. Versatility: Enhances portability and allows for future feature integrations with ease.

I'd really appreciate any feedback you have.

AgentK9 avatar Sep 09 '23 23:09 AgentK9

I'm somewhat ambivalent about this PR. (I haven't studied your suggested code in detail yet.)

@mstorsjo, I was wondering if you had reviewed the suggested changes? I know it has been some time since the PR was submitted but rebasing and updating should be doable.

SaifRushdHadad avatar May 13 '24 19:05 SaifRushdHadad