<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/cgit.h, branch ch/cgitrc</title>
<subtitle>🍴 My patches to cgit
</subtitle>
<id>https://git.ache.one/cgit/atom?h=ch%2Fcgitrc</id>
<link rel='self' href='https://git.ache.one/cgit/atom?h=ch%2Fcgitrc'/>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/'/>
<updated>2020-10-20T21:57:12Z</updated>
<entry>
<title>global: replace references to 'sha1' with 'oid'</title>
<updated>2020-10-20T21:57:12Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2020-10-20T21:32:45Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=779631c6dc23c15bbbf45a7c7ab9fffb619037b7'/>
<id>urn:sha1:779631c6dc23c15bbbf45a7c7ab9fffb619037b7</id>
<content type='text'>
For some time now sha1 is considered broken and upstream is working to
replace it with sha256. Replace all references to 'sha1' with 'oid',
just as upstream does.

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</content>
</entry>
<entry>
<title>git: update to v2.29.0</title>
<updated>2020-10-19T18:27:28Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2020-10-06T14:32:08Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=629659d2cffbf059374fc53e6400ff0bebe1ddde'/>
<id>urn:sha1:629659d2cffbf059374fc53e6400ff0bebe1ddde</id>
<content type='text'>
Update to git version v2.29.0, this requires changes for these
upstream commits:

* dbbcd44fb47347a3fdbee88ea21805b7f4ac0b98
  strvec: rename files from argv-array to strvec

* 873cd28a8b17ff21908c78c7929a7615f8c94992
  argv-array: rename to strvec

* d70a9eb611a9d242c1d26847d223b8677609305b
  strvec: rename struct fields

* 6a67c759489e1025665adf78326e9e0d0981bab5
  test-lib-functions: restrict test_must_fail usage

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</content>
</entry>
<entry>
<title>ui-tree: allow per repository override for enable-blame</title>
<updated>2019-06-25T19:40:59Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2019-02-26T16:08:31Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=e1ad15d368bdeb1bffea588b93a29055c5dfb7f4'/>
<id>urn:sha1:e1ad15d368bdeb1bffea588b93a29055c5dfb7f4</id>
<content type='text'>
The blame operation can cause high cost in terms of CPU load for huge
repositories. Let's add a per repository override for enable-blame.

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</content>
</entry>
<entry>
<title>git: update to v2.19.1</title>
<updated>2018-10-12T21:06:02Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2018-08-28T16:27:00Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=2c9f56f3e1c754f60ccffbc6c745b9d5a81ea005'/>
<id>urn:sha1:2c9f56f3e1c754f60ccffbc6c745b9d5a81ea005</id>
<content type='text'>
Update to git version v2.19.1. Required changes follow upstream commits:

* commit: add repository argument to get_cached_commit_buffer
  (3ce85f7e5a41116145179f0fae2ce6d86558d099)

* commit: add repository argument to lookup_commit_reference
  (2122f6754c93be8f02bfb5704ed96c88fc9837a8)

* object: add repository argument to parse_object
  (109cd76dd3467bd05f8d2145b857006649741d5c)

* tag: add repository argument to deref_tag
  (a74093da5ed601a09fa158e5ba6f6f14c1142a3e)

* tag: add repository argument to lookup_tag
  (ce71efb713f97f476a2d2ab541a0c73f684a5db3)

* tree: add repository argument to lookup_tree
  (f86bcc7b2ce6cad68ba1a48a528e380c6126705e)

* archive.c: avoid access to the_index
  (b612ee202a48f129f81f8f6a5af6cf71d1a9caef)

* for_each_*_object: move declarations to object-store.h
  (0889aae1cd18c1804ba01c1a4229e516dfb9fe9b)

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</content>
</entry>
<entry>
<title>extra-head-content: introduce another option for meta tags</title>
<updated>2018-07-03T18:37:00Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2018-02-12T22:10:06Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=b522a302c9c4fb9fd9e1ea829ee990afc74980ca'/>
<id>urn:sha1:b522a302c9c4fb9fd9e1ea829ee990afc74980ca</id>
<content type='text'>
This is to support things like go-import meta tags, which are on a
per-repo basis.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>global: remove functionality we deprecated for cgit v1.0</title>
<updated>2018-06-27T16:13:03Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2018-06-18T09:48:43Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=54d37dc154f5308459df0a90c81dabd0245b6c17'/>
<id>urn:sha1:54d37dc154f5308459df0a90c81dabd0245b6c17</id>
<content type='text'>
The man page states these were deprecated for v1.0. We are past v1.1,
so remove the functionality.

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
Reviewed-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>snapshot: strip bit from struct cgit_snapshot_format</title>
<updated>2018-06-27T16:13:00Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2018-06-11T06:26:59Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=2f8648ff7f5c7119ab035c134504f04eefe068fb'/>
<id>urn:sha1:2f8648ff7f5c7119ab035c134504f04eefe068fb</id>
<content type='text'>
We had a static bit value in struct cgit_snapshot_format. We do not rely
on it and things can be calculated on the fly. So strip it.

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</content>
</entry>
<entry>
<title>snapshot: support archive signatures</title>
<updated>2018-06-27T16:11:19Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2018-03-31T15:15:48Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=c712d5ac434b9ee8cb4e63a173a2538e1878637f'/>
<id>urn:sha1:c712d5ac434b9ee8cb4e63a173a2538e1878637f</id>
<content type='text'>
Read signatures from the notes refs refs/notes/signatures/$FORMAT where
FORMAT is one of our archive formats ("tar", "tar.gz", ...).  The note
is expected to simply contain the signature content to be returned when
the snapshot "${filename}.asc" is requested, so the signature for
cgit-1.1.tar.xz can be stored against the v1.1 tag with:

	git notes --ref=refs/notes/signatures/tar.xz add -C "$(
		gpg --output - --armor --detach-sign cgit-1.1.tar.xz |
		git hash-object -w --stdin
	)" v1.1

and then downloaded by simply appending ".asc" to the archive URL.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
Reviewed-by: Christian Hesse &lt;mail@eworm.de&gt;
</content>
</entry>
<entry>
<title>Add "snapshot-prefix" repo configuration</title>
<updated>2018-06-27T16:11:19Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2018-03-31T13:20:01Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=c1572bb5ec4540b5008490cf471cc4a5e65ef728'/>
<id>urn:sha1:c1572bb5ec4540b5008490cf471cc4a5e65ef728</id>
<content type='text'>
Allow using a user-specified value for the prefix in snapshot files
instead of the repository basename.  For example, files downloaded from
the linux-stable.git repository should be named linux-$VERSION and not
linux-stable-$VERSION, which can be achieved by setting:

	repo.snapshot-prefix=linux

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
Reviewed-by: Christian Hesse &lt;mail@eworm.de&gt;
</content>
</entry>
<entry>
<title>filter: pipe_fh should be local</title>
<updated>2017-10-14T14:13:07Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2017-10-14T14:13:07Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=fd069b4ca08cb46eb335a1434330b21fbaf84b9c'/>
<id>urn:sha1:fd069b4ca08cb46eb335a1434330b21fbaf84b9c</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
</feed>
