summaryrefslogtreecommitdiff
path: root/bin/arch (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move arch, mmsitepass, and unshunt to the Mailman.bin package and rewrite tobwarsaw2006-04-281-200/+0
| | | | | | | | | | use optparse. Update newlist and rmlist to get their version string entirely from mm_cfg.MAILMAN_VERSION instead of having to build that string up each time. Fix the symlink source in the Makefile.in. Remove b4b5-archfix entirely.
* back port from 2.1.6 / adding new files.tkikuchi2005-08-281-0/+13
|
* FSF office has moved. chdcking in for MAIN branch.tkikuchi2005-08-271-1/+1
|
* main(): Long options --start and --end both take arguments. Fixes SF bugbwarsaw2003-04-061-1/+1
| | | | #671303.
* main(): Once we know which mailing list we're talking about, set thebwarsaw2002-12-121-0/+1
| | | | | | i18n language to its preferred language. This fixes the generated archives to the right language and also outputs the status messages in that language.
* Added a --wipe switch which deletes the generated html archivebwarsaw2002-12-021-3/+16
| | | | | | directory before regenerating. This is useful (but still not the default) since bin/arch's classic incremental mode is only helpful if generating the archive in chunks.
* Added a -q / --quiet option.bwarsaw2002-11-181-3/+9
|
* Jon Parise's patch to improve the usage() output for the command linebwarsaw2002-10-211-2/+6
| | | | | | 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.
* main(): processUnixMailbox() no longer takes an article classbwarsaw2002-10-091-2/+2
| | | | argument.
* Integrating SF patch #594771, i18n'ified pipermail.bwarsaw2002-10-081-6/+9
| | | | | | Set the default language to the server's default. Whitespace normalization.
* Dan Buchmann notices a redundancy in the usage string.bwarsaw2002-04-031-1/+1
|
* Add -s/--start and -e/--end switches to manually specify the start andbwarsaw2002-03-161-5/+36
| | | | | | end message numbers (counted from zero) with which to archive. This can be useful when re-archiving a huge .mbox file, even though you have to manually chunk it.
* Ben Gertzfield's patch to hardcode the path to the python executablebwarsaw2001-09-071-1/+1
| | | | | | | | | | | | | 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.
* Dang, the usual oversight.bwarsaw2001-07-261-1/+1
|
* main(): Use ArchiveFileName() instead of private_archive_file_dir tobwarsaw2001-07-261-4/+3
| | | | | | | | calculate the path to the .mbox file. Also, change the order of unlocking so that its the reverse of the locking order (i.e. unlock the archive lock first, then unlock the list).
* Start of support for i18n; marking of translatable strings.bwarsaw2000-12-071-10/+11
| | | | | Use extended print statement, string methods, and other Python 2.0 features.
* Make sure all scripts lowercase the list names, since they are casebwarsaw2000-09-111-1/+2
| | | | | | | 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.
* Some meager consistency in handling errors when trying to open thebwarsaw2000-04-041-2/+2
| | | | | | | | | | | | | | | | | | mailing list. In all cases, catch the base exception class MMListError, and output a semi-standard error message which also contains the str() of the actual exception details (is this too much?). Also: config_list: slightly different usage() printing find_member.scanlists(): print a message if a MMListError occurs when opening the mailing list object remove_members: Wrap actual DeleteMember() calls in a try/finally to be sure the list is saved and unlocked should an exception occur. Hmm, should it be all or nothing?
* Update the copyright lines to include the years 1999 & 2000.bwarsaw2000-03-211-1/+2
|
* main(): fixed name error for MMUnknownListError. Found by Jeffbwarsaw2000-02-221-1/+1
| | | | Berliner.
* Second argument is optional now, and if missing it is calculated.bwarsaw1999-11-251-4/+17
| | | | This makes it easier to invoke for most normal lists.
* small cut and paste typobwarsaw1999-08-211-1/+1
|
* Robustness changes. Specifically:bwarsaw1999-08-211-22/+84
| | | | | | | | | | | | | | | When processing the archive, lay claim to the archiver lock so that any posts that come in while the archiver is running will get blocked. This isn't optimal because we don't really know how long the archiver will run (I give it 3 hours max by default). HyperArchive.processUnixMailbox() should actually refresh() the lock while it's working. Also, the MailList object is locked too, although the lifetime is shorter. I wonder if this is still necessary? Use getopt module to process options. Added a docstring which becomes the usage message.
* Unpack of the wrong-size argument list yields a ValueError, not anklm1998-12-011-1/+1
| | | | | IndexError. (I left the IndexError on the exception list in case there's some other purpose to it...)
* Makefile.in: added arch script to integrate an mboxcotton1998-11-051-0/+52
bin/arch: script to integrate an mbox intove html archives. I'm hoping to extend the functionality of this script one day, hence the general name. scott