<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/.github/workflows/main.yml, branch v2.33.6</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.33.6</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.33.6'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2021-10-12T20:51:38Z</updated>
<entry>
<title>Merge branch 'cb/ci-use-upload-artifacts-v1' into maint</title>
<updated>2021-10-12T20:51:38Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2021-10-12T20:51:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ff09581e12ff55b3bb6a8cc227e606f8a858a47a'/>
<id>urn:sha1:ff09581e12ff55b3bb6a8cc227e606f8a858a47a</id>
<content type='text'>
Use upload-artifacts v1 (instead of v2) for 32-bit linux, as the
new version has a blocker bug for that architecture.

* cb/ci-use-upload-artifacts-v1:
  ci: use upload-artifacts v1 for dockerized jobs
</content>
</entry>
<entry>
<title>Merge branch 'cb/ci-build-pedantic' into maint</title>
<updated>2021-10-12T20:51:31Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2021-10-12T20:51:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7bdcb8ef1f8a6deb78adfeaf67b8dd1e9c7e4ff0'/>
<id>urn:sha1:7bdcb8ef1f8a6deb78adfeaf67b8dd1e9c7e4ff0</id>
<content type='text'>
CI update.

* cb/ci-build-pedantic:
  ci: run a pedantic build as part of the GitHub workflow
</content>
</entry>
<entry>
<title>ci: use upload-artifacts v1 for dockerized jobs</title>
<updated>2021-08-15T16:45:38Z</updated>
<author>
<name>Carlo Marcelo Arenas Belón</name>
<email>carenas@gmail.com</email>
</author>
<published>2021-08-13T09:13:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3cf9bb36bf3ab826a7ea358132423ed2bf3bc7db'/>
<id>urn:sha1:3cf9bb36bf3ab826a7ea358132423ed2bf3bc7db</id>
<content type='text'>
e9f79acb28 (ci: upgrade to using actions/{up,down}load-artifacts v2,
2021-06-23) changed all calls to that action from v1 to v2, but there
is still an open bug[1] that affects all nodejs actions and prevents
its use in 32-bit linux (as used by the Linux32 container)

move all dockerized jobs to use v1 that was built in C# and therefore
doesn't have this problem, which will otherwise manifest with confusing
messages like:

  /usr/bin/docker exec  0285adacc4536b7cd962079c46f85fa05a71e66d7905b5e4b9b1a0e8b305722a sh -c "cat /etc/*release | grep ^ID"
  OCI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: no such file or directory: unknown

[1] https://github.com/actions/runner/issues/1011

Signed-off-by: Carlo Marcelo Arenas Belón &lt;carenas@gmail.com&gt;
Acked-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 a pedantic build as part of the GitHub workflow</title>
<updated>2021-08-11T18:25:06Z</updated>
<author>
<name>Carlo Marcelo Arenas Belón</name>
<email>carenas@gmail.com</email>
</author>
<published>2021-08-09T01:38:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=cebead1ebfb8f6c78097173749596cb9604776d9'/>
<id>urn:sha1:cebead1ebfb8f6c78097173749596cb9604776d9</id>
<content type='text'>
similar to the recently added sparse task, it is nice to know as early
as possible.

add a dockerized build using fedora (that usually has the latest gcc)
to be ahead of the curve and avoid older ISO C issues at the same time.

Signed-off-by: Carlo Marcelo Arenas Belón &lt;carenas@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'js/ci-make-sparse'</title>
<updated>2021-07-28T20:18:01Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2021-07-28T20:18:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6d56fb28fb0de8add352352c9b271cace08670b8'/>
<id>urn:sha1:6d56fb28fb0de8add352352c9b271cace08670b8</id>
<content type='text'>
The CI gained a new job to run "make sparse" check.

* js/ci-make-sparse:
  ci/install-dependencies: handle "sparse" job package installs
  ci: run "apt-get update" before "apt-get install"
  ci: run `make sparse` as part of the GitHub workflow
