Policies/CMake Commit Policy: Difference between revisions

From KDE TechBase
(Replace underscores with spaces in page links)
(Replaced content with "{{Moved To Community}}")
 
Line 1: Line 1:
The policies outlined here apply to the CMake files in kdelibs/cmake/modules/, i.e. they don't apply to CMake files in other KDE modules.
{{Moved To Community}}
 
The files located in kdelibs/cmake/modules/ are installed and can be used by other applications. This means they are part of the public interface of kdelibs and we have to keep compatibility. Committing there also has the potential to break the build of whole KDE for everybody.
 
When committing changes in kdelibs/cmake/modules/, the following rules must be followed:
 
# '''Adding new files''': new files must be sent to [email protected] for review. They may only be added after an explicit Ok.
# Patches which '''refactor multiple modules''' at once or which change how something is done in general for multiple files must be posted first. They may only be committed after an explicit Ok.
# '''Adding public macros or functions''': they must be posted for review first. If there is NO answer at all within two weeks they may be committed anyway.
# Documentation must never be removed as long as it is valid and not replaced.
# Other patches can always be committed without review.
# All patches must maintain [[Policies/CMake and Source Compatibility|source compatibility]].
# All patches must follow the [[Policies/CMake Coding Style|coding style]] for CMake files in KDE.

Latest revision as of 18:23, 10 March 2016

This page is now on the community wiki.