1
0

Add a 'stats' page to each repo

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 <hjemli@gmail.com>
Dieser Commit ist enthalten in:
Lars Hjemli
2008-12-06 17:38:19 +01:00
Ursprung 140012d7a8
Commit f86a23ff53
10 geänderte Dateien mit 497 neuen und 0 gelöschten Zeilen

8
ui-stats.h Normale Datei
Datei anzeigen

@@ -0,0 +1,8 @@
#ifndef UI_STATS_H
#define UI_STATS_H
#include "cgit.h"
extern void cgit_show_stats(struct cgit_context *ctx);
#endif /* UI_STATS_H */