<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/cgit.c, branch v0.2</title>
<subtitle>A hyperfast web frontend for git repositories written in C.</subtitle>
<id>http://git.cetero.st/cgit/atom/cgit.c?h=v0.2</id>
<link rel='self' href='http://git.cetero.st/cgit/atom/cgit.c?h=v0.2'/>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/'/>
<updated>2007-02-04T20:47:46Z</updated>
<entry>
<title>Read repo-info from /etc/cgitrc</title>
<updated>2007-02-04T20:47:46Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2007-02-03T14:02:55Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=ce1c7336e5b3e3ebe8f8c9029c405aedec98c208'/>
<id>urn:sha1:ce1c7336e5b3e3ebe8f8c9029c405aedec98c208</id>
<content type='text'>
This makes cgit read all repo-info from the configfile, instead of scanning for
possible git-dirs below a common root path. This is primarily done to get
better security (separate physical path from logical repo-name).

In /etc/cgitrc each repo is registered with the following keys:

repo.url
repo.name
repo.path
repo.desc
repo.owner

Note:

*Required keys are repo.url and repo.path, all others are optional
*Each occurrence of repo.url starts a new repository registration
*Default value for repo.name is taken from repo.url
*The value of repo.url cannot contain characters with special meaning for
 urls (i.e. one of /?%&amp;), while repo.name can contain anything.

Example:

repo.url=cgit-pub
repo.name=cgit/public
repo.path=/pub/git/cgit
repo.desc=My public cgit repo
repo.owner=Lars Hjemli

repo.url=cgit-priv
repo.name=cgit/private
repo.path=/home/larsh/src/cgit/.git
repo.desc=My private cgit repo
repo.owner=Lars Hjemli

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>WIP: add paths/backlinks to tree/blobview</title>
<updated>2007-01-11T23:46:17Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2007-01-11T23:46:17Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=5cd2bf7e7f3f3daf6107cd3a269bad78e342de70'/>
<id>urn:sha1:5cd2bf7e7f3f3daf6107cd3a269bad78e342de70</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove troublesome chars from cachefile names</title>
<updated>2007-01-11T23:24:35Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2007-01-11T23:24:35Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=2c2047ff67a1e0053f95776e5079e432f69cea54'/>
<id>urn:sha1:2c2047ff67a1e0053f95776e5079e432f69cea54</id>
<content type='text'>
Add a funtion cache_safe_filename() which replaces possibly bad filename
characters with '_'.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Move cache_prepare() to cgit</title>
<updated>2007-01-11T23:00:15Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2007-01-11T23:00:15Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=83a5f35a2724ee60bfd8c5679b98da7008272254'/>
<id>urn:sha1:83a5f35a2724ee60bfd8c5679b98da7008272254</id>
<content type='text'>
This moves some cgit-specific stuff away from cache.c

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Use TTL-settings even in nocache mode</title>
<updated>2007-01-05T17:18:58Z</updated>
<author>
<name>Lars Hjemli</name>
<email>larsh@hal-2004.(none)</email>
</author>
<published>2007-01-05T17:18:58Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=a6a11125283cd159bbd22e4e3c619bccad1162df'/>
<id>urn:sha1:a6a11125283cd159bbd22e4e3c619bccad1162df</id>
<content type='text'>
In nocace mode an uninitialized ttl-setting was used to generate http-Expires
header. Fix it.

Signed-off-by: Lars Hjemli &lt;larsh@hal-2004.(none)&gt;
</content>
</entry>
<entry>
<title>Add basic log filtering</title>
<updated>2006-12-28T01:45:28Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2006-12-28T01:45:28Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=732d68d240b95dc428c92fc94bce9adb8912094e'/>
<id>urn:sha1:732d68d240b95dc428c92fc94bce9adb8912094e</id>
<content type='text'>
This enables case-insensitive grep on logentris using the new search box

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Add generic support for search box in page header</title>
<updated>2006-12-28T01:01:49Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2006-12-28T01:01:49Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=e39d738c39d37cdef115c145027f3eec85a62272'/>
<id>urn:sha1:e39d738c39d37cdef115c145027f3eec85a62272</id>
<content type='text'>
This adds the ability to show a search box in any pageheader with correct href and
hidden form data, but does not enable the box on any pages.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Add basic diff view</title>
<updated>2006-12-20T21:48:27Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2006-12-20T21:48:27Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=36aba00273e7af1b94bf8c5dd5068709d983d01e'/>
<id>urn:sha1:36aba00273e7af1b94bf8c5dd5068709d983d01e</id>
<content type='text'>
Finally, xdiff is used to show per-file diffs via commit view.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Allow relative paths for cgit_cache_root</title>
<updated>2006-12-16T12:55:58Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2006-12-16T12:55:58Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=7c849d94ec1cfecdec5a88d49f5af5c98f96ebca'/>
<id>urn:sha1:7c849d94ec1cfecdec5a88d49f5af5c98f96ebca</id>
<content type='text'>
Make sure we chdir(2) back to the original getcwd(2) when a page
has been generated. Also, if the cgit_cache_root do not exist,
try to create it.

This is a feature intended to ease testing/debugging.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Add argument parsing + switch for uncached operation</title>
<updated>2006-12-16T12:38:45Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2006-12-16T12:33:32Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=521dc7a4bf4af6115ffc3a94d447689bbaa22272'/>
<id>urn:sha1:521dc7a4bf4af6115ffc3a94d447689bbaa22272</id>
<content type='text'>
This adds support for the following options to cgit:
  --root=&lt;path&gt;
  --cache=&lt;path&gt;
  --nocache
  --query=&lt;querystring&gt;
  --repo=&lt;reponame&gt;
  --page=&lt;pagename&gt;
  --head=&lt;branchname&gt;
  --sha1=&lt;sha1&gt;
  --ofs=&lt;number&gt;

On startup, /etc/cgitrc is parsed, followed by argument parsing and
finally querystring parsing.

If --nocache is specified (or set in /etc/gitrc), caching is disabled and
cgit instead generates pages to stdout.

The combined effect of these two changes makes testing/debugging a lot
less painfull.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
</feed>
