<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/ui-stats.h, branch ch/cgitrc</title>
<subtitle>🍴 My patches to cgit
</subtitle>
<id>https://git.ache.one/cgit/atom?h=ch%2Fcgitrc</id>
<link rel='self' href='https://git.ache.one/cgit/atom?h=ch%2Fcgitrc'/>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/'/>
<updated>2015-03-09T16:40:02Z</updated>
<entry>
<title>ui-stats: make cgit_period definitions 'static const'</title>
<updated>2015-03-09T16:40:02Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2015-03-08T16:32:23Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=bd9fb0324d776aa5583a70a6125fce47697701b1'/>
<id>urn:sha1:bd9fb0324d776aa5583a70a6125fce47697701b1</id>
<content type='text'>
These definitions should not be modified (and never are) so we can move
them to .rodata.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>Switch to exclusively using global ctx</title>
<updated>2014-01-16T23:44:54Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>cgit@cryptocrack.de</email>
</author>
<published>2014-01-15T20:53:15Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=f60ffa143cca61e9729ac71033e1a556cf422871'/>
<id>urn:sha1:f60ffa143cca61e9729ac71033e1a556cf422871</id>
<content type='text'>
Drop the context parameter from the following functions (and all static
helpers used by them) and use the global context instead:

* cgit_print_http_headers()
* cgit_print_docstart()
* cgit_print_pageheader()

Remove context parameter from all commands

Drop the context parameter from the following functions (and all static
helpers used by them) and use the global context instead:

* cgit_get_cmd()
* All cgit command functions.
* cgit_clone_info()
* cgit_clone_objects()
* cgit_clone_head()
* cgit_print_plain()
* cgit_show_stats()

In initialization routines, use the global context variable instead of
passing a pointer around locally.

Remove callback data parameter for cache slots

This is no longer needed since the context is always read from the
global context variable.

Signed-off-by: Lukas Fleischer &lt;cgit@cryptocrack.de&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='https://git.ache.one/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>ui-stats: replace 'enable-stats' setting with 'max-stats'</title>
<updated>2008-12-07T12:17:21Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2008-12-07T12:17:21Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=fb2f3f6c29bad733723152893c5246a756e4cada'/>
<id>urn:sha1:fb2f3f6c29bad733723152893c5246a756e4cada</id>
<content type='text'>
The new 'max-stats' and 'repo.max-stats' settings makes it possible to
define the maximum statistics period, both globally and per repo. Hence,
it is now feasible to allow statistics on repositories with a high commit
frequency, like linux-2.6, by setting repo.max-stats to e.g. 'month'.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Add a 'stats' page to each repo</title>
<updated>2008-12-06T16:38:19Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2008-12-06T16:38:19Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=f86a23ff537258d36bf8f1876fa7a4bede6673d8'/>
<id>urn:sha1:f86a23ff537258d36bf8f1876fa7a4bede6673d8</id>
<content type='text'>
This new page, which is disabled by default, can be used to print some
statistics about the number of commits per period in the repository,
where period can be either weeks, months, quarters or years.

The function can be activated globally by setting 'enable-stats=1' in
cgitrc and disabled for individual repos by setting 'repo.enable-stats=0'.

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