[Cosmo-dev] Re: support of /dav v/s /cosmo

Morgen Sagen morgen at osafoundation.org
Mon Apr 16 12:31:20 PDT 2007


On Apr 16, 2007, at 11:42 AM, Aparna Kadakia wrote:

> In last Friday's Migration meeting we discussed that we would  
> exclusively support only /dav URLs in the path going forward. We  
> would deprecate /home once we upgrade to Cosmo 0.6.1.
> But the default path on the Chandler desktop is /cosmo for Chandler  
> Hub Sharing with Cosmo 0.6.1 server.
> So what did we mean by we will only support /dav in the URLs?
> Also, does that mean all users/dogfooders will have to change their  
> paths to /cosmo from /dav in the desktop once we upgrade osaf.us to  
> 0.6.1?
>
> Just so that I am clear on how this is all supposed to work out  
> once we migrate.
> Aparna

I can explain it from the Chandler point of view:

There are two kinds of sharing accounts now in Chandler: DAV  
(including WebDAV and CalDAV), and Morsecode.  In the Chandler  
accounts dialog these two account kinds are labeled "WebDAV Sharing"  
and "Chandler Hub Sharing", respectively.

For a DAV account, you use the DAV path appropriate to the server you  
are publishing to.  For example, if I set up a DAV account and set  
the path field to "/cosmo/dav/morgen", then when I publish a  
collection using this account, it will create a CalDAV calendar on  
the DAV server as /cosmo/dav/morgen/[collection-name].  This is the  
kind of account a Chandler user would use if they were publishing to  
either a non-Cosmo DAV server, or if publishing to a Cosmo server  
less than version 0.6.1.  Originally this path included "home" in it,  
but that's been changed to "dav" for several weeks.

However, If I set up a Morsecode account, the path field only has to  
include the Cosmo "root" directory (where the sys admin installed  
Cosmo on the server).  This is by default "/cosmo".  When I use a  
Morsecode account to publish a collection I will actually get back a  
"pim" URL for the collection which looks like:

https://osaf.us/cosmo/pim/collection/937130b0-ec46-11db-e4bb- 
d3677fae884e?ticket=85fqvnvz00

That URL will work by pasting it into a web browser, and also pasting  
into the Chandler subscribe dialog.


Migration involves two different steps:

#1) When osaf.us is upgraded to 0.6.1, dogfooders should use their  
existing DAV sharing accounts, and make sure their account path is  
set to /cosmo/dav/[username] .  These users will not immediately use  
Morsecode to sync their collections, but instead continue to use DAV.

When we are ready to move people over to using Morsecode on osaf.us  
we will need to perform migration step...

#2) Anyone who has published a collection to osaf.us will need to  
republish it using a Morsecode ("Chandler Hub Sharing") account.   
That account's path field will be "/cosmo" (although there has been  
discussion about just making it "/").  The collection will have a new  
pair of "pim" URLs (read-only and read-write) that can be handed out  
to subscribers.


More information about the cosmo-dev mailing list