<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/.github, branch v2.47.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.47.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.47.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2024-09-16T22:27:08Z</updated>
<entry>
<title>Merge branch 'jk/ci-linux32-update'</title>
<updated>2024-09-16T22:27:08Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2024-09-16T22:27:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=aeda40b96eace9a6efd028b5b78f1c4b538c0a11'/>
<id>urn:sha1:aeda40b96eace9a6efd028b5b78f1c4b538c0a11</id>
<content type='text'>
CI updates

* jk/ci-linux32-update:
  ci: add Ubuntu 16.04 job to GitLab CI
  ci: use regular action versions for linux32 job
  ci: use more recent linux32 image
  ci: unify ubuntu and ubuntu32 dependencies
  ci: drop run-docker scripts
</content>
</entry>
<entry>
<title>Merge branch 'jc/ci-upload-artifact-and-linux32'</title>
<updated>2024-09-16T22:27:08Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2024-09-16T22:27:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f9fff154d333c261a909552d13df540f5e0e1d0b'/>
<id>urn:sha1:f9fff154d333c261a909552d13df540f5e0e1d0b</id>
<content type='text'>
CI started failing completely for linux32 jobs, as the step to
upload failed test directory uses GitHub actions that is deprecated
and is now disabled.  Remove the step so at least we will know if
the tests are passing.

* jc/ci-upload-artifact-and-linux32:
  ci: remove 'Upload failed tests' directories' step from linux32 jobs
</content>
</entry>
<entry>
<title>ci: use regular action versions for linux32 job</title>
<updated>2024-09-12T17:21:10Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2024-09-12T09:48:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9c261856c91f9312a285cdc6ff863997f0cdf98a'/>
<id>urn:sha1:9c261856c91f9312a285cdc6ff863997f0cdf98a</id>
<content type='text'>
The linux32 job runs inside a docker container with a 32-bit libc, etc.
This breaks any GitHub Actions scripts that are implemented in
javascript, because they ship with their own 64-bit version of Node.js
that's dynamically linked. They'll fail with a message like:

    exec /__e/node20/bin/node: no such file or directory

because they can't find the runtime linker.

This hasn't been a problem until recently because we special-case older,
non-javascript versions of these actions for the linux32 job. But it
recently became an issue when our old version of actions/upload-artifact
was deprecated, causing the job to fail. We worked around that in
90f2c7240c (ci: remove 'Upload failed tests' directories' step from
linux32 jobs, 2024-09-09), but it meant a loss of functionality for that
job. And we may eventually run into the same deprecation problem with
actions/checkout, which can't just be removed.

We can solve the linking issue by installing the 64-bit libc and stdc++
packages before doing anything else. Coupled with the switch to a more
recent image in the previous patch, that lets us remove the
special-casing of the action scripts entirely.

Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>ci: use more recent linux32 image</title>
<updated>2024-09-12T17:21:10Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2024-09-12T09:47:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9ce2e99c7d5518b622c3017cd12aa254c853df4f'/>
<id>urn:sha1:9ce2e99c7d5518b622c3017cd12aa254c853df4f</id>
<content type='text'>
The Xenial image we're using was released more than 8 years ago. This is
a problem for using some recent GitHub Actions scripts, as they require
Node.js 20, and all of the binaries they ship need glibc 2.28 or later.
We're not using them yet, but moving forward prepares us for a future
patch which will.

Xenial was actually the last official 32-bit Ubuntu release, but you can
still find i386 images for more recent releases. This patch uses Focal,
which was released in 2020 (and is the oldest one with glibc 2.28).

There are two small downsides here:

  - while Xenial is pretty old, it is still in LTS support until April
    2026. So there's probably some value in testing with such an old
    system, and we're losing that.

  - there are no i386 subversion packages in the Focal repository. So we
    won't be able to test that (OTOH, we had never tested it until the
    previous patch which unified the 32/64-bit dependency code).

Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>ci: remove 'Upload failed tests' directories' step from linux32 jobs</title>
<updated>2024-09-09T23:00:53Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2024-09-09T23:00:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=90f2c7240ccc7fb349199b4ded6b47702b40331f'/>
<id>urn:sha1:90f2c7240ccc7fb349199b4ded6b47702b40331f</id>
<content type='text'>
Linux32 jobs seem to be getting:

    Error: This request has been automatically failed because it uses a
    deprecated version of `actions/upload-artifact: v1`. Learn more:
    https://github.blog/changelog/2024-02-13-deprecation-notice-v1-and-v2-of-the-artifact-actions/

