Package: gitweb Version: 1:1.4.4-2 Severity: wishlist Tags: patch Hello,
The example index generator does not support having a significant number of subdirectories full of repositories. X.org uses this model to manage the large number of repos it has, and the XSF is planning to do likewise. Attached is a patch to have the index generator look in subdirectories for repos, and add them to the index. Thank you! - David Nusinow -- System Information: Debian Release: 4.0 APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-1-686 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages gitweb depends on: ii git-core 1:1.4.4-2 content addressable filesystem ii perl 5.8.8-6.1 Larry Wall's Practical Extraction Versions of packages gitweb recommends: ii git-doc 1:1.4.4-2 content addressable filesystem (do -- no debconf information
diff -ur git-core-1.4.4/debian/examples/index.aux-generation git-core-1.4.4.mine/debian/examples/index.aux-generation --- git-core-1.4.4/debian/examples/index.aux-generation 2006-11-24 17:59:27.000000000 -0500 +++ git-core-1.4.4.mine/debian/examples/index.aux-generation 2006-11-24 18:01:12.000000000 -0500 @@ -15,7 +15,7 @@ for a in * ; do [ -r $a/public_git ] && [ ! -d /home/git/users/$a ] && ln -s /home/$a/public_git /home/git/users/$a ; done cd /home/git -ls */HEAD users/*/*/HEAD | grep ^[-./=+a-zA-Z0-9]*\$ | sed s:/HEAD\$:: | while read DIR ; do +find . -name 'HEAD' | grep ^[-./=+a-zA-Z0-9]*\$ | sed s:/HEAD\$:: | while read DIR ; do TREEUID=`stat -c %U $DIR` TREEUSERNAME=`grep ^$TREEUID: /etc/passwd | cut -f5 -d: | sed s/\ /+/` if [ "$TREEUSERNAME" = "" ]; then