From lurker-users-bounces@lists.sourceforge.net Sat Apr 12 21:51:32 2008
Return-Path: <lurker-users-bounces@lists.sourceforge.net>
X-Spam-Checker-Version: SpamAssassin 3.1.7-deb (2006-10-05) on 
	server02.steindlberger.de
X-Spam-Level: 
X-Spam-Status: No, score=-2.4 required=3.8 tests=BAYES_00,DNS_FROM_RFC_ABUSE,
	SPF_PASS autolearn=no version=3.1.7-deb
Delivered-To: jonas@localhost
Received: from lists-outbound.sourceforge.net ([::ffff:66.35.250.225])
  by server02.steindlberger.de with esmtp; Sun, 13 Apr 2008 07:51:37 +0200
  id 00000000000062CF.0000000048019F6A.0000364D
Received: from sc8-sf-list1-new.sourceforge.net (sc8-sf-list1-new-b.sourceforge.net [10.3.1.93])
	by sc8-sf-spam2.sourceforge.net (Postfix) with ESMTP
	id 206ECFE77; Sat, 12 Apr 2008 22:51:37 -0700 (PDT)
Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92]
	helo=mail.sourceforge.net)
	by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43)
	id 1Jkv7m-0002OS-HE
	for lurker-users@lists.sourceforge.net; Sat, 12 Apr 2008 22:51:34 -0700
Received: from fieldcircus.milewski.org ([207.7.131.37])
	by mail.sourceforge.net with esmtp (Exim 4.44) id 1Jkv7l-00059t-Bg
	for lurker-users@lists.sourceforge.net; Sat, 12 Apr 2008 22:51:34 -0700
Received: from [192.168.1.117] (adsl-75-36-198-91.dsl.pltn13.sbcglobal.net
	[75.36.198.91])
	by fieldcircus.milewski.org (Postfix) with ESMTPSA id E9A6DDC002D
	for <lurker-users@lists.sourceforge.net>;
	Sat, 12 Apr 2008 22:51:32 -0700 (PDT)
Message-ID: <48019F64.5000003@milewski.org>
Date: Sat, 12 Apr 2008 22:51:32 -0700
From: Aleksandr Milewski <n6mod@milewski.org>
User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213)
MIME-Version: 1.0
To: lurker-users@lists.sourceforge.net
References: <48018388.9090001@milewski.org>
In-Reply-To: <48018388.9090001@milewski.org>
Subject: Re: [Lurker-users] lurker-regenerate fixes the segfaults, but...
X-BeenThere: lurker-users@lists.sourceforge.net
X-Mailman-Version: 2.1.8
Precedence: list
List-Id: Lurker Project Support <lurker-users.lists.sourceforge.net>
List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/lurker-users>, 
	<mailto:lurker-users-request@lists.sourceforge.net?subject=unsubscribe>
List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum_name=lurker-users>
List-Post: <mailto:lurker-users@lists.sourceforge.net>
List-Help: <mailto:lurker-users-request@lists.sourceforge.net?subject=help>
List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/lurker-users>,
	<mailto:lurker-users-request@lists.sourceforge.net?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: lurker-users-bounces@lists.sourceforge.net
Errors-To: lurker-users-bounces@lists.sourceforge.net
Status: RO
Content-Length: 1242
Lines: 31

Aleksandr Milewski wrote:
> ...still destroys the date on anything imported with -u.

So, I didn't realize that lurker-regenerate is just a script that's 
wrapped around lurker-index, and it calls it without -u, so of course 
this happens.

Now, the odd thing (dare I say 'bug'?) is that if you import a message 
with -u and lurker-index has to create a 'From ' line, it uses the 
import time in that 'From ' line even though you've explicitly told it 
to trust userdate instead.

As such, when you run regenerate, it clobbers the dates.

I'm not much of a programmer, but I'm now looking at the code to see if 
I can make it use the userdate if that's set.

Someone more familiar with the code could probably produce a patch in a 
matter of minutes.


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Lurker-users mailing list
Lurker-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lurker-users


