Thread View: linux.kernel.git
2 messages
2 total messages
Started by Junio C Hamano
Mon, 09 Nov 2026 16:53
Re: [PATCH v2 1/7] gitlab-ci: speed up installation of Git for Windows SDK
Author: Junio C Hamano
Date: Mon, 09 Nov 2026 16:53
Date: Mon, 09 Nov 2026 16:53
13 lines
13150 bytes
13150 bytes
Patrick Steinhardt <ps@pks.im> writes: > +tar -xf git-sdk.zip -C $directory Wow. You learn new things every day. This is in ci/install-sdk.ps1 file. Right now that script is referred to only from .gitlab-ci.yml so as long as GitLab CI environment has tar that works this way we would be fine, but I thought that ci/* was designed to be portable across CI and other environments. At least we would want a comment next to it that says we assume BSD derived tar that can grok zip archives here, probably?
Re: [PATCH v2 1/7] gitlab-ci: speed up installation of Git for Windows SDK
Author: Junio C Hamano
Date: Tue, 10 Nov 2026 16:11
Date: Tue, 10 Nov 2026 16:11
36 lines
14303 bytes
14303 bytes
Patrick Steinhardt <ps@pks.im> writes: > On Mon, Nov 09, 2026 at 08:53:53AM -0800, Junio C Hamano wrote: >> Patrick Steinhardt <ps@pks.im> writes: >> >> > +tar -xf git-sdk.zip -C $directory >> >> Wow. You learn new things every day. > > Yeah, it's fun. Windows uses bsdtar, which is in turn based on > libarchive, and hence it also supports ZIP and 7zip files [1]. > >> This is in ci/install-sdk.ps1 file. Right now that script is >> referred to only from .gitlab-ci.yml so as long as GitLab CI >> environment has tar that works this way we would be fine, but I >> thought that ci/* was designed to be portable across CI and other >> environments. At least we would want a comment next to it that says >> we assume BSD derived tar that can grok zip archives here, probably? > > Well, bsdtar is nowadays distributed with Windows by default, so this > should be portable to other CI environments, too. So I don't think it > really warrants a comment as it should just work everwhere. That's > certainly something to point out in the commit message though. Yeah, this installer is about Windows, so any current or future CI that uses this script would end up running BSD tar, which means we can assume readers know what the script is doing and why it works. > But now that we have found a way to remove the slowness we could unify > both systems again. I intentionally left that out of this patch series > though, as we can still do that as a subsequent step if we want to. In > any case, I want Johannes' opinion on this topic before doing such a > change. Yes, indeed. Thanks for these patches.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads