delete archives from web admin pages

Bug #595766 reported by NC
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman
New
Undecided
Unassigned

Bug Description

To Whom It May Concern:

This is not really a bug but didn't know where to place it. I would like a web interface for the admin pages to delete the HTML and List Archives. having to go through 50 different command line scripts to delete an archive is a pain.

Revision history for this message
Mark Sapiro (msapiro) wrote :

This is the right place for a feature request such as this, but for clarification, do you want to be able to delete a list's entire archive or do you want to be able to delete individual messages from a list's archive or both?

Revision history for this message
NC (deuce135) wrote :

It would actually be a great idea to be able to delete both individual archive items as sometimes we have duplicate or even triplicate messages with in the archive and as well as delete whole archives so that the archive is not wasting valuable disk space. currently in my server i delete the HTML archives but it still shows a list of archives from 2008 in the HTML archive list.

Revision history for this message
Mark Sapiro (msapiro) wrote :

> currently in my server i delete the HTML archives but it still shows
> a list of archives from 2008 in the HTML archive list.

Are you trying to delete just older messages leaving the most recent ones and continuing to archive? If so, and if you don't mind the message numbers and hence URLs of the recent messages changing, you can do the following:

If you have say 5000 total messages in the cumulative archives/private/listname.mbox/listname.mbox file, and you want to keep only the most recent 500 for the HTML archive, just do

  bin/arch --wipe --start=4500 listname

This will recreate the table of contents with only the current messages.

If you want to empty the archive completely, you can do

  bin/arch --wipe listname /dev/null

And this will give you the "no messages have been posted" table of contents until a new post is archived.

Revision history for this message
james (fdgwjames) wrote : Re: [Bug 595766] Re: delete archives from web admin pages

Hi,
This has nothing to do with me! I never mentioned deleting messages!
Must be someone else...
What I was trying to make out was why my mouse responds when I boot,
and then stops responding for 3 minutes after launching 10.04 in the
dual boot menu. The desk with all the applications is there, but the
mouse remains inoperational for three minutes...Any idea? Is it a bug I
reinstalled 10.04 several times.
When I boot Win7, the mouse responds perfectly normally...
If I should not post here, let me know where I should. I found nothing
on the forums.
Thanks a lot

On 06/18/2010 08:28 PM, Mark Sapiro wrote:
>> currently in my server i delete the HTML archives but it still shows
>> a list of archives from 2008 in the HTML archive list.
>>
> Are you trying to delete just older messages leaving the most recent
> ones and continuing to archive? If so, and if you don't mind the message
> numbers and hence URLs of the recent messages changing, you can do the
> following:
>
> If you have say 5000 total messages in the cumulative
> archives/private/listname.mbox/listname.mbox file, and you want to keep
> only the most recent 500 for the HTML archive, just do
>
> bin/arch --wipe --start=4500 listname
>
> This will recreate the table of contents with only the current messages.
>
> If you want to empty the archive completely, you can do
>
> bin/arch --wipe listname /dev/null
>
> And this will give you the "no messages have been posted" table of
> contents until a new post is archived.
>
>

--

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.