You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Andreas Hartmann <an...@apache.org> on 2006/01/02 09:28:08 UTC

Re: Repository dir within sandbox

Michael Wechner wrote:
> Hi
> 
> What is the repository dir within the sandbox
> 
> https://svn.apache.org/repos/asf/lenya/sandbox/repository
> 
> good for?

This branch is used to develop the JCR-based repository layer.
It won't be possible to do it in the trunk because it requires
a lot of internal changes.

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: Repository dir within sandbox

Posted by Andreas Hartmann <an...@apache.org>.
Michael Wechner wrote:

[...]

>> At the moment just me. There have been a lot of discussions,
>> now I'm trying to create some working code.
> 
> 
> 
> cool. Please apologize if my questions might have sounded a bit ackward, 
> but
> it seems to me that nobody actually knows about this "branch", but maybe 
> it's only
> myself ;-)

No problem :)
At the moment everything is in an early draft state, I'll report
back if I have some results worth looking at.


>>> and what has been done so far?
>>
>>
>>
>> The o.a.l.cms.repo package contains a set of interfaces describing
>> the responsibilities of Lenya repository items (publication, content 
>> node,
>> document, ...). The JCR module contains a JCR-based implementation of
>> these interfaces, along with a test case. The class
>> o.a.l.cms.migration.Migrate14 uses the interfaces to import a file-based
>> 1.4 publication into the repository.
> 
> 
> 
> ok. I guess the Migrate stuff could already be moved into the trunk, right?

It is already in the trunk. I started the branch when I noticed
that further changes could open Pandora's Box if applied carelessly.

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: Repository dir within sandbox

Posted by Michael Wechner <mi...@wyona.com>.
Andreas Hartmann wrote:

> Michael Wechner wrote:
>
>> Andreas Hartmann wrote:
>>
>>> Michael Wechner wrote:
>>>
>>>> Hi
>>>>
>>>> What is the repository dir within the sandbox
>>>>
>>>> https://svn.apache.org/repos/asf/lenya/sandbox/repository
>>>>
>>>> good for?
>>>
>>>
>>>
>>>
>>> This branch is used to develop the JCR-based repository layer.
>>
>>
>> ok. Can you explain a bit who is working on it
>
>
> At the moment just me. There have been a lot of discussions,
> now I'm trying to create some working code.


cool. Please apologize if my questions might have sounded a bit ackward, but
it seems to me that nobody actually knows about this "branch", but maybe 
it's only
myself ;-)

>
>
>> and what has been done so far?
>
>
> The o.a.l.cms.repo package contains a set of interfaces describing
> the responsibilities of Lenya repository items (publication, content 
> node,
> document, ...). The JCR module contains a JCR-based implementation of
> these interfaces, along with a test case. The class
> o.a.l.cms.migration.Migrate14 uses the interfaces to import a file-based
> 1.4 publication into the repository.


ok. I guess the Migrate stuff could already be moved into the trunk, right?

>
>
>>> It won't be possible to do it in the trunk because it requires
>>> a lot of internal changes.
>>
>>
>> why not? What changes?
>
>
> Basically, all references to o.a.l.cms.publication.* would have to be
> replaced with references to o.a.l.cms.repo.*. The interfaces are quite
> different in some aspects, so refactoring doesn't help.
>
> Actually I have no idea if this can be implemented in a reasonable amount
> of time. What I've done so far is a draft what the repo layer should IMO
> look like, quite independent from the existing codebase. It's rather 
> meant
> as an exploratory prototype and as a starting point for discussions.
> I guess we'll end up with a kind of compromise.


yeah :-)

Thanks

Michi

>
>
> -- Andreas
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
> For additional commands, e-mail: dev-help@lenya.apache.org
>
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: Repository dir within sandbox

Posted by Andreas Hartmann <an...@apache.org>.
Michael Wechner wrote:
> Andreas Hartmann wrote:
> 
>> Michael Wechner wrote:
>>
>>> Hi
>>>
>>> What is the repository dir within the sandbox
>>>
>>> https://svn.apache.org/repos/asf/lenya/sandbox/repository
>>>
>>> good for?
>>
>>
>>
>> This branch is used to develop the JCR-based repository layer.
> 
> ok. Can you explain a bit who is working on it

At the moment just me. There have been a lot of discussions,
now I'm trying to create some working code.


> and what has been done so far?

The o.a.l.cms.repo package contains a set of interfaces describing
the responsibilities of Lenya repository items (publication, content node,
document, ...). The JCR module contains a JCR-based implementation of
these interfaces, along with a test case. The class
o.a.l.cms.migration.Migrate14 uses the interfaces to import a file-based
1.4 publication into the repository.


>> It won't be possible to do it in the trunk because it requires
>> a lot of internal changes.
> 
> why not? What changes?

Basically, all references to o.a.l.cms.publication.* would have to be
replaced with references to o.a.l.cms.repo.*. The interfaces are quite
different in some aspects, so refactoring doesn't help.

Actually I have no idea if this can be implemented in a reasonable amount
of time. What I've done so far is a draft what the repo layer should IMO
look like, quite independent from the existing codebase. It's rather meant
as an exploratory prototype and as a starting point for discussions.
I guess we'll end up with a kind of compromise.

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: Repository dir within sandbox

Posted by Michael Wechner <mi...@wyona.com>.
Andreas Hartmann wrote:

> Michael Wechner wrote:
>
>> Hi
>>
>> What is the repository dir within the sandbox
>>
>> https://svn.apache.org/repos/asf/lenya/sandbox/repository
>>
>> good for?
>
>
> This branch is used to develop the JCR-based repository layer.


ok. Can you explain a bit who is working on it and what has been done so 
far?

>
> It won't be possible to do it in the trunk because it requires
> a lot of internal changes.


why not? What changes?

Thanks

Michi

>
> -- Andreas
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
> For additional commands, e-mail: dev-help@lenya.apache.org
>
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org