Pass commit hash as 'hb' for viewblob as well.
[viewgit.git] / doc / TODO
blobe230bb37d566c867fb858e754d88be4e67325c8b
1 - tree/blob
2         - further directory/file viewing links should retain full path from commit in 'f'
3         - main nav bar should show path "fragments" if present, and link to each
4 - header pagenav: bolden current selection
6 - commitdiff: after log, show changed files with section link to diff
7 - shortlog: accept branch/tag name as 'h'
8         - or in validate_hash()
10 - research whether git checkout can be made to work through viewgit
11         - If repos use git-update-server-info, could perhaps use internal rewrite to send requests to the .git directories
12                 - ^.*\.git$ -> redirect to .git dir
13         - alternatively, could generate the needed info on fly when client request comes
14         - should be configurable whether checkout can be done, and whether to show the checkout command on pages
16 - make sure stuff works when a commit has multiple parents (merge/octopus)
18 [Milestones]
19 - Public Launch (0.0.1?)
20         - a public demo
21         - must have a minimalistic but useful interface
22         - must have features planned as mandatory
23         - should be at least able to rival other similar projects (the PHP ones at least)
24         - validate generated pages
26         - sourceforge project
27         - website, tracked with Google Analytics
28         - freshmeat project page
29         - post link to <http://git.or.cz/gitwiki/Gitweb>
30         - announce on git list
31         - announce on viewsvn's news section
32         - link from viewsvn's page
33 - First fixes & new features based on feedback (0.0.2)
35 [features]
36 - ideas in nutshell
37         - free git repository viewer that is easy to install and does not have many dependencies
38         - depends: PHP5, git
39 - mandatory features (0.0.1)
40         - project list (configurable or from a root, using globs perhaps?)
41                 - DONE name, description (.git/description), action links
42         - DONE tar.gz snapshots of trees
43         - DONE shortlog
44         - root dir, under which all directories are shown on viewgit
45         - DONE tree browsing / downloading of individual files
46         - documentation: README/INSTALL, LICENSE, example config
47 - optional
48         - RSS feeds: projects, shortlog
49         - branches list?
50         - tag list
51 - don't mimic gitweb interface as it's a tad clunky
53 [misc]
54 - name?
55         - ViewGit
56                 - 3 google hits, none of a project
57                 - Not registered at: SourceForge, Freshmeat, BerliOS
59 - license?
60         - GPLv2 vs. GPLv3 vs. AGPLv3
61         - add clarification that linking to the original homepage is enough to provide source, as long as it's around
62         - when decided, state in the commit log that it holds retroactively for earlier commits?
63         - contributions should be licensed under aforementioned license "or any later version approved by" me (to allow upgrading to GPLv4 or whatever later?)
65 - bundle about page that says what the software is and where to download it
67 - other projects?
68         - <http://git.or.cz/gitwiki/Gitweb>
70 [low priority]
71 - full log page
72 - summary: show [MASTER] and so on if the given commit is a tag or a head
73 - commit: option to hide/scramble the e-mail
74 - archive: use ob_start/ob_length/ob_flush for creating archives so that Content-Length can be sent