Re: [Mailman-Users] htDig in 2.0.7

2001-11-27 Thread Richard Barrett

At 17:03 26/11/2001 -0800, Marc MERLIN wrote:
On Mon, Nov 26, 2001 at 07:50:46PM +0100, Andre Dieball wrote:
  Hi
 
  I'm trying to install htdig with Mailman 2.0.7.
 
  I saw, that there are several patches available for that, but all of
  them are for 2.0.6

The changes between .6 and .7 should be so minor that the patch should apply
as is.

The versions of these patches for MM 2.0.6 can be applied without problems 
to MM 2.0.7. I've added a comment to the patches on sourceforge to that effect.

http://sourceforge.net/tracker/index.php?func=detailaid=444879group_id=103atid=300103

http://sourceforge.net/tracker/index.php?func=detailaid=444884group_id=103atid=300103

BTW, I had to apply this patch for htdig to work on my system:

Presumably this was because the value of DEFAULT_URL set in either 
Default.py or mm_cfg.py on the system used the 'https' addressing scheme. 
If the DEFAULT_URL on a system uses the 'http' addressing scheme this patch 
shouldn't be necessary.

--- HyperArch.pyTue Oct  9 17:38:33 2001
+++ /var/local/mailman/Mailman/Archiver/HyperArch.pyMon Oct 15 
18:48:13 2001
@@ -810,6 +810,8 @@
  upath = os.path.join(mm_cfg.HTDIG_ARCHIVE_URL, listname)
  ## for some reason when I add index.html to the following URL, run fails ??
  starturl = self.maillist.GetScriptURL('htdig') + '/'
+   # some servers have https, but htdig doesn't dig that :-) -- Marc
+   starturl = re.sub(^https, http, starturl)
  # htdig MUST go via the file system to generate its indices so
  # we need the url which maps to the list's private archive
  urlpath = starturl

Due to some additional lines added to HyperArch.py in the latest version of 
patch 444884 (file htdig-2.0.6-03.patch) applying the above patch changing 
'https' to 'http' will generate a warning - something like Hunk #1 
succeeded at 829 with fuzz 1 (offset 19 lines). - but the patch succeeds.


Marc
--


--
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users



Re: [Mailman-Users] htDig in 2.0.7

2001-11-27 Thread Bill Moseley

At 07:50 PM 11/26/01 +0100, Andre Dieball wrote:
I'm trying to install htdig with Mailman 2.0.7.

Swish-e can also be used.  Take a look at the archive search page at:

  http://www.swish-e.org/Discussion/search/swish.cgi

That's indexing a hypermail archive, which I assume is very similar to
pipermail.

There's about 3000 emails in that archive.  It takes about 20 seconds for
swish to create the index.



Bill Moseley
mailto:[EMAIL PROTECTED]

--
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users



Re: [Mailman-Users] htDig in 2.0.7

2001-11-26 Thread Marc MERLIN

On Mon, Nov 26, 2001 at 07:50:46PM +0100, Andre Dieball wrote:
 Hi
 
 I'm trying to install htdig with Mailman 2.0.7.
 
 I saw, that there are several patches available for that, but all of
 them are for 2.0.6

The changes between .6 and .7 should be so minor that the patch should apply
as is.

BTW, I had to apply this patch for htdig to work on my system:
--- HyperArch.pyTue Oct  9 17:38:33 2001
+++ /var/local/mailman/Mailman/Archiver/HyperArch.pyMon Oct 15 18:48:13 2001
@@ -810,6 +810,8 @@
 upath = os.path.join(mm_cfg.HTDIG_ARCHIVE_URL, listname)
 ## for some reason when I add index.html to the following URL, run fails ??
 starturl = self.maillist.GetScriptURL('htdig') + '/'
+   # some servers have https, but htdig doesn't dig that :-) -- Marc
+   starturl = re.sub(^https, http, starturl)
 # htdig MUST go via the file system to generate its indices so
 # we need the url which maps to the list's private archive
 urlpath = starturl

Marc
-- 
Microsoft is to operating systems  security 
   what McDonalds is to gourmet cooking
  
Home page: http://marc.merlins.org/   |   Finger [EMAIL PROTECTED] for PGP key

--
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users