Download raw body.
gotwebd: reduce the number of tags shown on the summary page
like D_MAXSLCOMMDISP this is not yet customizable via gotwebd.conf, but showing less tags by default on the summary page, as suggested by stsp on irc, seems a good idea to me. diff /home/op/w/got commit - 89f6914cfb2489a403b5b126d58861ae83956d6d path + /home/op/w/got blob - 48e5696942f0483cf0bac6ae07df6e03d218ee3e file + gotwebd/gotweb.c --- gotwebd/gotweb.c +++ gotwebd/gotweb.c @@ -352,7 +352,7 @@ gotweb_process_request(struct request *c) if (error) goto err; qs->action = TAGS; - error = got_get_repo_tags(c, D_MAXSLCOMMDISP); + error = got_get_repo_tags(c, D_MAXSLTAGDISP); if (error) { log_warnx("%s: got_get_repo_tags: %s", __func__, error->msg); blob - 4efd134dfaaf502699cb7769db9b07549b2ee41b file + gotwebd/gotwebd.h --- gotwebd/gotwebd.h +++ gotwebd/gotwebd.h @@ -79,6 +79,7 @@ #define D_MAXREPODISP 25 #define D_MAXSLCOMMDISP 10 #define D_MAXCOMMITDISP 25 +#define D_MAXSLTAGDISP 3 #define BUF 8192
gotwebd: reduce the number of tags shown on the summary page