<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/shared.c, branch v0.2</title>
<subtitle>A hyperfast web frontend for git repositories written in C.</subtitle>
<id>http://git.cetero.st/cgit/atom/shared.c?h=v0.2</id>
<link rel='self' href='http://git.cetero.st/cgit/atom/shared.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>Add parameter to adjust max message length in log listings</title>
<updated>2007-01-28T11:17:03Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2007-01-28T11:17:03Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=7dd50c98d73bf6c579b8ce5893739a2d0ffc00d5'/>
<id>urn:sha1:7dd50c98d73bf6c579b8ce5893739a2d0ffc00d5</id>
<content type='text'>
The parameter "max-message-length" can be specified in cgitrc, default value
is 60.

This affects the log message shown in repo summary and shortlog.

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>Handle %xx encoding in querystring</title>
<updated>2007-01-04T15:57:00Z</updated>
<author>
<name>Lars Hjemli</name>
<email>larsh@hal-2004.(none)</email>
</author>
<published>2007-01-04T15:53:03Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=52e605caf573fa20fdd4fbac5e1cc69b7740b1f5'/>
<id>urn:sha1:52e605caf573fa20fdd4fbac5e1cc69b7740b1f5</id>
<content type='text'>
Convert valid %xx expressions in querystring to ascii, ignore invalid
expressions (i.e. eat the three characters %xx).

Signed-off-by: Lars Hjemli &lt;larsh@hal-2004.(none)&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 missing ttl-options in config</title>
<updated>2006-12-21T23:56:15Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2006-12-21T23:56:02Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=378cae639849ba9f020666d1cf6dad6e08bfaf0e'/>
<id>urn:sha1:378cae639849ba9f020666d1cf6dad6e08bfaf0e</id>
<content type='text'>
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>Add cgit_free_commitinfo() and use where needed</title>
<updated>2006-12-16T13:58:20Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2006-12-16T13:58:20Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=aaa24bdd30303128bded8487cd9f63b54c3b8dcd'/>
<id>urn:sha1:aaa24bdd30303128bded8487cd9f63b54c3b8dcd</id>
<content type='text'>
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Add cache-root option to /cgit/rc</title>
<updated>2006-12-16T12:43:01Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2006-12-16T12:43:01Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=61245ad18545ab09b22e9fcce5e49d5d36bf8176'/>
<id>urn:sha1:61245ad18545ab09b22e9fcce5e49d5d36bf8176</id>
<content type='text'>
Somehow, this option was forgotten when parsing the configfile.

Add it.

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>
