<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/ci, branch gitk-resize-error</title>
<subtitle>Fork of git SCM with my patches.</subtitle>
<id>http://git.kilabit.info/git/atom?h=gitk-resize-error</id>
<link rel='self' href='http://git.kilabit.info/git/atom?h=gitk-resize-error'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/'/>
<updated>2021-12-15T17:39:49Z</updated>
<entry>
<title>Merge branch 'ab/ci-updates'</title>
<updated>2021-12-15T17:39:49Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2021-12-15T17:39:49Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=f9b889dd67b7a92fd78d9f3385fd2f83e9efdaa8'/>
<id>urn:sha1:f9b889dd67b7a92fd78d9f3385fd2f83e9efdaa8</id>
<content type='text'>
Drop support for TravisCI and update test workflows at GitHub.

* ab/ci-updates:
  CI: don't run "make test" twice in one job
  CI: use "$runs_on_pool", not "$jobname" to select packages &amp; config
  CI: rename the "Linux32" job to lower-case "linux32"
  CI: use shorter names that fit in UX tooltips
  CI: remove Travis CI support
</content>
</entry>
<entry>
<title>Merge branch 'hn/reftable'</title>
<updated>2021-12-15T17:39:45Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2021-12-15T17:39:45Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=a4bbd13be360d93f51a0cea6eef436db8622b592'/>
<id>urn:sha1:a4bbd13be360d93f51a0cea6eef436db8622b592</id>
<content type='text'>
The "reftable" backend for the refs API, without integrating into
the refs subsystem, has been added.

* hn/reftable:
  Add "test-tool dump-reftable" command.
  reftable: add dump utility
  reftable: implement stack, a mutable database of reftable files.
  reftable: implement refname validation
  reftable: add merged table view
  reftable: add a heap-based priority queue for reftable records
  reftable: reftable file level tests
  reftable: read reftable files
  reftable: generic interface to tables
  reftable: write reftable files
  reftable: a generic binary tree implementation
  reftable: reading/writing blocks
  Provide zlib's uncompress2 from compat/zlib-compat.c
  reftable: (de)serialization for the polymorphic record type.
  reftable: add blocksource, an abstraction for random access reads
  reftable: utility functions
  reftable: add error related functionality
  reftable: add LICENSE
  hash.h: provide constants for the hash IDs
</content>
</entry>
<entry>
<title>Merge branch 'js/ci-no-directional-formatting'</title>
<updated>2021-12-10T22:35:06Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2021-12-10T22:35:06Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=bd16b3c39f373944d5ae0c8c9bb93d5d4a5a9524'/>
<id>urn:sha1:bd16b3c39f373944d5ae0c8c9bb93d5d4a5a9524</id>
<content type='text'>
CI has been taught to catch some Unicode directional formatting
sequence that can be used in certain mischief.

* js/ci-no-directional-formatting:
  ci: disallow directional formatting
</content>
</entry>
<entry>
<title>CI: don't run "make test" twice in one job</title>
<updated>2021-11-24T00:51:54Z</updated>
<author>
<name>Ævar Arnfjörð Bjarmason</name>
<email>avarab@gmail.com</email>
</author>
<published>2021-11-23T16:29:12Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=25715419bf4d105d755e0f6d2228e1ac0bd06b88'/>
<id>urn:sha1:25715419bf4d105d755e0f6d2228e1ac0bd06b88</id>
<content type='text'>
The "linux-clang" and "linux-gcc" jobs both run "make test" twice, but
with different environment variables. Running these in sequence seems
to have been done to work around some constraint on Travis, see
ae59a4e44f3 (travis: run tests with GIT_TEST_SPLIT_INDEX, 2018-01-07).

By having these run in parallel we'll get jobs that finish much sooner
than they otherwise would have.

We can also simplify the control flow in "ci/run-build-and-tests.sh"
as a result, since we won't run "make test" twice we don't need to run
"make" twice at all, let's default to "make all test" after setting
the variables, and then override it to just "all" for the compile-only
tests.

Add a comment to clarify that new "test" targets should adjust
$MAKE_TARGETS rather than being added after the "case/esac". This
should avoid future confusion where e.g. the compilation-only
"pedantic" target will unexpectedly start running tests. See [1] and
[2].

1. https://lore.kernel.org/git/211122.86ee78yxts.gmgdl@evledraar.gmail.com/
2. https://lore.kernel.org/git/211123.86ilwjujmd.gmgdl@evledraar.gmail.com/