</content>
</entry>
<entry>
<title>ci/install-dependencies: handle "sparse" job package installs</title>
<updated>2021-07-26T22:20:51Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2021-07-26T18:22:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=27f45ccf336d70e9078075eb963fb92541da8690'/>
<id>urn:sha1:27f45ccf336d70e9078075eb963fb92541da8690</id>
<content type='text'>
This just matches the style/location of the package installation for
other jobs. There should be no functional change.

I did flip the order of the options and command-name ("-y update"
instead of "update -y") for consistency with other lines in the same
file.

Note also that we have to reorder the dependency install with the
"checkout" action, so that we actually have the "ci" scripts available.

Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Acked-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 "apt-get update" before "apt-get install"</title>
<updated>2021-07-26T22:20:37Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2021-07-26T17:53:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8231c841ff7f213a86aa1fa890ea213f2dc630be'/>
<id>urn:sha1:8231c841ff7f213a86aa1fa890ea213f2dc630be</id>
<content type='text'>
The "sparse" workflow runs "apt-get install" to pick up a few necessary
packages. But it needs to run "apt-get update" first, or it risks trying
to download an old package version that no longer exists. And in fact
this happens now, with output like:

  2021-07-26T17:40:51.2551880Z E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/c/curl/libcurl4-openssl-dev_7.68.0-1ubuntu2.5_amd64.deb  404  Not Found [IP: 52.147.219.192 80]
  2021-07-26T17:40:51.2554304Z E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Our other ci jobs don't suffer from this; they rely on scripts in ci/,
and ci/install-dependencies does the appropriate "apt-get update".

Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Acked-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 `make sparse` as part of the GitHub workflow</title>
<updated>2021-07-14T17:14:21Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2021-07-14T11:50:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e61059660ca00ba69d1721b7d48653c52848bece'/>
<id>urn:sha1:e61059660ca00ba69d1721b7d48653c52848bece</id>
<content type='text'>
Occasionally we receive reviews after patches were integrated, where
`sparse` (https://sparse.docs.kernel.org/en/latest/ has more information
on that project) identified problems such as file-local variables or
functions being declared as global.

By running `sparse` as part of our Continuous Integration, we can catch
such things much earlier. Even better: developers who activated GitHub
Actions on their forks can catch such issues before even sending their
patches to the Git mailing list.

This addresses https://github.com/gitgitgadget/git/issues/345

Note: Not even Ubuntu 20.04 ships with a new enough version of `sparse`
to accommodate Git's needs. The symptom looks like this:

    add-interactive.c:537:51: error: Using plain integer as NULL pointer

To counter that, we download and install the custom-built `sparse`
package from the Azure Pipeline that we specifically created to address
this issue.

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: accelerate the checkout</title>
<updated>2021-07-06T19:20:58Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2021-07-04T22:55:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0dc787a9f23f78902b8792e44ff8187398e49de8'/>
<id>urn:sha1:0dc787a9f23f78902b8792e44ff8187398e49de8</id>
<content type='text'>
By upgrading from v1 to v2 of `actions/checkout`, we avoid fetching all
the tags and the complete history: v2 only fetches one revision by
default. This should make things a lot faster.

Note that `actions/checkout@v2` seems to be incompatible with running in
containers: https://github.com/actions/checkout/issues/151. Therefore,
we stick with v1 there.

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 (vs-build): build with NO_GETTEXT</title>
<updated>2021-07-06T19:20:58Z</updated>
<author>
<name>Dennis Ameling</name>
<email>dennis@dennisameling.com</email>
</author>
<published>2021-07-04T22:55:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9ab0b6612918b833bdec775f7c9bf22c4c4ddd07'/>
<id>urn:sha1:9ab0b6612918b833bdec775f7c9bf22c4c4ddd07</id>
<content type='text'>
We already build Git for Windows with `NO_GETTEXT` when compiling with
GCC. Let's do the same with Visual C, too.

Note that we do not technically _need_ to pass `NO_GETTEXT` explicitly
in that `make artifacts-tar` invocation because we do this while `MSVC`
is set (which will set `uname_S := Windows`, which in turn will set
`NO_GETTEXT = YesPlease`). But it is definitely nicer to be explicit
here.

Signed-off-by: Dennis Ameling &lt;dennis@dennisameling.com&gt;
Helped-by: Matthias Aßhauer &lt;mha1993@live.de&gt;
Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
