<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/ci/lib.sh, branch v2.50.0</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.50.0</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.50.0'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2025-02-20T15:49:52Z</updated>
<entry>
<title>ci: exercise credential helpers</title>
<updated>2025-02-20T15:49:52Z</updated>
<author>
<name>Patrick Steinhardt</name>
<email>ps@pks.im</email>
</author>
<published>2025-02-18T07:46:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=63a597dd94079887a1b5ad72f64a8b0ee822dc27'/>
<id>urn:sha1:63a597dd94079887a1b5ad72f64a8b0ee822dc27</id>
<content type='text'>
Wire up credential helpers in our CI runs so that we can rest assured
that they compile and (if tests are available) function correctly.

Signed-off-by: Patrick Steinhardt &lt;ps@pks.im&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>ci: fix propagating UTF-8 test locale in musl-based Meson job</title>
<updated>2025-02-20T15:49:52Z</updated>
<author>
<name>Patrick Steinhardt</name>
<email>ps@pks.im</email>
</author>
<published>2025-02-18T07:45:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=235fe77c2990ca6762ad9146105915987acf956d'/>
<id>urn:sha1:235fe77c2990ca6762ad9146105915987acf956d</id>
<content type='text'>
The musl-based Meson job is supposed to explicitly specify the UTF-8
locale used for testing, which has been introduced with 84bb5eeace7 (ci:
switch linux-musl to use Meson, 2025-01-28). That commit had two issues
though:

  - We continue to refer to "linux-musl", even though the job has been
    renamed in the same commit to "linux-musl-meson".

  - We use the wrong option name to specify the locale. This was not
    noticed though due to the first issue.

Fix both of these issues by fixing both the job and option naems.

Signed-off-by: Patrick Steinhardt &lt;ps@pks.im&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'ps/zlib-ng'</title>
<updated>2025-02-06T22:56:45Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2025-02-06T22:56:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9d0e81e2ae3bd7f6d8a655be53c2396d7af3d2b0'/>
<id>urn:sha1:9d0e81e2ae3bd7f6d8a655be53c2396d7af3d2b0</id>
<content type='text'>
The code paths to interact with zlib has been cleaned up in
preparation for building with zlib-ng.

* ps/zlib-ng:
  ci: make "linux-musl" job use zlib-ng
  ci: switch linux-musl to use Meson
  compat/zlib: allow use of zlib-ng as backend
  git-zlib: cast away potential constness of `next_in` pointer
  compat/zlib: provide stubs for `deflateSetHeader()`
  compat/zlib: provide `deflateBound()` shim centrally
  git-compat-util: move include of "compat/zlib.h" into "git-zlib.h"
  compat: introduce new "zlib.h" header
  git-compat-util: drop `z_const` define
  compat: drop `uncompress2()` compatibility shim
</content>
</entry>
<entry>
<title>Merge branch 'ps/ci-misc-updates'</title>
<updated>2025-02-06T22:56:44Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2025-02-06T22:56:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2bf3c7fab19a59cde3a3dda9398075f0fe8d57c1'/>
<id>urn:sha1:2bf3c7fab19a59cde3a3dda9398075f0fe8d57c1</id>
<content type='text'>
CI updates (containerization, dropping stale ones, etc.).

* ps/ci-misc-updates:
  ci: remove stale code for Azure Pipelines
  ci: use latest Ubuntu release
  ci: stop special-casing for Ubuntu 16.04
  gitlab-ci: add linux32 job testing against i386
  gitlab-ci: remove the "linux-old" job
  github: simplify computation of the job's distro
  github: convert all Linux jobs to be containerized
  github: adapt containerized jobs to be rootless
  t7422: fix flaky test caused by buffered stdout
  t0060: fix EBUSY in MinGW when setting up runtime prefix
</content>
</entry>
<entry>
<title>Merge branch 'ps/3.0-remote-deprecation'</title>
<updated>2025-02-03T18:23:33Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2025-02-03T18:23:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=803b5acaa7cb979b5d623270af18d6d8354fce9b'/>
<id>urn:sha1:803b5acaa7cb979b5d623270af18d6d8354fce9b</id>
<content type='text'>
Following the procedure we established to introduce breaking
changes for Git 3.0, allow an early opt-in for removing support of
$GIT_DIR/branches/ and $GIT_DIR/remotes/ directories to configure
remotes.

* ps/3.0-remote-deprecation:
  remote: announce removal of "branches/" and "remotes/"
  builtin/pack-redundant: remove subcommand with breaking changes
  ci: repurpose "linux-gcc" job for deprecations
  ci: merge linux-gcc-default into linux-gcc
  Makefile: wire up build option for deprecated features
