hierarchy_dump and hiererchy_restore works, but while implementing the first tools using it, i figured out certain limitations. This issue covers enhancements that should be implemented:
Anatomy
Hierarchy dump should contain a copy of project anatomy (or at least aux tables) so in the case there's for example a folder with a folderType that is not present in the target project, target project anatomy could be updated.
Include root
Additional --include-root boolean flag, that would include the folder specified with root argument in the dump (in the case it is not null)
Option to use target folder instead of zip file (for debugging)
Story
hierarchy_dump
andhiererchy_restore
works, but while implementing the first tools using it, i figured out certain limitations. This issue covers enhancements that should be implemented:Anatomy
Hierarchy dump should contain a copy of project anatomy (or at least aux tables) so in the case there's for example a folder with a folderType that is not present in the target project, target project anatomy could be updated.
Include root
Additional
--include-root
boolean flag, that would include the folder specified withroot
argument in the dump (in the case it is not null)Option to use target folder instead of zip file (for debugging)