Summary | A splitted share driver |
Queue | Horde Framework Packages |
Queue Version | HEAD |
Type | Enhancement |
State | Resolved |
Priority | 2. Medium |
Owners | chuck (at) horde (dot) org, jan (at) horde (dot) org |
Requester | wrobel (at) pardus (dot) de |
Created | 08/08/2006 (6909 days ago) |
Due | |
Updated | 12/29/2006 (6766 days ago) |
Assigned | 12/28/2006 (6767 days ago) |
Resolved | 12/29/2006 (6766 days ago) |
Milestone | |
Patch | No |
State ⇒ Resolved
mainline Share code, or get some other indeterminate fixes. But
everything else seems okay. Great work, Gunnar!
Assigned to Chuck Hagenbuch
State ⇒ Assigned
and I'm debugging those now (there seem to be some subtle bugs that I
haven't tracked down yet). Turba is going to need some more work
because it uses stuff in Share that other Groupware apps don't, but
that should be its own ticket at this point for cleaning up the
vbook/shared address book stuff.
added error check) I did update the patches to the newest Horde
version. There were only problems with the Kolab package because of
the updates during the Auth patch I submitted a while ago.
So the current patch set should cleanly apply against Horde HEAD.
I did split the patch to the "horde" package. This would allow to
apply the patches in a two step procedure:
1) Splitting the Share driver by applying
framework_Share-Kolab_Share_fix-20061220.patch and
horde_config_conf.xml-Kolab_Share_fix-20061220.patch
2) Adapting the Kolab parts to the new Share driver (the other three patches)
Step 1) would split the share driver and provide a "datatree" and a
"kolab" driver. This step should actually have no effect on anything
related to Shares (at least as long as one chooses the "datatree"
driver). Once this split has been tested and there are no problems,
one could apply the last three patches to adapt the Kolab specific
code to the new driver. I would then provide instructions for the
Kolab community how to test the new code.
Maybe that helps. Thanks for your efforts!
testing the patch.
them committed so they don't go stale...
New Attachment: share_kolab_061121.patch
current version, please be more strict with the coding standards in
the future (indention, tabs, curly braces). Did you test your patch
with a non-Kolab setup?
And I also did not check the datatree functionality for the latest
version but only for the kolab server. Sorry again.
I tried to fix these problems and attatched a new patch for the Share
directory. I hope the datatree side of things is clean now. The
kolab.php driver still carries some fixme's though these should not be
functionaly but structural problems.
State ⇒ Feedback
New Attachment: share_kolab.patch
current version, please be more strict with the coding standards in
the future (indention, tabs, curly braces). Did you test your patch
with a non-Kolab setup?
share driver, I did prepare an updated patch set. Please remove the
old patch files.
Thanks!
New Attachment: turba-Kolab_Shares_fix-20061115.patch
Patches the turba package to work together with the new share driver.
New Attachment: horde_config-Kolab_Share_fix-20061115.patch
Patches the horde package to work together with the new share driver.
New Attachment: framework_Kolab_Kolab.php-Kolab_Share_fix-20061115.patch
A patch to convert the Kolab driver to the new kolab share driver
New Attachment: framework_Share_Share_kolab.php-Kolab_Share_fix-20061115
Provides the Share kolab driver.
New Attachment: framework_Share_Share_datatree.php-Kolab_Share_fix-20061115
Provides the Share datatree driver.
New Attachment: framework_Share_Share.php-Kolab_Share_fix-20061115.patch
Allows the Share system to use different driver types instead
of just relying on the datatree system.
Assigned to Jan Schneider
Taken from Chuck Hagenbuch
to consolidate the ticket a bit.
Assigned to Chuck Hagenbuch
State ⇒ Assigned
of the Share code?
On the other hand having a specific kolab share driver is not so much
about supporting horde apps like ansel. It is mainly centered towards
turba, mnemo,nag and kronolith.
implement configuration options that allow per-application share
backend selection?
On the other hand having a specific kolab share driver is not so much
about supporting horde apps like ansel. It is mainly centered towards
turba, mnemo,nag and kronolith.
The reason for suggesting a specific kolab driver is the fact that
kolab is based on this IMAP-centric model and IMAP is the storage
backend used for all kolab groupware information.
So the original Kolab driver tries to bridge between the IMAP
information and the datatree storage and constantly syncs from one to
the other. And this actually never really worked.
So having this specific share driver helps with kolab, but it will not
be the most efficient choice for having large image galleries in an
e-mail based storage system.
will scale. I know really nothing about Kolab or using IMAP as a
datastore so to speak, just curious.
For example, in one installation I have dedicated datatree tables for
storing Ansel galleries and images...the horde_datatree_ansel table
has well over 20000 entries alone, and the matching attributes table
obviously has *much* more than this.
New Attachment: package-turba_shares_cvs-060801.patch
encode the share id, while using rawurlencode in the java snippet that
provides the list of available shares. Since the share ids in the
kolab driver include a "/" character the resulting ids did not match.
New Attachment: package-horde_shares_cvs-060807.patch
Priority ⇒ 2. Medium
State ⇒ New
New Attachment: package-framework_shares_cvs-060807.patch
Queue ⇒ Horde Framework Packages
Summary ⇒ A splitted share driver
Type ⇒ Enhancement
current Share module so that it supports different driver types.
The attached patches are only a first draft to get some comments on
the structure of the code. Please criticize everything you feel is
incorrect or has an inappropriate structure. I'm not really a horde
expert so I assume that I probably violated some of the concepts of
the horde framework.
Thanks for any comments!