<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/cgit.c, branch v0.8.3</title>
<subtitle>A hyperfast web frontend for git repositories written in C.</subtitle>
<id>http://git.cetero.st/cgit/atom/cgit.c?h=v0.8.3</id>
<link rel='self' href='http://git.cetero.st/cgit/atom/cgit.c?h=v0.8.3'/>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/'/>
<updated>2009-09-13T20:02:07Z</updated>
<entry>
<title>Merge branch 'lh/repo-scan'</title>
<updated>2009-09-13T20:02:07Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2009-09-13T20:02:07Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=92f6940975f6771f3a08d497c02575ee5bdc79da'/>
<id>urn:sha1:92f6940975f6771f3a08d497c02575ee5bdc79da</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cgit.c: respect repo-local 'snapshots' option for --scan-path</title>
<updated>2009-08-24T11:31:49Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2009-08-24T11:31:49Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=ee554849ac7209fa8f7486327ec9f3b370e4c876'/>
<id>urn:sha1:ee554849ac7209fa8f7486327ec9f3b370e4c876</id>
<content type='text'>
The repo-specific 'snapshots' option is bitwise AND'ed with the global
'snapshots' option during parsing, and since the global cgitrc hasn't
been parsed when --scan-path is processed the global 'snapshots' will
always be 0 (i.e. no repo-specific 'snapshots' setting will have any
effect).

This patch fixes the issue by setting the global 'snapshots' mask to
0xFF (hence relying on later parsing of the generated cgitrc repolist
to do the right thing).

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>cgit.c: only print first line of repo.desc in print_repo()</title>
<updated>2009-08-24T11:27:15Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2009-08-24T11:27:15Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=588fb8efc69778b85062e8fc2f482a8de43bad75'/>
<id>urn:sha1:588fb8efc69778b85062e8fc2f482a8de43bad75</id>
<content type='text'>
Since repo.desc might have been populated by reading the 'description'
file in GIT_DIR, it may contain newlines. And by printing the literal
value, we may then generate an invalid cgitrc include-file.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Add and use cgit_find_stats_periodname() in print_repo()</title>
<updated>2009-08-24T09:02:48Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2009-08-24T09:02:48Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=b47b7bd1d0fb872763214e674b53a562c7513fc0'/>
<id>urn:sha1:b47b7bd1d0fb872763214e674b53a562c7513fc0</id>
<content type='text'>
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>cgit.c: generate repo.snapshots in print_repo()</title>
<updated>2009-08-24T08:55:01Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2009-08-24T08:55:01Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=5ca8df0a3d75ba1ca5af28872977f7714b66ff37'/>
<id>urn:sha1:5ca8df0a3d75ba1ca5af28872977f7714b66ff37</id>
<content type='text'>
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>cgit.c: add missing options to print_repo()</title>
<updated>2009-08-24T08:22:59Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2009-08-24T08:22:21Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=3548320004512276ea0bbfe80b2ae9b5cc7e2c76'/>
<id>urn:sha1:3548320004512276ea0bbfe80b2ae9b5cc7e2c76</id>
<content type='text'>
Note: print_repo() still ignores repo.max-stats and repo.snapshots,
which both requires additional work since these settings are represented
internally as an enum and a bitmap.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Add config option 'enable-filter-overrides'</title>
<updated>2009-08-24T08:22:59Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2009-08-24T06:53:21Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=2273c2c821bfc77d492d7e97ae38f162d7fc91aa'/>
<id>urn:sha1:2273c2c821bfc77d492d7e97ae38f162d7fc91aa</id>
<content type='text'>
This option must be enabled if repo-specific cgitrc files should be
allowed to override any of the 'filter' options.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>ui-repolist: handle empty sections similar to NULL sections</title>
<updated>2009-08-24T08:22:58Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2009-08-24T05:42:03Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=e01229cf80bc618a132d2154c0ebd71792d31c64'/>
<id>urn:sha1:e01229cf80bc618a132d2154c0ebd71792d31c64</id>
<content type='text'>
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Add support for repo-local cgitrc file</title>
<updated>2009-08-24T08:22:58Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2009-08-23T22:04:58Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=74061ed5f03e72796450aa3b8ca1cf6ced5d59e2'/>
<id>urn:sha1:74061ed5f03e72796450aa3b8ca1cf6ced5d59e2</id>
<content type='text'>
When recursively scanning a directory tree looking for git repositories,
cgit will now parse cgitrc files found within such repositories.

The repo-specific config files can include any repo-specific options
except 'repo.url' and 'repo.path'. Also, in such config files the 'repo.'
prefix can not be used, i.e. the valid options then becomes:
* name
* clone-url
* desc
* ower
* defbranch
* snapshots
* enable-log-filecount
* enable-log-linecount
* max-stats
* module-link
* section
* about-filter
* commit-filter
* source-filter
* readme

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>cgit.c: refactor repo_config() from config_cb()</title>
<updated>2009-08-24T08:22:58Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2009-08-23T21:23:20Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=a1b3938f711c9b0e5eedad1678535e5779da82c1'/>
<id>urn:sha1:a1b3938f711c9b0e5eedad1678535e5779da82c1</id>
<content type='text'>
The new function repo_config() is used to handle all 'simple' repo
options, for the following reasons:
* code readability
* parser performance
* upcoming support for repo-local cgitrc files during scanning

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