<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/.github, branch v2.29.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.29.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.29.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2020-10-09T04:53:26Z</updated>
<entry>
<title>Merge branch 'js/ci-ghwf-dedup-tests'</title>
<updated>2020-10-09T04:53:26Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2020-10-09T04:53:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=20a00abe35a3f54db5bcb54ca8c04d3f679042ea'/>
<id>urn:sha1:20a00abe35a3f54db5bcb54ca8c04d3f679042ea</id>
<content type='text'>
The logic to skip testing on the tagged commit and the tag itself
was not quite consistent which led to failure of Windows test
tasks.  It has been revamped to consistently skip revisions that
have already been tested, based on the tree object of the revision.

* js/ci-ghwf-dedup-tests:
  ci: do not skip tagged revisions in GitHub workflows
  ci: skip GitHub workflow runs for already-tested commits/trees
</content>
</entry>
<entry>
<title>ci: skip GitHub workflow runs for already-tested commits/trees</title>
<updated>2020-10-08T18:58:37Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2020-10-08T15:29:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7d78d5fc1a91b683dde970e5e48b6d9a873cfd99'/>
<id>urn:sha1:7d78d5fc1a91b683dde970e5e48b6d9a873cfd99</id>
<content type='text'>
When pushing a commit that has already passed a CI or PR build
successfully, it makes sense to save some energy and time and skip the
new build.

Let's teach our GitHub workflow to do that.

For good measure, we also compare the tree ID, which is what we actually
test (the commit ID might have changed due to a reworded commit message,
which should not affect the outcome of the run).

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>GitHub workflow: automatically follow minor updates of setup-msbuild</title>
<updated>2020-10-07T16:54:53Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2020-10-07T08:17:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=17c13069b47e64fb3fdd4de57f87b80943be1e4d'/>
<id>urn:sha1:17c13069b47e64fb3fdd4de57f87b80943be1e4d</id>
<content type='text'>
It is the custom to follow minor updates of GitHub Actions
automatically, by using the suffix `@v1`. Actions' maintainers will then
update that `v1` ref to point to the newest.

However, for `microsoft/setup-msbuild`, 889cacb6897 (ci: configure
GitHub Actions for CI/PR, 2020-04-11) uses a very specific `@v1.0.0`
suffix.

In this instance, that is a problem: should `setup-msbuild` release a
new version that intends to fix a critical bug, we won't know it, and we
won't use it.

Such a scenario is not theoretical. It is happening right now:
https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands

Let's simplify our setup, allowing us to benefit from automatically
using the newest v1.x.

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: avoid ugly "failure" in the `ci-config` job</title>
<updated>2020-09-02T19:21:45Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2020-09-01T20:19:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2fcf7a8c65605530380b263a60f0bb8e2c0bfc7b'/>
<id>urn:sha1:2fcf7a8c65605530380b263a60f0bb8e2c0bfc7b</id>
<content type='text'>
In the common case where users have _not_ pushed a `ci-config` branch to
configure which branches should be included in the GitHub workflow runs,
there is a big fat ugly annotation about a failure in the run's log:

	X Check failure on line 1 in .github

	  @github-actions github-actions / ci-config

	  .github#L1

	  Process completed with exit code 128.

The reason is that the `ci-config` job tries to clone that `ci-config`
branch, and even if it is configured to continue on error, the
annotation is displayed, and it is distracting.

Let's just handle this on the shell script level, so that the job's step
is not marked as a failure.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Acked-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>ci: fix indentation of the `ci-config` job</title>
<updated>2020-09-02T19:21:41Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2020-09-01T20:19:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b01aff8c1cefb9c2e9a08c1ec313308de77b83ee'/>
<id>urn:sha1:b01aff8c1cefb9c2e9a08c1ec313308de77b83ee</id>
<content type='text'>
The section added in e76eec35540f (ci: allow per-branch config for
GitHub Actions, 2020-05-07) contains a `&amp;&amp;`-chain that connects several
commands. The first command is actually so long that it stretches over
multiple lines, and as per usual, the continuation lines are indented one
more level than the first.

