From mboxrd@z Thu Jan 1 00:00:00 1970 From: wmorgan-sup@masanjin.net (William Morgan) Date: Sat, 03 Nov 2007 15:23:23 -0700 Subject: [sup-talk] Changing sources with same URI In-Reply-To: <1193759439-sup-5378@tomsk> References: <1193759439-sup-5378@tomsk> Message-ID: <1194128155-sup-8975@south> Excerpts from Marcus Williams's message of Tue Oct 30 08:55:18 -0700 2007: > 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 , 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). 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 > do that with sup-sync? Nope, all modifications of source properties must be done by editing source.yaml by hand atm. -- William