[Lxr-general] Long list of versions
Brought to you by:
ajlittoz
From: Jan-Benedict G. <jb...@lu...> - 2006-11-25 09:55:29
|
Hi! While reworking the GIT backend, I implemented this function to get all its tags and display it in the Version list: 'range' =3D> sub { my $some_dir=3D"/home/jbglaw/lxr-git-test/linux-2.6/.git/refs/tag= s"; opendir (DIR, $some_dir) || die "cannot opendir $some_dir: $!"; my @files =3D grep { -f "$some_dir/$_" } readdir (DIR); closedir DIR; return sort @files; }, With Linus's current GIT tree, this results in nearly 60 tags and thus in quite some space consumption on the screen. I'd propose to rework the variable stuff to not display all values, but to display one drop-down per variable and a submit button (as well as place some little java script to automatically try to submit upon value change.) What do you think about this? MfG, JBG --=20 Jan-Benedict Glaw jb...@lu... +49-172-7608481 Signature of: Zensur im Internet? Nein danke! the second : |