author | Jakub Narebski <jnareb@gmail.com> | |
Tue, 10 Jun 2008 17:21:01 +0000 (19:21 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 11 Jun 2008 06:57:36 +0000 (23:57 -0700) | ||
commit | 69913415655839b3add5d930ebbea1be8a5b60a9 | |
tree | dc4102d6fb505640cfc51524a6d0f87a3d543cbb | tree | snapshot |
parent | ea81e10ff4e31820407f4cb1b8ebd87de9e51737 | commit | diff |
gitweb: Separate filling list of projects info
Extract filling project list info, i.e. adding age, description, owner
and forks information, into fill_project_list_info() subroutine. This
is preparation for smart pagination and smart searching (to make it
possible to calculate/generate info only for those projects which will
be shown).
Small changes compared to original version to improve readability
(comments, names of variables, named loops).
Additionally, store both full ('descr_long') and shortened ('descr')
project description in Perl's internal form (using to_utf8).
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Extract filling project list info, i.e. adding age, description, owner
and forks information, into fill_project_list_info() subroutine. This
is preparation for smart pagination and smart searching (to make it
possible to calculate/generate info only for those projects which will
be shown).
Small changes compared to original version to improve readability
(comments, names of variables, named loops).
Additionally, store both full ('descr_long') and shortened ('descr')
project description in Perl's internal form (using to_utf8).
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/gitweb.perl | diff | blob | history |