| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
an uber-shell (called mmshell for now for lack of a better name). The reason
I'm doing this is because while I understand and still accept the reason for
it, I really hate having to re-run configure (or config.status) every time I
make a change to a bin script. mmshell looks at argv[0] to figure out which
Mailman.bin module to run.
Move newlist and rmlist to the new framework, but also, rewrite newlist to use
optparse instead of getopt. Much nicer. Also convert it to use $variables
for i18n even though the i18n._() function hasn't yet been updated to handle
these (it will soon). rmlist hasn't yet been optparse-ified, but that's soon
too. :)
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
the list is removed.
remove_it(): Local variable rename, and teach this about regular files.
Also, whitespace normalization and True/False where appropriate.
Note: we do not add the same logic to Mailman/Cgi/rmlist.py since we
don't want to remove locks that are going to get cleaned up by the cgi
anyway.
|
| | |
|
| |
|
|
|
|
| |
and cron scripts. When code/status == 0, there's no error (it's
likely --help output) so send that to stdout. Otherwise, it's an
error and the output goes to stderr.
|
| |
|
|
|
| |
even after a list has been deleted (it simply deletes any residual
archives not deleted the first time around).
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
into the script's #! line -- based on --with-python settings, without
losing CVS revision history.
#! /usr/bin/env python
becomes
#! @PYTHON@
which gets substituted for in configure.
|
| |
|
|
|
|
|
|
|
| |
remove_it(): Use the new Utils.rmdirhier() function instead of calling
'rm -r' through os.system().
main(): Create the MailList object (unlocked) which is passed to the
MTA-specific remove() function. Also, use a better idiom for
extending the REMOVABLES variable.
|
| |
|
|
| |
John Aughey.
|
| |
|
|
|
| |
Use extended print statement, string methods, and other Python 2.0
features.
|
| |
|
|
| |
usage text and exit. Closes SF bug #117098.
|
| |
|
|
|
|
| |
Specifically,
main(): the REMOVABLES are relative to VAR_PREFIX now.
|
| | |
|
| |
|
|
|
|
|
| |
insensitive. list_lists prints them out using their real name -- not
their internal name -- and they should differ only by case.
Closes SF bug #113742 and patch #101434.
|
| |
|
|
| |
the list.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- use getopt module to parse options
- include a module docstring describing usage
- include -h/--help option to print docstring
- support --archive (like -a)
- put all mainline code in a main() function
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
from $PATH
2. Remove RCS crud
Also, re-implemented in Python instead of Bourne shell. This makes it
easier to do path munging via import of paths module for better
integration with autoconf.
|
| | |
|
| |
|
|
| |
script, just a comment at the top) and __version__, $Source$ info.
|
| |
|
|
| |
for debugging sake.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
to give a list argument!!! Complain and bailout if no listname is
found. (Otherwise, when invoked without arguments, the script was
deleting the lists, templates, and archives directories *completely*.)
Additionally, do not delete the archives for a list unless the '-a'
option is passed. I figure its more often worth keeping the archives
around, even if the list is retired.
Additionally, indicate whether or not the subject directory is
actually there before deleting - some feedback, so users see whether
what they expect is happening...
|
| |
|