gitweb: Create Gitweb::Util modulegitweb/split
commit0154372c554b52b8a34e726f060b7640d5fd7c84
authorPavan Kumar Sunkara <pavan.sss1991@gmail.com>
Mon, 5 Mar 2012 20:49:30 +0000 (5 21:49 +0100)
committerJakub Narebski <jnareb@gmail.com>
Mon, 5 Mar 2012 20:49:30 +0000 (5 21:49 +0100)
tree6244edc4534c86c5b6caa6ecf985df64cc90e756
parent94c70349528129b3741285e6e2c0718fd3ae5e0e
gitweb: Create Gitweb::Util module

Create a Gitweb::Util module, which is meant to contain internal
utilities used by gitweb.  Currently it includes all the
quoting/unquoting and escaping subroutines that are used by the
gitweb, HTML-aware string manipulation subroutines, and some file
and filesystem operations.

The intent is to include in Gitweb::Util subroutines and variables
that do not require git or gitweb knowledge.

Update gitweb/Makefile to install Gitweb::Util module alongside
gitweb.

This was sort of part of [unfinished] Google Summer of Code 2010
project "Splitting gitweb and developing write functionalities
(Integrated web client for git)" by Pavan Kumar Sunkara, mentored by
Christian Couder and co-mentored by Petr Baudis.

[This reduces size of gitweb.perl by around 5%]

Signed-off-by: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
gitweb/Makefile
gitweb/gitweb.perl
gitweb/lib/Gitweb/Util.pm [new file with mode: 0755]