before doing anything useful.  For now, disable the step.

Ever since actions/upload-artifact@v1 got disabled, mentioning the
offending version of it seems to stop anything from happening.  At
least this should run the same build and test.

See

    https://github.com/git/git/actions/runs/10780030750/job/29894867249

for example.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Sync with 'maint' for Windows+VS build jobs used at CI</title>
<updated>2024-08-20T21:24:57Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2024-08-20T21:24:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=80ccd8a2602820fdf896a8e8894305225f86f61d'/>
<id>urn:sha1:80ccd8a2602820fdf896a8e8894305225f86f61d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ci(win+VS): download the vcpkg artifacts using a dedicated GitHub Action</title>
<updated>2024-08-20T15:24:28Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2024-08-20T14:31:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9f39e2fa2652131c45cb94758a4720a48ee55cf8'/>
<id>urn:sha1:9f39e2fa2652131c45cb94758a4720a48ee55cf8</id>
<content type='text'>
The Git for Windows project provides a GitHub Action to download and
cache Azure Pipelines artifacts (such as the `vcpkg` artifacts), hiding
gnarly internals, and also providing some robustness against network
glitches. Let's use it.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>ci: bump microsoft/setup-msbuild from v1 to v2</title>
<updated>2024-08-20T15:24:27Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2024-08-20T14:31:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=46cbfd3f7ec0b549f3c298a6dda7812711197921'/>
<id>urn:sha1:46cbfd3f7ec0b549f3c298a6dda7812711197921</id>
<content type='text'>
The main benefit: The new version uses a node.js version that is not yet
deprecated.

Links:
- [Release notes](https://github.com/microsoft/setup-msbuild/releases)
- [Changelog](https://github.com/microsoft/setup-msbuild/blob/main/building-release.md)
- [Commits](https://github.com/microsoft/setup-msbuild/compare/v1...v2)

This patch was originally by GitHub's Dependabot, but I cannot attribute
that bot properly because it has no dedicated email address. Probably
because it hasn't reached legal age yet, or something.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>ci: run style check on GitHub and GitLab</title>
<updated>2024-07-23T16:56:50Z</updated>
<author>
<name>Karthik Nayak</name>
<email>karthik.188@gmail.com</email>
</author>
<published>2024-07-23T08:21:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bce7e52d4e70a8d8d824596654bac85545bf9d07'/>
<id>urn:sha1:bce7e52d4e70a8d8d824596654bac85545bf9d07</id>
<content type='text'>
We don't run style checks on our CI, even though we have a
'.clang-format' setup in the repository. Let's add one, the job will
validate only against the new commits added and will only run on merge
requests. Since we're introducing it for the first time, let's allow
this job to fail, so we can validate if this is useful and eventually
enforce it.

For GitHub, we allow the job to pass by adding 'continue-on-error: true'
to the workflow. This means the job would show as passed, even if the
style check failed. To know the status of the job, users have to
manually check the logs.

For GitLab, we allow the job to pass by adding 'allow_failure: true', to
the job. Unlike GitHub, here the job will show as failed with a yellow
warning symbol, but the pipeline would still show as passed.

Also for GitLab, we use the 'CI_MERGE_REQUEST_TARGET_BRANCH_SHA'
variable by default to obtain the base SHA of the merged pipeline (which
is only available for merged pipelines [1]). Otherwise we use the
'CI_MERGE_REQUEST_DIFF_BASE_SHA' variable.

[1]: https://docs.gitlab.com/ee/ci/variables/predefined_variables.html#predefined-variables-for-merge-request-pipelines

Helped-by: Junio C Hamano &lt;gitster@pobox.com&gt;
Signed-off-by: Karthik Nayak &lt;karthik.188@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jt/port-ci-whitespace-check-to-gitlab'</title>
<updated>2024-05-15T16:52:54Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2024-05-15T16:52:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3fc99d037f10dcce9c1f5e5723ebbf9fc7f1e897'/>
<id>urn:sha1:3fc99d037f10dcce9c1f5e5723ebbf9fc7f1e897</id>
<content type='text'>
The "whitespace check" task that was enabled for GitHub Actions CI
has been ported to GitLab CI.

* jt/port-ci-whitespace-check-to-gitlab:
  gitlab-ci: add whitespace error check
  ci: make the whitespace report optional
  ci: separate whitespace check script
  github-ci: fix link to whitespace error
  ci: pre-collapse GitLab CI sections
</content>
</entry>
</feed>
