freebsd-dev/contrib/csup/TODO
2006-03-03 04:11:29 +00:00

35 lines
1.6 KiB
Plaintext

$FreeBSD$
BUGS:
- Fix every XXX in the code :-).
- The stream API needs some polishing. It needs proper error numbers
and a stream_error() function similar to the ferror() function.
- The yacc/lex code to parse the configuration file is sub-optimal. It
has global variables because of yacc, but I think it should be possible
to do it better by using YYFUNC_PROTOTYPE or something. I think it
should also be possible to completely get rid of the lex file.
- Some code uses getpwnam() while it should use the thread-safe variant,
getpwnam_r(). Same for getpwuid() and getgrgid(). We probably need a
UID/GID lookup cache here.
- The $Log$ CVS keyword is not supported.
- Add missing support for supfile keywords and add sanity checks for
some of them. Also, we're not supposed to choke on unknown keywords
to stay in line with CVSup, which just ignores them in order to
maintain compatibility with sup configuration files.
MISSING FEATURES:
- Add support for authentication.
- Add support for shell commands sent by the server.
- Add missing support for various CVSup options : -k, -d, -D,
-a (requires authentication support), -e and -E (requires shell
commands support) and the destDir parameter.
- For now, this code should build fine on FreeBSD, NetBSD, OpenBSD,
Linux and Darwin. Solaris support would also be nice at some point.
- Implement some new useful options : the ability to generate CVS
checkout files (files in CVS/ subdirectores), a command line override
to only update a specific collection and a third verbosity level to
display commit log messages.
- Add support for CVS mode (maybe?).