Re: Identifier- or hash-based access in the MicroKernel

2012-11-20 Thread Stefan Guggisberg
hi jukka On Tue, Nov 20, 2012 at 5:24 PM, Jukka Zitting wrote: > Hi, > > A lot of functionality in Oak (node states, the diff and hook > mechanisms, etc.) are based on walking down the tree hierarchy one > level at a time. To do this, for example to access changes below > /a/b/c, oak-core will cu

Re: Identifier- or hash-based access in the MicroKernel

2012-11-21 Thread Jukka Zitting
Hi, On Tue, Nov 20, 2012 at 8:01 PM, Stefan Guggisberg wrote: > - returning an :id and/or :hash should be optional, i.e. we shouldn't > require an implementation to return an :id or :hash for every path Exactly. > - i suggest we prefix the id/path getNodes parameter value with ':id:' > and ':

Re: Identifier- or hash-based access in the MicroKernel

2012-11-21 Thread Stefan Guggisberg
On Wed, Nov 21, 2012 at 10:00 AM, Jukka Zitting wrote: > Hi, > > On Tue, Nov 20, 2012 at 8:01 PM, Stefan Guggisberg > wrote: >> - returning an :id and/or :hash should be optional, i.e. we shouldn't >> require an implementation to return an :id or :hash for every path > > Exactly. > >> - i sugge

Re: Identifier- or hash-based access in the MicroKernel

2012-11-22 Thread Jukka Zitting
Hi, On Wed, Nov 21, 2012 at 11:00 AM, Jukka Zitting wrote: > On Tue, Nov 20, 2012 at 8:01 PM, Stefan Guggisberg > wrote: >> - do you have a proposal for the suggested MicroKernel API (java doc) >> changes? > > I'll have one to share shortly... See the attachment in https://issues.apache.org/j

Re: Identifier- or hash-based access in the MicroKernel

2012-11-23 Thread Stefan Guggisberg
On Thu, Nov 22, 2012 at 4:56 PM, Jukka Zitting wrote: > Hi, > > On Wed, Nov 21, 2012 at 11:00 AM, Jukka Zitting > wrote: >> On Tue, Nov 20, 2012 at 8:01 PM, Stefan Guggisberg >> wrote: >>> - do you have a proposal for the suggested MicroKernel API (java doc) >>> changes? >> >> I'll have one t

Re: Identifier- or hash-based access in the MicroKernel

2012-11-23 Thread Jukka Zitting
Hi, On Fri, Nov 23, 2012 at 4:21 PM, Stefan Guggisberg wrote: > On Thu, Nov 22, 2012 at 4:56 PM, Jukka Zitting > wrote: >> See the attachment in https://issues.apache.org/jira/browse/OAK-468 > > i committed the API changes, MicroKernelImpl support and adapted > integration tests in svn r1412898