Subject: [sup-talk] Changing sources with same URI

From: [email-masked] (Marcus Williams)
Date: Tue, 30 Oct 2007 15:55:18 +0000

I've got two (actually more than two, but that doesnt matter) IMAP
sources with the same URI, with different logins. The only problem is
I forgot to add a label to one of them. What I want to do is add that
source back in with the label added.

I thought all I'd need to do was add the label to the sources.yaml and
then run sup-sync --changed <source>, or maybe --all but neither of
them pick the right source as the source I want is the second of the
two sources in the yaml file (and they both have the same uri). I
probably want to make both of these sources "unusual" as well, can I
do that with sup-sync?

Is there a way to differentiate between the two on the command line?
If not, should there be?

Better still, anyone any ideas how I can do what I want?

Thanks!

Marcus

---

From: [email-masked] (William Morgan)
Date: Sat, 03 Nov 2007 15:23:23 -0700

Excerpts from Marcus Williams's message of Tue Oct 30 08:55:18 -0700 2007:
> two sources in the yaml file (and they both have the same uri).

Heheh. I think you can differentiate the two by putting the username in
as a component of the URI. It's ignored by Sup completely, except, it
turns out for the purposes of comparing URIs.

E.g.: imaps://account1 at imap.server.com and
imaps://account2 at imap.server.com.

(Just figured this out myself!)

> probably want to make both of these sources "unusual" as well, can I

Nope, all modifications of source properties must be done by editing
source.yaml by hand atm.

-- 
William <wmorgan-sup at masanjin.net>