Alfresco data patch

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Member II

Alfresco data patch

I want to create data patch for alfresco. This data patch will have 2 operations

  1. Export data patch : Select the folder from where the user wants to export the patch (All children of that folder along with their properties in xml file will be bundled inside zip).
  2. Import the patch :  Select the folder (or the exported patch will have some information regarding how and from where the patch has to executed) and upload the patch file and patch should get executed.

Now I know that while repository bootstrap I can import a site / folder like the one documented here , There is one add on for exporting  / importing data in form of .acp extension but that is not the way I want my patch to work.

So basically I want my patch to work the same way svn or git works (delete folders / files, update files, create new files and update properties)

What would be the best way to achieve this ?

1 Reply
Highlighted
Member II

Re: Alfresco data patch

Has anyone ever done this ? It would be great if some one points me in the right direction.