<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgitext.git/cmd.c, branch master</title>
<subtitle>cgitext – CGI for Git extension</subtitle>
<id>https://sayag.it/cgitext.git/atom/cmd.c?h=master</id>
<link rel='self' href='https://sayag.it/cgitext.git/atom/cmd.c?h=master'/>
<link rel='alternate' type='text/html' href='https://sayag.it/cgitext.git/'/>
<updated>2026-07-31T04:38:28Z</updated>
<entry>
<title>licensing: add author preambles where changes were done</title>
<updated>2026-07-31T04:38:28Z</updated>
<author>
<name>Saya Andy</name>
<email>saya.andy@posteo.com</email>
</author>
<published>2026-07-30T05:49:23Z</published>
<link rel='alternate' type='text/html' href='https://sayag.it/cgitext.git/commit/?id=306fafc1d1d19c51d7ac24479f49c76272934ce5'/>
<id>urn:sha1:306fafc1d1d19c51d7ac24479f49c76272934ce5</id>
<content type='text'>
Add a copyright for changes done by me, also note in README the nature
of this repo
</content>
</entry>
<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>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://sayag.it/cgitext.git/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>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://sayag.it/cgitext.git/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>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>about: path_info might not be valid</title>
<updated>2016-02-26T12:14:52Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2016-02-26T12:14:43Z</published>
<link rel='alternate' type='text/html' href='https://sayag.it/cgitext.git/commit/?id=09a3aa5ae7781a0e461373ede6bc10129cb3f5de'/>
<id>urn:sha1:09a3aa5ae7781a0e461373ede6bc10129cb3f5de</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cmd: redirect empty about/ to homepage or summary</title>
<updated>2016-02-22T17:40:15Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2016-02-22T15:33:49Z</published>
<link rel='alternate' type='text/html' href='https://sayag.it/cgitext.git/commit/?id=94c02bbf732d938c92df4961026c4d8f6fd4c37e'/>
<id>urn:sha1:94c02bbf732d938c92df4961026c4d8f6fd4c37e</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>cmd: fix resource leak: free allocation from cgit_currenturl and fmtalloc</title>
<updated>2015-10-09T12:03:58Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2015-10-09T11:15:49Z</published>
<link rel='alternate' type='text/html' href='https://sayag.it/cgitext.git/commit/?id=6f2e4400faebd829f905c824400f933fe07f5c30'/>
<id>urn:sha1:6f2e4400faebd829f905c824400f933fe07f5c30</id>
<content type='text'>
Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</content>
</entry>
<entry>
<title>cmd: fix command definition</title>
<updated>2015-08-14T14:41:22Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2015-08-14T14:20:23Z</published>
<link rel='alternate' type='text/html' href='https://sayag.it/cgitext.git/commit/?id=73ef8567f04c2dea8fbf83213b28e0cd1dff98f3'/>
<id>urn:sha1:73ef8567f04c2dea8fbf83213b28e0cd1dff98f3</id>
<content type='text'>
The previous commit removed the "pre" field from "struct cgit_cmd" but
forgot to update this macro.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
Reviewed-by: Christian Hesse &lt;mail@eworm.de&gt;
</content>
</entry>
<entry>
<title>cmd: no need for pre function hook now</title>
<updated>2015-08-14T13:54:32Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2015-08-14T13:54:32Z</published>
<link rel='alternate' type='text/html' href='https://sayag.it/cgitext.git/commit/?id=03de473354dc8c17a3b23a973b5cc67752ad20cb'/>
<id>urn:sha1:03de473354dc8c17a3b23a973b5cc67752ad20cb</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
</feed>
