Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
* [sup-talk] Changing sources with same URI
@ 2007-10-30 15:55 Marcus Williams
  2007-11-03 22:23 ` William Morgan
  0 siblings, 1 reply; 2+ messages in thread
From: Marcus Williams @ 2007-10-30 15:55 UTC (permalink / raw)


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


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

* [sup-talk] Changing sources with same URI
  2007-10-30 15:55 [sup-talk] Changing sources with same URI Marcus Williams
@ 2007-11-03 22:23 ` William Morgan
  0 siblings, 0 replies; 2+ messages in thread
From: William Morgan @ 2007-11-03 22:23 UTC (permalink / raw)


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 <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).

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 <wmorgan-sup at masanjin.net>


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

end of thread, other threads:[~2007-11-03 22:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-30 15:55 [sup-talk] Changing sources with same URI Marcus Williams
2007-11-03 22:23 ` William Morgan

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