[umbrello] [Bug 53382] round-trip code import and generation

Ralf Habacker via KDE Bugzilla bugzilla_noreply at kde.org
Tue Sep 6 02:56:18 UTC 2016


https://bugs.kde.org/show_bug.cgi?id=53382

--- Comment #16 from Ralf Habacker <ralf.habacker at freenet.de> ---
Managing usable code by round trip engineering requires also that umbrello
needs to track and generate the whole content of files or needs to be smart
enough to patch maintained files.

Say you want to manage blender python script library
https://git.blender.org/gitweb/gitweb.cgi/blender-addons.git by round trip
engineering. You import for example
https://git.blender.org/gitweb/gitweb.cgi/blender-addons.git/blob/HEAD:/add_mesh_extra_objects/__init__.py,
which contains:

- one mor more global file comments
- import statements
- variables, functions and code in the global namespace of the file

Now you change/add some methods and want to update the related file. As written
before you need to know which uml objects are required to generate into which
file. After umbrello generates the related file you want to run blender scripts
with your changes applied. This will fail if the generated python file is
incomplete.
If you are happy with the changes generated by umbrello you want  to submit
your changes back to blender script repo for being included into further
releases. The submission will fail if the generated patch does not follow the
initial used coding style.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the umbrello-devel mailing list