</content>
</entry>
<entry>
<title>ci: switch linux-musl to use Meson</title>
<updated>2025-01-28T21:03:23Z</updated>
<author>
<name>Patrick Steinhardt</name>
<email>ps@pks.im</email>
</author>
<published>2025-01-28T08:41:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=84bb5eeace7f797c3898ad6ee6c4909200be0c77'/>
<id>urn:sha1:84bb5eeace7f797c3898ad6ee6c4909200be0c77</id>
<content type='text'>
Switch over the "linux-musl" job to use Meson instead of Makefiles. This
is done due to multiple reasons:

  - It simplifies our CI infrastructure a bit as we don't have to
    manually specify a couple of build options anymore.

  - It verifies that Meson detects and sets those build options
    automatically.

  - It makes it easier for us to wire up a new CI job using zlib-ng as
    backend.

One platform compatibility that Meson cannot easily detect automatically
is the `GIT_TEST_UTF8_LOCALE` variable used in tests. Wire up a build
option for it, which we set via a new "MESONFLAGS" environment variable.

Note that we also drop the CC variable, which is set to "gcc". We
already default to GCC when CC is unset in "ci/lib.sh", so this is not
needed.

Signed-off-by: Patrick Steinhardt &lt;ps@pks.im&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>ci: merge linux-gcc-default into linux-gcc</title>
<updated>2025-01-22T20:28:27Z</updated>
<author>
<name>Patrick Steinhardt</name>
<email>ps@pks.im</email>
</author>
<published>2025-01-22T11:31:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=04c29bdea04e5af5193fd386b62a48c320351f19'/>
<id>urn:sha1:04c29bdea04e5af5193fd386b62a48c320351f19</id>
<content type='text'>
The "linux-gcc-default" job is mostly doing the same as the "linux-gcc"
job, except for a couple of minor differences:

  - We use an explicit GCC version instead of the default version
    provided by the distribution. We have other jobs that test with
    "gcc-8", making this distinction pointless.

  - We don't set up the Python version explicitly, and instead use the
    default Python version. Python 2 has been end-of-life for quite a
    while now though, making this distinction less interesting.

  - We set up the default branch name to be "main" in "linux-gcc". We
    have other testcases that don't and also some that explicitly use
    "master".

  - We use "ubuntu:20.04" in one job and "ubuntu:latest" in another. We
    already have a couple other jobs testing these respectively.

So overall, the job does not add much to our test coverage.

Drop the "linux-gcc-default" job and adapt "linux-gcc" to start using
the default GCC compiler, effectively merging those two jobs into one.

Signed-off-by: Patrick Steinhardt &lt;ps@pks.im&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>ci: remove stale code for Azure Pipelines</title>
<updated>2025-01-10T17:15:39Z</updated>
<author>
<name>Patrick Steinhardt</name>
<email>ps@pks.im</email>
</author>
<published>2025-01-10T11:32:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e39e332e5043d7e8f48fbfc91c3bd6d45a52cb7b'/>
<id>urn:sha1:e39e332e5043d7e8f48fbfc91c3bd6d45a52cb7b</id>
<content type='text'>
Support for Azure Pipelines has been retired in 6081d3898f (ci: retire
the Azure Pipelines definition, 2020-04-11) in favor of GitHub Actions.
Our CI library still has some infrastructure left for Azure though that
is now unused. Remove it.

Signed-off-by: Patrick Steinhardt &lt;ps@pks.im&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>ci: stop special-casing for Ubuntu 16.04</title>
<updated>2025-01-10T17:15:38Z</updated>
<author>
<name>Patrick Steinhardt</name>
<email>ps@pks.im</email>
</author>
<published>2025-01-10T11:32:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=678b22f528d533ab49944a696639e664d301a7e7'/>
<id>urn:sha1:678b22f528d533ab49944a696639e664d301a7e7</id>
<content type='text'>
With c85bcb5de1 (gitlab-ci: switch from Ubuntu 16.04 to 20.04,
2024-10-31) we have adapted the last CI job to stop using Ubuntu 16.04
in favor of Ubuntu 20.04. Remove the special-casing we still have in our
CI scripts.

Signed-off-by: Patrick Steinhardt &lt;ps@pks.im&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>gitlab-ci: add linux32 job testing against i386</title>
<updated>2025-01-10T17:15:38Z</updated>
<author>
<name>Patrick Steinhardt</name>
<email>ps@pks.im</email>
</author>
<published>2025-01-10T11:32:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4ad71b16cdc8f5f367931b908fa904e8e8c48b47'/>
<id>urn:sha1:4ad71b16cdc8f5f367931b908fa904e8e8c48b47</id>
<content type='text'>
Add another job to GitLab CI that tests against the i386 architecture.
This job is equivalent to the same job in GitHub Workflows.

Signed-off-by: Patrick Steinhardt &lt;ps@pks.im&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
