commit 6f5f3c4aa5b8e4bc8925aa28fff8bd0ebddc0156 Author: Alberto Bertogli Date: Sun Mar 10 00:11:41 2013 +0000 Add a post-receive hook This patch adds a post-receive hook that can be used to trigger a git-arr update when there is a push to a repository. Signed-off-by: Alberto Bertogli commit c72278c97c15f30fb9cbcdcdd4c4fb84889a6b60 Author: Alberto Bertogli Date: Sun Mar 10 00:32:15 2013 +0000 Allow calling the executable from any directory When the tool is invoked like /path/to/git-arr, it currently fails because both the serving of static files and bottle templates assume they're on the current working directory. This patch fixes that by computing the directories based on the executable location. Note this is assuming the static directory and the templates live next to the executable, which will not always be the case, and eventually it should be configurable; but it's ok for the time being. Signed-off-by: Alberto Bertogli commit 18e8599bfa9dfcfef219ead9b655154fb729c1d7 Author: Alberto Bertogli Date: Fri Nov 30 13:50:23 2012 +0000 Use "cloneurl" as a default for git_url This patch makes git_url have the same default as gitweb. Signed-off-by: Alberto Bertogli commit c303c30755b917c1377b831f2d37abf7841824c8 Author: Alberto Bertogli Date: Mon Nov 26 23:55:40 2012 +0000 Fix the "--only" option This patch fixes the --only option, and makes it avoid generating the top-level index so we don't get a broken one with only the specified repositories. The intention is that this option is used in hooks to update the views after a commit or push. Signed-off-by: Alberto Bertogli commit 9ec2bde5c45c64f7fac432dbd3f23a1883d2b594 Author: Alberto Bertogli Date: Mon Nov 26 23:29:08 2012 +0000 Only guess the lexer if the file starts with "#!" The lexer guesser based on content is often wrong; to minimize the chances of that happening, we only use it on files that start with "#!", for which it usually has smarter rules. Signed-off-by: Alberto Bertogli