<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgitext.git/cgit.mk, branch develop</title>
<subtitle>cgitext – CGI for Git extension</subtitle>
<id>https://sayag.it/cgitext.git/atom/cgit.mk?h=develop</id>
<link rel='self' href='https://sayag.it/cgitext.git/atom/cgit.mk?h=develop'/>
<link rel='alternate' type='text/html' href='https://sayag.it/cgitext.git/'/>
<updated>2026-07-30T05:26:52Z</updated>
<entry>
<title>ui-ci: add a "ci" tab which redirects to an external ci system</title>
<updated>2026-07-30T05:26:52Z</updated>
<author>
<name>Saya Andy</name>
<email>saya.andy@posteo.com</email>
</author>
<published>2026-07-30T05:26:52Z</published>
<link rel='alternate' type='text/html' href='https://sayag.it/cgitext.git/commit/?id=b4b4f2325db71041f38902143b28bae94762b111'/>
<id>urn:sha1:b4b4f2325db71041f38902143b28bae94762b111</id>
<content type='text'>
Add a "ci" page which redirects to an external ci system for the ref
being viewed, along with a tab for it in the repository header.

The target is a url template, configurable globally or per repository,
with separate settings for branches and tags because pipelines for the
two commonly live at different locations: on a Jenkins multibranch
pipeline a branch is at job/&lt;name&gt;/job/&lt;ref&gt; while a tag is at
job/&lt;name&gt;/view/tags/job/&lt;ref&gt;. $ref, $repo and $slug are substituted,
$slug being the repository url with any ".git" suffix removed and slashes
replaced by dashes, which is the shape job names usually take.

An explicit repo.ci-url drops the branch and tag urls the repository
would otherwise inherit from the global settings, as it could never take
effect otherwise.

The expansion is written to the Location header verbatim rather than
through cgit_redirect(), which percent-encodes '?', '=' and '%' and would
corrupt any url carrying a query string. An expansion containing CR or LF
is refused so that it cannot smuggle in further headers.

Signed-off-by: Saya Andy &lt;saya.andy@posteo.com&gt;
</content>
</entry>
<entry>
<title>ui-blame: add blame UI</title>
<updated>2017-10-03T18:19:34Z</updated>
<author>
<name>Jeff Smith</name>
<email>whydoubt@gmail.com</email>
</author>
<published>2017-10-02T04:39:08Z</published>
<link rel='alternate' type='text/html' href='https://sayag.it/cgitext.git/commit/?id=c1cd290d1f83d3d1c2d081d734e8d213f12cc06b'/>
<id>urn:sha1:c1cd290d1f83d3d1c2d081d734e8d213f12cc06b</id>
<content type='text'>
Implement a page which provides the blame view of a specified file.

This feature is controlled by a new config variable, "enable-blame",
which is disabled by default.

Signed-off-by: Jeff Smith &lt;whydoubt@gmail.com&gt;
Reviewed-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>Link with -ldl on GNU Hurd</title>
<updated>2016-11-25T20:58:18Z</updated>
<author>
<name>Peter Colberg</name>
<email>peter@colberg.org</email>
</author>
<published>2016-11-25T20:57:11Z</published>
<link rel='alternate' type='text/html' href='https://sayag.it/cgitext.git/commit/?id=2b993402c7ed5849606a5bf4d3c7cb212f491b06'/>
<id>urn:sha1:2b993402c7ed5849606a5bf4d3c7cb212f491b06</id>
<content type='text'>
Debian GNU/Hurd uses the GNU C library.

Signed-off-by: Peter Colberg &lt;peter@colberg.org&gt;
</content>
</entry>
<entry>
<title>Link with -ldl on GNU/kFreeBSD</title>
<updated>2016-07-06T21:58:03Z</updated>
<author>
<name>Peter Colberg</name>
<email>peter@colberg.org</email>
</author>
<published>2016-07-02T02:00:37Z</published>
<link rel='alternate' type='text/html' href='https://sayag.it/cgitext.git/commit/?id=40fbefba0514b33988d453aea05aa2b956e98f84'/>
<id>urn:sha1:40fbefba0514b33988d453aea05aa2b956e98f84</id>
<content type='text'>
GNU/kFreeBSD uses the FreeBSD kernel with the GNU C library.