However, the subsequent commands in the `&amp;&amp;`-chain were also indented
one more level than the first command, which was almost certainly
unintended.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Acked-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'am/ci-wsfix'</title>
<updated>2020-08-31T22:49:46Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2020-08-31T22:49:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1a753720c3c416ed53e985ace9f8f1232118c516'/>
<id>urn:sha1:1a753720c3c416ed53e985ace9f8f1232118c516</id>
<content type='text'>
Aesthetic fix to a CI configuration file.

* am/ci-wsfix:
  ci: fix inconsistent indentation
</content>
</entry>
<entry>
<title>ci: fix inconsistent indentation</title>
<updated>2020-08-21T19:09:38Z</updated>
<author>
<name>Adrian Moennich</name>
<email>adrian@planetcoding.net</email>
</author>
<published>2020-08-21T09:27:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=055747cd75c0904cc8122e5c12bd45e9f4743c30'/>
<id>urn:sha1:055747cd75c0904cc8122e5c12bd45e9f4743c30</id>
<content type='text'>
While YAML allows different indentation styles as long as each block
is consistent, it is rather unusual to mix different indentations in
a single file.  Adjust to use two-space indentation everywhere.

Signed-off-by: Adrian Moennich &lt;adrian@planetcoding.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'ss/cmake-build'</title>
<updated>2020-08-12T01:04:13Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2020-08-12T01:04:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a30e4c531d9a43030eb1b5d7249378808dd2e14d'/>
<id>urn:sha1:a30e4c531d9a43030eb1b5d7249378808dd2e14d</id>
<content type='text'>
CMake support to build with MSVC for Windows bypassing the Makefile.

* ss/cmake-build:
  ci: modification of main.yml to use cmake for vs-build job
  cmake: support for building git on windows with msvc and clang.
  cmake: support for building git on windows with mingw
  cmake: support for testing git when building out of the source tree
  cmake: support for testing git with ctest
  cmake: installation support for git
  cmake: generate the shell/perl/python scripts and templates, translations
  Introduce CMake support for configuring Git
</content>
</entry>
<entry>
<title>ci: modification of main.yml to use cmake for vs-build job</title>
<updated>2020-06-26T17:08:46Z</updated>
<author>
<name>Sibi Siddharthan</name>
<email>sibisiv.siddharthan@gmail.com</email>
</author>
<published>2020-06-26T16:11:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4c2c38e800f38bceb1039af2c2ac7b1082fd2e0b'/>
<id>urn:sha1:4c2c38e800f38bceb1039af2c2ac7b1082fd2e0b</id>
<content type='text'>
Teach .github/workflows/main.yml to use CMake for VS builds.

Modified the vs-test step to match windows-test step. This speeds
up the vs-test. Calling git-cmd from powershell and then calling git-bash
to perform the tests slows things down(factor of about 6). So git-bash
is directly called from powershell to perform the tests using prove.

NOTE: Since GitHub keeps the same directory for each job
(with respect to path) absolute paths are used in the bin-wrapper
scripts.

GitHub has switched to CMake 3.17.1 which changed the behaviour of
FindCURL module. An extra definition (-DCURL_NO_CURL_CMAKE=ON) has been
added to revert to the old behaviour.

In the configuration phase CMake looks for the required libraries for
building git (eg zlib,libiconv). So we extract the libraries before we
configure.

To check for ICONV_OMITS_BOM libiconv.dll needs to be in the working
directory of script or path. So we copy the dlls before we configure.

Signed-off-by: Sibi Siddharthan &lt;sibisiddharthan.github@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'es/advertise-contribution-doc'</title>
<updated>2020-06-18T04:54:06Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2020-06-18T04:54:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=fdeb74f3720e7efdc2d64941ce5853d87e0371ad'/>
<id>urn:sha1:fdeb74f3720e7efdc2d64941ce5853d87e0371ad</id>
<content type='text'>
Doc updates.

* es/advertise-contribution-doc:
  docs: mention MyFirstContribution in more places
</content>
</entry>
</feed>
