Todo List

Member sbuild::auth::authenticate ()
Use sysconf(_SC_HOST_NAME_MAX) when libc in a stable release supports it.

Member sbuild::auth::setupenv ()
Support custom filtering of the environment, rather than hardcoding. Use regular expressions. Also add additional per-chroot environment filtering, and an "environment-filter" option in the config file.

Member sbuild::chroot_config::add_config_directory (std::string const &dir, bool active)
Use dirstream instead of the POSIX directory functions.

Class sbuild::environment
Add filter to prevent addition of "unsafe" environment variables, use regex. This might be with a derived class (destructor would need to be virtual).

Member sbuild::error::format_error (A const &context1, B const &context2, C const &context3, error_type error, D const &detail1, E const &detail2)
Merge the logic shared between the two specialisations to prevent code duplication.

Member sbuild::keyfile::print_comment (std::string const &comment, std::ostream &stream)
Use split string or some general iterator/algorithm instead of custom string manipulation. This could be reused by log_exception_* functions and split_string.

Member sbuild::run_parts::wait_for_child (pid_t pid, int &child_status)
Use waitpid instead of wait.

Member sbuild::session::wait_for_child (pid_t pid, int &child_status)
Use waitpid instead of wait.

Member schroot_releaselock::main::action_releaselock ()
PID should be capitalised in the translated warning string.

File sbuild-i18n.h
Use dgettext in place of gettext for correct library use. This needs the message catalogue name storing in sbuild-config.h.

Member sbuild::split_string (std::string const &value, std::string const &separator)
Provide an alternative that splits the string in place using an iterator interface.

Generated on Sat Jan 27 16:12:20 2007 for schroot by  doxygen 1.5.1