[Kolab-devel] Fwd: [pkg-kolab] Kolab shared folder userspace prefix

Gunnar Wrobel wrobel at kolabsys.com
Sun Oct 31 21:50:43 CET 2010


Hi Mathieu,

Zitat von Mathieu Parent <math.parent at gmail.com>:

> (forwarding upstream: reading the code it seems on purpose, but why?)

I admit that I can't answer that question. I can only assume that this  
has been done to have the shared folders directly on the root of the  
folder tree. When I think of having shared calendars displayed in  
Outlook I believe it makes sense to present them on the root level in  
parallel with all folder within "INBOX" rather than hiding them in  
"shared/".

The fact that the "." in "shared.SOMETHING" had nothing to do with the  
namespace but is indeed just part of the folder name really bugged me  
when I did namespaces for Kolab_Storage.

Cheers,

Gunnar



>
>
> ---------- Forwarded message ----------
> From: Neil Price <nprice at gibb.co.za>
> Date: 2010/10/22
> Subject: [pkg-kolab] Kolab shared folder userspace prefix
> To: pkg-kolab-devel at lists.alioth.debian.org
>
>
>  Not sure if this is a bug or a feature or if it exists upstream....
>
> Kolab creates shared folders with name "shared.foldername" instead of
> the expected "shared/foldername" (with unixhierarchysep: yes)
>
> from /usr/share/perl5/Kolab/Cyrus.pm
>
> sub createUid
> {
>    my $user = shift;
>    my $sf = shift || 0;
>    my $seperator = '/';
>    my $uidprefix = 'user';
>    if ($sf) {
>      $seperator = '.';
>      $uidprefix = 'shared';
>    }
>    return $uidprefix . $seperator . $user;
> #    return 'user' . ($sf ? '.' : '/') . $user;
> }
>
>
>
> _______________________________________________
> pkg-kolab-devel mailing list
> pkg-kolab-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-kolab-devel
>
>
>
> --
> Mathieu Parent
>
> _______________________________________________
> Kolab-devel mailing list
> Kolab-devel at kolab.org
> https://kolab.org/mailman/listinfo/kolab-devel



--
Gunnar Wrobel
Developer, Kolab Systems AG

e: wrobel at kolabsys.com
t: +49 700 6245 0000
w: http://www.kolabsys.com

pgp: 9703 43BE

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




More information about the devel mailing list