gitosis/TODO.rst
Tommi Virtanen a30645db52 Remove TODO to create gitweb.conf, that would be a security issue.
Implementing it would mean user git could run perl code as www-data,
on most setups. Not good.
2007-11-15 22:04:22 +02:00

72 lines
2.1 KiB
ReStructuredText

===========
TODO list
===========
- let me have ~git owned by root:root
- gitosis-lint: check that the user account (e.g. ``git``) looks valid
- git-daemon-export-ok
- guard against *.pub files named -foo.pub or foo;bar.pub
- gitweb doesn't understand mappings, just visible/no,
physical and logical path are always the same
- maybe remove the whole mapping feature for good?
- maybe create symlink trees to make mappings visible in filesystem?
- use groups somehow to reduce typing for ``gitweb = yes``
- detect when repo actually ends in ``.git`` for ``projects.list``
(otherwise gitweb won't see it)
- unit test projects.list generation in run-hook
- ConfigParser does not guarantee ordering, rewrite all unit tests to
assume sorted, fix code to sort
- test with ssh://
- write description to a file, make REPO.git/description symlink to it
if it doesn't exist (thus not overwriting local changes)
- gitweb knows about cloneurl, handle like description
- gitweb knows about README.html, figure out how to generate from e.g.
README.rst in gitosis.git
- need to chgrp repositories www-data to make them accessible by gitweb
- allow using git-cvsserver?
- git-shell can now let users do cvs-compatible commits
- ponder GIT_AUTHOR_NAME etc
- move from log.foo("bar" % quux) to log.foo("bar", quux)
- can't trust "~"::
[0 tv@musti ~]$ sudo python -c 'import os; print os.path.expanduser("~")'
/home/tv
[0 tv@musti ~]$ sudo -H python -c 'import os; print os.path.expanduser("~")'
/root
- command line options
- gitosis init --repositories=
- gitosis init --config= (or whatever the option is elsewhere)
- gitosis init --home= (for testing)
- gitosis init --admin=username[@host]
- gitosis-run-hook has to be in PATH and PYTHONPATH before you can
push to gitosis-admin.git
- make generated gitosis.conf read-only to discourage editing
- maybe postprocess gitosis.conf to have a "# DO NOT EDIT" header?
- git enhancement: "git init" should output to stderr, not to stdout
- README says "when prompted", but those are INFO level log messages,
not shown by default