jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] [Commented] (OAK-7846) Add a tool to export the tree pointed to by a node record
Date Thu, 18 Oct 2018 07:37:00 GMT

    [ https://issues.apache.org/jira/browse/OAK-7846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16654761#comment-16654761
] 

Michael Dürig commented on OAK-7846:
------------------------------------

I like the format as I think it is simple enough to process trough standard command line utilities.
What I'm not sure about is the nested structure of child nodes: this is not be processable
by a finite state machine and complicates processing with command line utilities. E.g. say
you want to filter / flatten an export to a list of nodes each on containing only the names
of its children. I don't think this would be doable.

What about exporting to a flatted representation: the export would contain a list of all nodes
each one having its name and an unique id generated by the tool and a list of child node name
and ids?

 

I also somewhat dislike to have yet another format. But I share your concerns about the existing
ones. Maybe we could leave the implementation extensible in that respect so other formats
could be added later on easily enough.

 

 

> Add a tool to export the tree pointed to by a node record
> ---------------------------------------------------------
>
>                 Key: OAK-7846
>                 URL: https://issues.apache.org/jira/browse/OAK-7846
>             Project: Jackrabbit Oak
>          Issue Type: New Feature
>          Components: segment-tar
>    Affects Versions: 1.10
>            Reporter: Francesco Mari
>            Assignee: Francesco Mari
>            Priority: Major
>
> oak-segment-tar should have a tool that allows exporting a tree pointed to by a node
record. The tool must be written in a way that plays along with existing Oak tools (see OAK-7834)
and conventional UNIX ones.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message