Forwarding to mailman-users for completeness.

On 09/02/2015 05:29 PM, Mark Sapiro wrote:
> On 09/02/2015 05:07 PM, Jason Fayre wrote:
>> Here you go.
>> Thanks so much for your help on this!
>> This rundig is from the centos 6.7 htdig package.
> 
> 
> Your rundig has been modified from the 3.2.0b6 htdig base. The base
> rundig always does a full rebuild of the index My patch to rundig adds a
> '-u' option to do an 'update' rather than a full rebuild. Your
> RedHat/Centos package rundig already has this option only it's '-i' for
> incremental.
> 
> Thus, you don't need to patch your rundig at all unless you want to
> uncomment line 79 (which my patch does) per lines 77-79
> 
> # If you want to use the soundex and (or) metaphone fuzzy matchings,
> # Uncomment the following line
> # $BINDIR/htfuzzy $opts soundex metaphone
> 
> What you do need to do however is change nightly_htdig. My patch added
> amongst other things the line
> 
>         init_or_update = ' -u'
> 
> per
> 
> @@ -109,6 +109,7 @@
>          # test if the archive volume directories mod times have
>          # changed
>          recent_posts = None
> +        init_or_update = ' -u'
>          rundig_run_file = os.path.join(list_htdig_dir, 'rundig_last_run')
>          archive = HyperArch.HyperArchive(mlist)
>          try:
> 
> You need to change that to
> 
>         init_or_update = ' -i'
> 
> because in your rundig the 'incremental' option is '-i', not '-u'.
> 


-- 
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to