mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-28 21:22:14 +01:00
New functions: osc.core.get_commit_message_template() - check the differences in .changes - extract them and add to the commit message osc.core.dgst_from_string(): - same as dgst, but work with string argument Modified functions: osc.core.edit_message(): - new optional argument template osc.commandline.do_commit(): - use get_commit_message_template to collect the changes and call the edit_message with template argument osc.core.edit_message(): - used dgst_from_string for header_orig value, so commit message could be used as is with template. Used a mtime check for canceling support. TODO: maybe is dgst_from_string unecessary