[ 
https://issues.apache.org/jira/browse/OAK-2454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Dürig updated OAK-2454:
-------------------------------
    Attachment: OAK-2454-2.patch

Updated patch:
* {{copyNodeTypes}} now takes a {{NodeTypeManager}} and a {{ValueFactory}} 
instead of a {{Root}}. This is more consistent with 
{{RepositoryUpgrade#copyCustomPrivileges}}, which takes a {{PrivilegeManager}}. 

* Reduced code duplications in {{UpgradeRoot}} by replacing {{UpgradeTree}} 
with {{NodeBuilderTree}}. 

> Upgrade: reduce implementation dependency
> -----------------------------------------
>
>                 Key: OAK-2454
>                 URL: https://issues.apache.org/jira/browse/OAK-2454
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: upgrade
>            Reporter: angela
>             Fix For: 1.2
>
>         Attachments: OAK-2454-2.patch, OAK-2454.patch
>
>
> the current upgrade code heavily relies on implementation details. i would 
> prefer to use existing functionality like privilege-mgt and node type 
> management instead of copying that code to the upgrade.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to