Subject: [sup-talk] Change URI for for a source?

From: [email-masked] (Jon Dugan)
Date: Thu, 06 Nov 2008 17:51:19 -0800

Hello,

I've been using sup for several months now and am quite happy with it.

In my next wave of reorganization I would like to move the box that sup reads
from.  Currently it's polling INBOX, but I'd like to take the current contents
of INBOX and move them to SUPBOX.  Is it possible to tell sup that a mailbox
has a new URI but is otherwise the same?  

Essentially I'd like to keep my index and tags and just rename my sup box.

I don't see an option in sup-sync for this sort of thing and I haven't had
time to dig around in the code and see how hard this would be.

Any suggestions?

Thanks,

Jon
-- 
Jon M. Dugan <jdugan at es.net>          | GTalk: jdugan.esnet
ESnet Network Engineering Group       | http://www.es.net/
Lawrence Berkeley National Laboratory | http://www.lbl.gov/

---

From: [email-masked] (William Morgan)
Date: Thu, 06 Nov 2008 21:51:15 -0800

Reformatted excerpts from Jon Dugan's message of 2008-11-06:
> In my next wave of reorganization I would like to move the box that
> sup reads from.  Currently it's polling INBOX, but I'd like to take
> the current contents of INBOX and move them to SUPBOX.  Is it possible
> to tell sup that a mailbox has a new URI but is otherwise the same?  

You should be able to edit ~/.sup/sources.yaml and change the URI of the
source as appropriate. As long as you don't change anything else, it
should work. Keep a backup of sources.yaml just in case!
-- 
William <wmorgan-sup at masanjin.net>

---

From: [email-masked] (Jon Dugan)
Date: Fri, 07 Nov 2008 19:33:00 -0800

> should work. Keep a backup of sources.yaml just in case!

Hot damn!  That worked!  Thanks William!

Jon