Archive of RubyForge sup-devel mailing list
 help / color / mirror / Atom feed
From: Steven Hum <sdothum@gmail.com>
To: Eric Weikl <eric.weikl@gmx.net>
Cc: Gaute Hope <eg@gaute.vetsj.com>, sup-devel <sup-devel@rubyforge.org>
Subject: Re: [sup-devel] sup 0.15?
Date: Tue, 12 Nov 2013 19:47:55 -0500	[thread overview]
Message-ID: <1384303088-sup-6652@luna> (raw)
In-Reply-To: <1384285065-sup-2892@alderaan>

[-- Attachment #1: Type: text/plain, Size: 1666 bytes --]


Hello Eric,

Attached is my startup.rb file. Essentially, it scans my offlineimap 
folder directory for the mail folders (and labels them with their 
folder names -- I use imapfilter to pre-process my incoming mail and 
move my mail to the appropriate folders). If I initialize (rm) the 
xapian database, all mail is initially archived.

Hope this helps. For now, I have simply created an explicit 
sources.yaml file (one to archive all to rebuild the mail database from 
scratch, one with selected archiving to simulate my startup hook) -- so 
sup behaves as before.

Regards,
Steven


Excerpts from Eric Weikl's message of 2013-11-12 14:42:50 -0500:
> Hi Steven,
> 
> On 11/11/2013 14:18:45, Steven Hum wrote:
> > Thanks for pointing me in the right direction. My sources.yaml file was
> > unchanged from sup 0.14.x but only had one source defined in it. I was
> > using a startup.rb hook to scan and define my offlineimap sources and
> > that is where the problem seems to have originated for sup 0.15.0..
> > (due to a possible change to the SourceManager.add_source?)
> > 
> > By eliminating my startup hook and manually defining all my sources, I
> > was able to reinitialize the xapian mail database and all seems to be
> > functioning now.
> > 
> > Guess I will have to poke around to find out why my startup hook 
> > appears to be causing problems.
> 
> Hmm... I'm not aware of any changes that could cause that behavior.
> Could you post your hook? I'd like to make sure we didn't change any
> expected behavior.
> 
> Cheers,
> Eric

-- 
"Truth or die."

Steven Hum  
5 - 28 Gilmour St  
Ottawa, ON K2P 0N3  
email sdothum@gmail.com  
tel 613.237.9058  

[-- Attachment #2: startup.rb --]
[-- Type: application/x-ruby, Size: 1597 bytes --]

  reply	other threads:[~2013-11-13  0:54 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-05  7:51 Gaute Hope
2013-11-05 19:36 ` [sup-devel] " Matthieu Rakotojaona
2013-11-10 15:42 ` Steven Hum
2013-11-10 15:49   ` Steven Hum
2013-11-10 19:45   ` Gaute Hope
2013-11-11 13:18     ` Steven Hum
2013-11-11 13:31       ` Gaute Hope
2013-11-12 19:42       ` Eric Weikl
2013-11-13  0:47         ` Steven Hum [this message]
2013-12-01 16:17           ` Eric Weikl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1384303088-sup-6652@luna \
    --to=sdothum@gmail.com \
    --cc=eg@gaute.vetsj.com \
    --cc=eric.weikl@gmx.net \
    --cc=sup-devel@rubyforge.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox