<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit-70/shared.c, branch v0.2</title>
<subtitle>a fork of cgit with a Gopher interface</subtitle>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cgit-70/'/>
<entry>
<title>Read repo-info from /etc/cgitrc</title>
<updated>2007-02-04T20:47:46+00:00</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2007-02-03T14:02:55+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cgit-70/commit/?id=ce1c7336e5b3e3ebe8f8c9029c405aedec98c208'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add parameter to adjust max message length in log listings</title>
<updated>2007-01-28T11:17:03+00:00</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2007-01-28T11:17:03+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cgit-70/commit/?id=7dd50c98d73bf6c579b8ce5893739a2d0ffc00d5'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</content>
</entry>
<entry>
<title>WIP: add paths/backlinks to tree/blobview</title>
<updated>2007-01-11T23:46:17+00:00</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2007-01-11T23:46:17+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cgit-70/commit/?id=5cd2bf7e7f3f3daf6107cd3a269bad78e342de70'/>
<id>5cd2bf7e7f3f3daf6107cd3a269bad78e342de70</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Handle %xx encoding in querystring</title>
<updated>2007-01-04T15:57:00+00:00</updated>
<author>
<name>Lars Hjemli</name>
<email>larsh@hal-2004.(none)</email>
</author>
<published>2007-01-04T15:53:03+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cgit-70/commit/?id=52e605caf573fa20fdd4fbac5e1cc69b7740b1f5'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add generic support for search box in page header</title>
<updated>2006-12-28T01:01:49+00:00</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2006-12-28T01:01:49+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cgit-70/commit/?id=e39d738c39d37cdef115c145027f3eec85a62272'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add missing ttl-options in config</title>
<updated>2006-12-21T23:56:15+00:00</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2006-12-21T23:56:02+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cgit-70/commit/?id=378cae639849ba9f020666d1cf6dad6e08bfaf0e'/>
<id>378cae639849ba9f020666d1cf6dad6e08bfaf0e</id>
<content type='text'>
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add basic diff view</title>
<updated>2006-12-20T21:48:27+00:00</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2006-12-20T21:48:27+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cgit-70/commit/?id=36aba00273e7af1b94bf8c5dd5068709d983d01e'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Finally, xdiff is used to show per-file diffs via commit view.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add cgit_free_commitinfo() and use where needed</title>
<updated>2006-12-16T13:58:20+00:00</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2006-12-16T13:58:20+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cgit-70/commit/?id=aaa24bdd30303128bded8487cd9f63b54c3b8dcd'/>
<id>aaa24bdd30303128bded8487cd9f63b54c3b8dcd</id>
<content type='text'>
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add cache-root option to /cgit/rc</title>
<updated>2006-12-16T12:43:01+00:00</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2006-12-16T12:43:01+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cgit-70/commit/?id=61245ad18545ab09b22e9fcce5e49d5d36bf8176'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Somehow, this option was forgotten when parsing the configfile.

Add it.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add argument parsing + switch for uncached operation</title>
<updated>2006-12-16T12:38:45+00:00</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2006-12-16T12:33:32+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cgit-70/commit/?id=521dc7a4bf4af6115ffc3a94d447689bbaa22272'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</content>
</entry>
</feed>
