threads / discuss / 59338

Is xmllint no longer supported in (latest) Portable GIT 2.39.2 ?

Subject: Is xmllint no longer supported in (latest) Portable GIT 2.39.2 ?

## tl;dr

3 messages between Mar 3, 2023 and Mar 4, 2023.

replies: 2people: 2as markdown or json

Magnus Asplund· Mar 3, 2023, 18:10 UTC · lore
Hi,

I have a bash script created in RHL environment (Linux). The script extracts data from a great number (+100000) of XML-files and generates "row-col" data as output to a CSV file.

Due to limitations in both technical knowledge and access/authorization restrictions of other persons than myself, I decided to give Portable GIT a try in Windows 10 environment to hand over the script execution to those other ppl.

The script works fine using 64-bit Git for Windows Portable version 2.38.1. However support for 'xmllint' seems to be gone in version 2.39.2.... (this one: https://github.com/git-for-windows/git/releases/download/v2.39.2.windows.1/PortableGit-2.39.2-64-bit.7z.exe)

Any answers to this? Is xmllint not longer supported? Any alternative, besides using to older version 2.38.1 ?

Best regards. Magnus

-- Kontaktinfo / Contact info: Magnus Asplund asplund.magnus@gmail.com

brian m. carlson· Mar 3, 2023, 23:03 UTC · re: Magnus Asplund · lore

Re: Is xmllint no longer supported in (latest) Portable GIT 2.39.2 ?

On 2023-03-03 at 18:10:19, Magnus Asplund wrote:
> Hi,
Hey,
Show 15 quoted lines
> I have a bash script created in RHL environment (Linux). The script
> extracts data from a great number (+100000) of XML-files and generates
> "row-col" data as output to a CSV file.
> 
> Due to limitations in both technical knowledge and
> access/authorization restrictions of other persons than myself, I
> decided to give Portable GIT a try in Windows 10 environment to hand
> over the script execution to those other ppl.
> 
> The script works fine using 64-bit Git for Windows Portable version 2.38.1.
> However support for 'xmllint' seems to be gone in version 2.39.2....
> (this one: https://github.com/git-for-windows/git/releases/download/v2.39.2.windows.1/PortableGit-2.39.2-64-bit.7z.exe)
> 
> Any answers to this? Is xmllint not longer supported? Any alternative,
> besides using to older version 2.38.1 ?

The Git project doesn't ship any binaries, and it doesn't ship anything but Git, including xmllint. However, Git for Windows may ship those things, and you'd probably want to go to their issue tracker (https://github.com/git-for-windows/git/issues) and talk to them about this.

My guess is that this was necessary to build and it isn't any longer, and because libxml2 has a constant stream of security vulnerabilities, it's not something they want to keep shipping, but you'd really have to talk to the Git for Windows folks to be sure.

If you need a more complete environment on Windows, you may want to try a Linux distro such as Debian under the Windows Subsystem for Linux, which will likely provide an up-to-date version of this tool.

-- 
brian m. carlson (he/him or they/them)
Toronto, Ontario, CA
Magnus Asplund· Mar 4, 2023, 01:19 UTC · re: brian m. carlson · lore

Re: Is xmllint no longer supported in (latest) Portable GIT 2.39.2 ?

Hi Brian,

Thank you for your quick reply and directing me to Git for Windows. I'll check with them about my questions. Furthermore, I didn't know about these security issues of libxml2.. sounds reasonable enough to let that stuff be excluded.

Then I'm happy for the time being with your help. Regards, Magnus -- Kontaktinfo / Contact info: Magnus Asplund asplund.magnus@gmail.com

-- Kontaktinfo / Contact info: Magnus Asplund +46 70 718 65 00 (cell / mobile) asplund.magnus@gmail.com

On Sat, Mar 4, 2023 at 12:03 AM brian m. carlson <sandals@crustytoothpaste.net> wrote:

Show 39 quoted lines
>
> On 2023-03-03 at 18:10:19, Magnus Asplund wrote:
> > Hi,
>
> Hey,
>
> > I have a bash script created in RHL environment (Linux). The script
> > extracts data from a great number (+100000) of XML-files and generates
> > "row-col" data as output to a CSV file.
> >
> > Due to limitations in both technical knowledge and
> > access/authorization restrictions of other persons than myself, I
> > decided to give Portable GIT a try in Windows 10 environment to hand
> > over the script execution to those other ppl.
> >
> > The script works fine using 64-bit Git for Windows Portable version 2.38.1.
> > However support for 'xmllint' seems to be gone in version 2.39.2....
> > (this one: https://github.com/git-for-windows/git/releases/download/v2.39.2.windows.1/PortableGit-2.39.2-64-bit.7z.exe)
> >
> > Any answers to this? Is xmllint not longer supported? Any alternative,
> > besides using to older version 2.38.1 ?
>
> The Git project doesn't ship any binaries, and it doesn't ship anything
> but Git, including xmllint.  However, Git for Windows may ship those
> things, and you'd probably want to go to their issue tracker
> (https://github.com/git-for-windows/git/issues) and talk to them about
> this.
>
> My guess is that this was necessary to build and it isn't any longer,
> and because libxml2 has a constant stream of security vulnerabilities,
> it's not something they want to keep shipping, but you'd really have to
> talk to the Git for Windows folks to be sure.
>
> If you need a more complete environment on Windows, you may want to try
> a Linux distro such as Debian under the Windows Subsystem for Linux,
> which will likely provide an up-to-date version of this tool.
> --
> brian m. carlson (he/him or they/them)
> Toronto, Ontario, CA

← back to recent threads