Signed-off-by: Ævar Arnfjörð Bjarmason &lt;avarab@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>CI: use "$runs_on_pool", not "$jobname" to select packages &amp; config</title>
<updated>2021-11-24T00:51:53Z</updated>
<author>
<name>Ævar Arnfjörð Bjarmason</name>
<email>avarab@gmail.com</email>
</author>
<published>2021-11-23T16:29:11Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=707d2f2fe8601c1f425be1233a72bac872c0b4b9'/>
<id>urn:sha1:707d2f2fe8601c1f425be1233a72bac872c0b4b9</id>
<content type='text'>
Change the setup hooks for the CI to use "$runs_on_pool" for the
"$regular" job. Now we won't need as much boilerplate when adding new
jobs to the "regular" matrix, see 956d2e4639b (tests: add a test mode
for SANITIZE=leak, run it in CI, 2021-09-23) for the last such commit.

I.e. now instead of needing to enumerate each jobname when we select
packages we can install things depending on the pool we're running
in.

That we didn't do this dates back to the now gone dependency on Travis
CI, but even if we add a new CI target in the future this'll be easier
to port over, since we can probably treat "ubuntu-latest" as a
stand-in for some recent Linux that can run "apt" commands.

Signed-off-by: Ævar Arnfjörð Bjarmason &lt;avarab@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>CI: rename the "Linux32" job to lower-case "linux32"</title>
<updated>2021-11-24T00:51:53Z</updated>
<author>
<name>Ævar Arnfjörð Bjarmason</name>
<email>avarab@gmail.com</email>
</author>
<published>2021-11-23T16:29:10Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=c08bb260105fc7307be65f30e65c0f7305f0e3ce'/>
<id>urn:sha1:c08bb260105fc7307be65f30e65c0f7305f0e3ce</id>
<content type='text'>
As a follow-up to the preceding commit's shortening of CI job names,
rename the only job that starts with an upper-case letter to be
consistent with the rest. It was added in 88dedd5e72c (Travis: also
test on 32-bit Linux, 2017-03-05).

Signed-off-by: Ævar Arnfjörð Bjarmason &lt;avarab@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>CI: remove Travis CI support</title>
<updated>2021-11-24T00:51:53Z</updated>
<author>
<name>Ævar Arnfjörð Bjarmason</name>
<email>avarab@gmail.com</email>
</author>
<published>2021-11-23T16:29:08Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=4a6e4b9602630d50eb9d630c721bb01df97049f9'/>
<id>urn:sha1:4a6e4b9602630d50eb9d630c721bb01df97049f9</id>
<content type='text'>
Remove support for running the CI in travis. The last builds in it are
from 5 months ago[1] (as of 2021-11-19), and our documentation has
referred to GitHub CI instead since f003a91f5c5 (SubmittingPatches:
replace discussion of Travis with GitHub Actions, 2021-07-22).

We'll now run the "t9810 t9816" and tests on OSX. We didn't before, as
we'd carried the Travis exclusion of them forward from
522354d70f4 (Add Travis CI support, 2015-11-27). Let's hope whatever
issue there was with them was either Travis specific, or fixed since
then (I'm not sure).

The "apt-add-repository" invocation (which we were doing in GitHub CI)
isn't needed, it was another Travis-only case that was carried forward
into more general code. See 0f0c51181df (travis-ci: install packages
in 'ci/install-dependencies.sh', 2018-11-01).

Remove the "linux-gcc-4.8" job added in fb9d7431cf4 (travis-ci: build
with GCC 4.8 as well, 2019-07-18), it only ran in Travis CI.

1. https://travis-ci.org/github/git/git/builds

Signed-off-by: Ævar Arnfjörð Bjarmason &lt;avarab@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>ci: disallow directional formatting</title>
<updated>2021-11-04T17:13:10Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2021-11-04T13:13:29Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=0e7696c64db78f698c40686d4869e2a8d0ab2696'/>
<id>urn:sha1:0e7696c64db78f698c40686d4869e2a8d0ab2696</id>
<content type='text'>
As described in https://trojansource.codes/trojan-source.pdf, it is
possible to abuse directional formatting (a feature of Unicode) to
deceive human readers into interpreting code differently from compilers.

For example, an "if ()" expression could be enclosed in a comment, but
rendered as if it was outside of that comment. In effect, this could
fool a reviewer into misinterpreting the code flow as benign when it is
not.

It is highly unlikely that Git's source code wants to contain such
directional formatting in the first place, so let's just disallow 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>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='http://git.kilabit.info/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>Merge branch 'ab/sanitize-leak-ci'</title>
<updated>2021-10-11T17:21:47Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2021-10-11T17:21:47Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=859a585bdf9baa257c08a50895d9829171a5ad46'/>
<id>urn:sha1:859a585bdf9baa257c08a50895d9829171a5ad46</id>
<content type='text'>
CI learns to run the leak sanitizer builds.

* ab/sanitize-leak-ci:
  tests: add a test mode for SANITIZE=leak, run it in CI
  Makefile: add SANITIZE=leak flag to GIT-BUILD-OPTIONS
</content>
</entry>
</feed>
