| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Jr, after much checking and rechecking (and some massaging) by me. Checking
in now before I fall asleep and forget what all this was for.
This patch adds the ability to 'make DESTDIR=/some/dir/tree install' that
doesn't influence the paths stored in e.g. Defaults.py at all, which is of
good use for various package managers. It is not all that package managers
must do, however! Running make install with DESTDIR set means bin/update is
never run, and mm_cfg.py is always written; package managers should make
sure the appropriate post-installation is done, and that mm_cfg.py is
treated as a config file.
This patch inadvertently fixes some bogus whitespace: 8-spaces where
surrounding code used tabs. The difference was harmless because the 8-spaces
were used inside shell-continued-oneliners, but it is confusing and could
lead to future harm. I'm too tired to make those two or three changes in a
separate checkin, sorry.
This patch also assumes the various packages that are installed using
distutils do not record (or rather, use) their installation paths anywhere,
but this seems to hold true at least for the moment.
Also, I've done so many slow cvs diff's, I'm wondering when we'll switch to
Subversion. Unfortunately, I've also done so many 'cvs diff -c > file; patch
-p0 -R < file's to switch back and forth between patches and change sets,
I'm wondering when we'll switch to Aegis as well. :-P
|
|
|
unmaintainable) MailCommandHandler.py file, we've now got a framework
where each command is implemented in a separate file. This means it's
both more extensible and more flexible:
- you can easily add new commands for things I haven't thought of
<wink>, and the `help' command will automatically adjust
- you can disable commands entirely by removing the appropriate file
- you can disable, change, or add commands on a per-list (or even
per-message or per-sender) basis
CommandRunner.py is the module that calls into this framework. Each
command is implemented as a cmd_<command>.py file. The `set' command
is the most complicated. The help text is currently implemented as
module docstrings (for most commands), so the i18n catalogs must be
updated. Also the help.txt files will be updated.
|