Signed-off-by: Peter Colberg &lt;peter@colberg.org&gt;
</content>
</entry>
<entry>
<title>cgit.mk: Use $PKG_CONFIG</title>
<updated>2016-06-17T10:36:24Z</updated>
<author>
<name>Kylie McClain</name>
<email>somasis@exherbo.org</email>
</author>
<published>2016-06-07T21:22:35Z</published>
<link rel='alternate' type='text/html' href='https://sayag.it/cgitext.git/commit/?id=5062fbe7ec16c4f736bca9aab68dde101d6d6163'/>
<id>urn:sha1:5062fbe7ec16c4f736bca9aab68dde101d6d6163</id>
<content type='text'>
PKG_CONFIG is a variable dictated by autoconf standards; it should
be used if set.
</content>
</entry>
<entry>
<title>Makefile: add a target to run CGit through sparse</title>
<updated>2015-03-09T16:38:22Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2015-03-08T16:32:15Z</published>
<link rel='alternate' type='text/html' href='https://sayag.it/cgitext.git/commit/?id=5150b7c1e69b4b09821e438006cfd77d82edae3b'/>
<id>urn:sha1:5150b7c1e69b4b09821e438006cfd77d82edae3b</id>
<content type='text'>
Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>Makefile: suppress pkg-config error</title>
<updated>2014-02-20T19:06:29Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2014-02-20T19:06:29Z</published>
<link rel='alternate' type='text/html' href='https://sayag.it/cgitext.git/commit/?id=8acfa51a8b3c6011483132c933213231f7a4865b'/>
<id>urn:sha1:8acfa51a8b3c6011483132c933213231f7a4865b</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>makefile: use LUA_PKGCONFIG to set Lua implementation</title>
<updated>2014-01-22T14:41:17Z</updated>
<author>
<name>Natanael Copa</name>
<email>ncopa@alpinelinux.org</email>
</author>
<published>2014-01-22T12:15:08Z</published>
<link rel='alternate' type='text/html' href='https://sayag.it/cgitext.git/commit/?id=44ccae4227060f91c60ad45de1188e728ce8af0d'/>
<id>urn:sha1:44ccae4227060f91c60ad45de1188e728ce8af0d</id>
<content type='text'>
This breaks compat with the previous LUA_IMPLEMENTATION but gives more
flexibility in that user can specify the pkg-config package name
directly.

Signed-off-by: Natanael Copa &lt;ncopa@alpinelinux.org&gt;
</content>
</entry>
<entry>
<title>cache: use sendfile() instead of a pair of read() + write()</title>
<updated>2014-01-19T14:08:49Z</updated>
<author>
<name>Sebastian Andrzej Siewior</name>
<email>sebastian@breakpoint.cc</email>
</author>
<published>2014-01-18T20:24:58Z</published>
<link rel='alternate' type='text/html' href='https://sayag.it/cgitext.git/commit/?id=d3581b58890389794de5d5222c91a0129873e95c'/>
<id>urn:sha1:d3581b58890389794de5d5222c91a0129873e95c</id>
<content type='text'>
sendfile() does the same job and avoids to copy the content into userland
and back. One has to define NO_SENDFILE in case the OS (kernel / libc)
does not supported. It is disabled by default on non-linux environemnts.
According to the glibc, sendfile64() was added in Linux 2.4 (so it has
been there for a while) but after browsing over the mapage of FreeBSD's I
noticed that the prototype is little different.

Signed-off-by: Sebastian Andrzej Siewior &lt;sebastian@breakpoint.cc&gt;
</content>
</entry>
<entry>
<title>makefile: only display lua message once</title>
<updated>2014-01-14T12:47:28Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2014-01-14T12:47:28Z</published>
<link rel='alternate' type='text/html' href='https://sayag.it/cgitext.git/commit/?id=a9a7f68244b3393725643b35fb3f685b05ccea9e'/>
<id>urn:sha1:a9a7f68244b3393725643b35fb3f685b05ccea9e</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
</feed>
