Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
* [sup-talk] Sup sources question
@ 2007-11-08 11:18 Marcus Williams
  2007-11-08 11:21 ` Marcus Williams
  2007-11-12  4:03 ` William Morgan
  0 siblings, 2 replies; 5+ messages in thread
From: Marcus Williams @ 2007-11-08 11:18 UTC (permalink / raw)


I cocked up when I set up one of my sources so that I added a sent
folder from imap to sup without the sent label.

What I thought I'd do is sup-dump, sup-sync everything again and then
restore my settings. Then I remembered I'd noticed that you have a
source_id in the ferret index, so I can search for messages marked
with that source_id and add the label in manually. The only problem is
I dont know the source_id (although its easy to find out in the
console.sh).

What I'm thinking is, rather than use an auto-generated id which I
assume is some index into the source.yaml could you not name the
sources in some way in the yaml so that you can then use this name to
look up certain sources? This would also stop your source.yaml and
your source_id's getting out of sync which I assume they can if you
add a source to your yaml file in the middle somewhere. On startup you
could check for uniqueness if needed.

Does this make sense?

Marcus


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-11-12 17:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-08 11:18 [sup-talk] Sup sources question Marcus Williams
2007-11-08 11:21 ` Marcus Williams
2007-11-12  4:03 ` William Morgan
2007-11-12 13:29   ` Marcus Williams
2007-11-12 17:20     ` William Morgan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox