On October 25, 2002 at 09:10, Morgan Fletcher wrote:
Can I use 'make rebuild' to do just one list's archives? I've got two
currently, and I've used mbox-monthly-pack and 'make rebuild' to bring
over one list's seven years of archives. Now I'd like to potentially
bring over another list's archives, but I don't want to go through the
rebuild of the existing lists if I can help it.
Do:
make rebuild MLISTS='list-name'
BTW, a rebuild may not be necessary when importing new data. Once
you have imported the raw data under $MBOX_DIR, the following
should update your existing archives:
./bin/web-archive -verbose
Or, just wait for some new mail to arrive, and the imported data
will get processed then automatically. The web-archive script is
designed to check the modtimes on the mailbox files to determine what
mailbox should be processed. Therefore, when you did the import, the
"old" mailbox files under $MBOX_DIR will have recent modtimes, and
web-archive will add them to the list of mailbox files to be processed.
Rebuilding is generally only need to recover from corrupted archives.
BTW, the main Makefile just calls the various mharc scripts to execute
the targets you give it. For some tasks, it may be better to call
the scripts directly than using make. The two scripts I occasionally
do this for are web-archive and apply-config.
web-archive is the main script that converts the raw mailbox archives
into the HTML archives, and it also is used for maintenance operations
on the HTML archives. apply-config edits the .in files based on
config.sh settings. Check the docs for the manual pages for each
program.
'make rebuild' is still going, twelve hours later. This is on a
reasonably powerful netbsd system.
You must have alot of mail. Doing a complete rebuild of the
mhonarc.org archives does not take nearly that long, and it is running
on some older hardware.
--ewh
---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHARC-USERS