From: Jakub Narebski <jnareb@gmail.com>
To: git@vger.kernel.org
Subject: [RFC] gitweb wishlist and TODO list
Date: Tue, 20 Jun 2006 18:51:18 +0200 [thread overview]
Message-ID: <e79921$u0e$1@sea.gmane.org> (raw)
I am planning on copying features from xmms2's gitweb version
to git's gitweb, and introducing new ones.
My gitweb can be seen at http://front.fuw.edu.pl/cgi-bin/jnareb/gitweb.cgi
Fetch from http://front.fuw.edu.pl/jnareb/scm/git.git/ (not checked!)
* HTML cleanup - ongoing process of replacing embedded style information
with CSS styling, adding classes and ids to elements. This is independent
on other changes. On top of 'next', as it needs style in separate CSS
file gitweb.css.
* Storing site-wide gitweb configuration in separate gitweb.conf file.
Needs GIT_CONFIG patch. Not implemented yet.
Bootstrapping: gitweb would need location of configuration file.
Has to be changed in gitweb.cgi itself. Additionally gitexecdir or
git in PATH is needed to be able to run git-repo-config to read config;
the solution might be home-grown "parser" to find gitexecdir only.
Both could be set from Makefile at install stage.
* Add git fetch URL to the project page from gitweb-xmms2. Needs site-wide
base_url, which need not to be set as there is sane default: use base
of gitweb URL.
Is it useful to allow repository configuration to override it?
* Support for categories from gitweb-xmms2. We can alternatively use
directory structure of git projects displayed by gitweb as categories.
Needs I think some site-wide configuration.
Question: where store categories? .git/category, like .git/description?
Use gitweb.category key? If yes, do convert description to repository key,
or perhaps use gitweb.descriptionfile? What should be priority of those
options if both are set: use repo-config for short (in project listing
and in page footer), and from file for long description on project page?
What if they don't match?
* Refactor dispatch from if...elsif...else construction
to using 'name' => \&sub hash.
* Refactor generation of navigation bar. There are at least two
implementations of that. With hash dispatch it would be easy to
list all possibilities.
* Add (of course optional, like blame support) snapshot support. There are
at least two different implementations. I'd prefer to do without second
CGI script, but perhaps this is better from the performance point of view.
gitweb-xmms2 has snapshot.cgi in Python: should it be rewritten in Perl?
* Code highlighting for plain view for blobs. gitweb-xmms2 did that using
GNU highlight program and some embedded configuration (filename regexp to
syntax used). More generic: run some post-processing. Configurable
globally (perhaps separate "syntax type" filename or file magic mapping),
and enabled per repository (default off).
* gitweb-xmms2 has something called committags support: it means that
'BUG(n)', 'FEATURE(n)' and 'RELEASE: xx' in commit message are turned into
bugtracker (Mantis for xmms2) or wiki links. It is extension of turning
sha1-ids into references. Probably needs some extra configuration file,
and some per repository configuration. Of course we want to support not
only Mantis, but also e.g. Bugzilla (e.g. Linux kernel) and conventions
for marking bugs therein.
* gitweb-xmms2 has also etags based anchors to mark function definitions
in blob view. I'm not sure it would be that usefull. LXR equivalent,
perhaps...
Which of those should be implemented first?
Any further ideas for other useful features?
--
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
next reply other threads:[~2006-06-20 16:52 UTC|newest]
Thread overview: 69+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-20 16:51 Jakub Narebski [this message]
2006-06-20 17:33 ` [RFC] gitweb wishlist and TODO list Carl Worth
2006-06-20 17:46 ` Jakub Narebski
2006-06-20 17:55 ` Petr Baudis
2006-06-20 18:34 ` Jakub Narebski
2006-06-20 18:40 ` Petr Baudis
2006-06-21 14:52 ` Jakub Narebski
2006-06-20 19:33 ` Martin Langhoff
2006-06-20 19:56 ` Jakub Narebski
2006-06-20 21:17 ` Martin Langhoff
2006-07-01 10:35 ` Paul Mackerras
2006-06-21 13:05 ` Dennis Stosberg
2006-06-21 13:07 ` [PATCH 1/3] gitweb: Declare global variables with "our" Dennis Stosberg
2006-06-21 13:08 ` [PATCH 2/3] Add a parameter to specify the repository path Dennis Stosberg
2006-06-21 13:09 ` [PATCH 3/3] gitweb: Use --git-dir parameter instead of setting $ENV{'GIT_DIR'} Dennis Stosberg
2006-06-21 13:33 ` Timo Hirvonen
2006-06-21 13:42 ` Jakub Narebski
2006-06-21 13:30 ` [RFC] gitweb wishlist and TODO list Jakub Narebski
2006-06-22 10:00 ` Dennis Stosberg
2006-06-22 14:47 ` Ryan Anderson
2006-06-21 16:45 ` Ryan Anderson
2006-06-21 17:36 ` Jakub Narebski
2006-06-20 19:46 ` Junio C Hamano
2006-06-20 20:10 ` Petr Baudis
2006-06-20 20:59 ` Jakub Narebski
2006-06-20 21:25 ` Petr Baudis
2006-06-20 21:53 ` Thomas Glanzmann
2006-06-21 8:56 ` Josef Weidendorfer
2006-06-21 9:15 ` Jakub Narebski
2006-06-21 9:57 ` Josef Weidendorfer
2006-06-21 13:53 ` Jakub Narebski
[not found] ` <200606211802.41071.Josef.Weidendorfer@gmx.de>
2006-06-21 16:38 ` Jakub Narebski
2006-06-21 20:35 ` Josef Weidendorfer
2006-06-22 9:01 ` Jakub Narebski
2006-06-22 9:14 ` Junio C Hamano
-- strict thread matches above, loose matches on Subject: below --
2006-09-02 16:17 Jakub Narebski
2006-09-02 18:10 ` Marco Costalba
2006-09-02 19:29 ` Jakub Narebski
2006-09-03 4:26 ` Marco Costalba
2006-09-03 9:27 ` Jakub Narebski
2006-09-03 11:10 ` Marco Costalba
2006-09-03 11:24 ` Jakub Narebski
2006-09-08 0:44 ` Jakub Narebski
2006-09-08 1:16 ` Junio C Hamano
2006-09-08 9:11 ` Jakub Narebski
2006-09-03 11:52 Jakub Narebski
2006-09-03 12:18 ` Marco Costalba
2006-09-03 12:38 ` Jakub Narebski
2006-10-09 12:49 Jakub Narebski
2006-10-10 1:47 ` Luben Tuikov
2006-10-10 8:54 ` Jakub Narebski
2006-10-11 5:52 ` Junio C Hamano
2006-10-11 9:20 ` Jakub Narebski
2006-10-12 10:03 ` Junio C Hamano
2006-10-13 19:55 ` Jakub Narebski
2006-10-11 15:09 ` Jakub Narebski
2006-10-11 23:05 ` Jakub Narebski
2008-04-25 13:14 Jakub Narebski
2008-09-25 10:30 Jakub Narebski
2008-09-25 11:08 ` Pedro Melo
2008-09-25 12:23 ` Jakub Narebski
2008-09-25 14:45 ` Pedro Melo
2008-09-25 21:23 ` Jakub Narebski
2008-09-25 13:19 ` Wincent Colaiuta
2008-09-25 13:33 ` Petr Baudis
2008-09-25 15:41 ` Jakub Narebski
2008-09-28 10:01 ` Jakub Narebski
2008-09-28 21:18 ` Petr Baudis
2008-10-01 8:40 ` Ask Bjørn Hansen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='e79921$u0e$1@sea.gmane.org' \
--to=jnareb@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.