<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/cgit.h, branch rm/namespace</title>
<subtitle>A hyperfast web frontend for git repositories written in C.</subtitle>
<id>http://git.cetero.st/cgit/atom/cgit.h?h=rm%2Fnamespace</id>
<link rel='self' href='http://git.cetero.st/cgit/atom/cgit.h?h=rm%2Fnamespace'/>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/'/>
<updated>2016-07-13T19:09:37Z</updated>
<entry>
<title>Allow agefile to be set per-repository</title>
<updated>2016-07-13T19:09:37Z</updated>
<author>
<name>Richard Maw</name>
<email>richard.maw@gmail.com</email>
</author>
<published>2016-06-30T20:06:46Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=aa69de50d3c0ef30a2f97e95f0582445890d027b'/>
<id>urn:sha1:aa69de50d3c0ef30a2f97e95f0582445890d027b</id>
<content type='text'>
This adds "repo.agefile", since namespaced repositories share the same files,
and we'd like to be able to see the ages of the refs for each namespace.

Whatever the git server uses for updating the age file must be namespace aware
and must write the age file to a path consistent with "repo.agefile".

Signed-off-by: Richard Maw &lt;richard.maw@gmail.com&gt;
</content>
</entry>
<entry>
<title>Add cgit_for_each_namespaced_ref_in helper</title>
<updated>2016-07-13T19:09:37Z</updated>
<author>
<name>Richard Maw</name>
<email>richard.maw@gmail.com</email>
</author>
<published>2016-06-25T21:49:35Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=5817a8f70370c0d41950fb2e7516389866da89b7'/>
<id>urn:sha1:5817a8f70370c0d41950fb2e7516389866da89b7</id>
<content type='text'>
libgit has a for_each_namespaced_ref,
but lacks equivalents for just branches, tags or remotes.

Rather than implementing all of those helpers,
it's more convenient to implement just one
that prepends the namespace to the provided ref base.

Signed-off-by: Richard Maw &lt;richard.maw@gmail.com&gt;
</content>
</entry>
<entry>
<title>Parse repo.namespace</title>
<updated>2016-07-13T19:09:37Z</updated>
<author>
<name>Richard Maw</name>
<email>richard.maw@gmail.com</email>
</author>
<published>2016-06-25T19:38:41Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=7a76691acf749e53c9d8d3ddaa558259d5567d34'/>
<id>urn:sha1:7a76691acf749e53c9d8d3ddaa558259d5567d34</id>
<content type='text'>
This contains the unexpanded name of the namespace
rather than the base ref of the namespace,
since the git namespace mechanism works by setting GIT_NAMESPACE
and on the first call to get_git_namespace() it gets expanded.

We need to save this for a later call to prepare_repo_cmd,
rather than trying to process it here,
since we can only do it once,
and we have other uses for the unexpanded name.

Signed-off-by: Richard Maw &lt;richard.maw@gmail.com&gt;
</content>
</entry>
<entry>
<title>Add a wrapper for get_sha1 called cgit_get_sha1</title>
<updated>2016-07-13T19:09:37Z</updated>
<author>
<name>Richard Maw</name>
<email>richard.maw@gmail.com</email>
</author>
<published>2016-06-25T19:23:51Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=b2ac89127af9dde5c3addbd3e00eedd9f498cfab'/>
<id>urn:sha1:b2ac89127af9dde5c3addbd3e00eedd9f498cfab</id>
<content type='text'>
This will later be changed to include namespace resolution,
but the call sites are changed now to keep the changes small.

Signed-off-by: Richard Maw &lt;richard.maw@gmail.com&gt;
</content>
</entry>
<entry>
<title>ui-shared: add homepage to tabs</title>
<updated>2016-02-22T17:40:13Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2016-02-22T15:04:15Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=5f2664f13c90f083b827d8fafa6cfc01c0c4f513'/>
<id>urn:sha1:5f2664f13c90f083b827d8fafa6cfc01c0c4f513</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>ui-atom: avoid DATE_STRFTIME</title>
<updated>2016-02-08T17:29:11Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-02-08T15:06:27Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=75298209bf8386656b82f185e2901690ac5b671c'/>
<id>urn:sha1:75298209bf8386656b82f185e2901690ac5b671c</id>
<content type='text'>
Git's DATE_STRFTIME ignores the timezone argument and just uses the
local timezone regardless of whether the "local" flag is set.

Since Atom accepts ISO8601 dates [1], we can use Git's
DATE_ISO8601_STRICT instead, which does get this right.  Additionally,
we never use the local timezone here so we can use the
date_mode_from_type() wrapper to simplify the code a bit.

[1] https://tools.ietf.org/html/rfc4287#section-3.3

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>Avoid DATE_STRFTIME for long/short dates</title>
<updated>2016-02-08T17:28:18Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-02-08T15:05:54Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=9c15f3c6954e43c5ffd36230e666eccf112803f2'/>
<id>urn:sha1:9c15f3c6954e43c5ffd36230e666eccf112803f2</id>
<content type='text'>
Git's DATE_STRFTIME ignores the timezone argument and just uses the
local timezone regardless of whether the "local" flag is set.

Since our existing FMT_LONGDATE and FMT_SHORTDATE are pretty-much
perfect matches to DATE_ISO8601 and DATE_SHORT, switch to taking a
date_mode_type directly in cgit_date_mode().

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>parsing: add timezone to ident structures</title>
<updated>2016-02-08T13:20:08Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-01-19T19:33:02Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=45c87ca1c32dcd5ffd4a681fadf05627d9ce7770'/>
<id>urn:sha1:45c87ca1c32dcd5ffd4a681fadf05627d9ce7770</id>
<content type='text'>
This will allow us to mimic Git's behaviour of showing times in the
originator's timezone when displaying commits and tags.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>ui-plain: add enable-html-serving flag</title>
<updated>2016-01-14T14:42:56Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2016-01-14T13:53:28Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=c326f3eb026d67650f79a6dda9a1a42c55d10a25'/>
<id>urn:sha1:c326f3eb026d67650f79a6dda9a1a42c55d10a25</id>
<content type='text'>
Unrestricts plain/ to contents likely to be executed by browser.
</content>
</entry>
<entry>
<title>ui-blob: Do not accept mimetype from user</title>
<updated>2016-01-14T13:31:13Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2016-01-14T13:31:13Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=1c581a072651524f3b0d91f33e22a42c4166dd96'/>
<id>urn:sha1:1c581a072651524f3b0d91f33e22a42c4166dd96</id>
<content type='text'>
</content>
</entry>
</feed>
