[sr-dev] git:5.3:68be831a: CONTRIBUTING.md: section for first line of the commit message [skip ci]

Daniel-Constantin Mierla miconda at gmail.com
Wed Mar 4 12:31:15 CET 2020


Module: kamailio
Branch: 5.3
Commit: 68be831aa83c09e99b35c55a6ff6d7f21a0502d6
URL: https://github.com/kamailio/kamailio/commit/68be831aa83c09e99b35c55a6ff6d7f21a0502d6

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2020-03-04T12:29:53+01:00

CONTRIBUTING.md: section for first line of the commit message [skip ci]

- note about [skip ci] flag in first line

(cherry picked from commit 04d082d2a89f8e0d3646856cb81666f9f03fdffa)

---

Modified: .github/CONTRIBUTING.md

---

Diff:  https://github.com/kamailio/kamailio/commit/68be831aa83c09e99b35c55a6ff6d7f21a0502d6.diff
Patch: https://github.com/kamailio/kamailio/commit/68be831aa83c09e99b35c55a6ff6d7f21a0502d6.patch

---

diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md
index ea6ba9cdd8..293c0f98a2 100644
--- a/.github/CONTRIBUTING.md
+++ b/.github/CONTRIBUTING.md
@@ -75,13 +75,20 @@ Please create the commit messages following the GIT convention:
   * start with one short line, preferably less then 50 chars summarizing the
   changes (this is referred later as "first line of the commit message")
   * then one empty line
-  * then a more detailed description
+  * then a more detailed description (the "commit message content")
+
+#### First Line Of The Commit Message ####
 
 Think of the first line as of an email "Subject" line. In fact it will be used
 as "Subject" in the generated commit emails and it will also be used when
 generating the Changelog (e.g. git log --pretty=oneline).
 
-Please start always with the prefix of the component (subsystem) that is modified by the commit, for example:
+
+The first line (subjecthas to contain meaningful text about what that commit
+does, do not put just a reference to bug tracker or pull request items
+
+Please start always with the prefix of the component (subsystem) that is modified
+by the commit, for example:
   * `core`: more fixup helper functions
     * `core`: tcp - support for haproxy protocol
     * `core`: mem - added faster malloc
@@ -90,13 +97,19 @@ Please start always with the prefix of the component (subsystem) that is modifie
   * `lib`: srutils - critical bug fix for abc case
   * `kamctl`: added support for management of module xyz
 
+At the end of the first line some CI flags can be added. Available at this
+moment:
+
+  * `[skip ci]` - skip continous integration builds for source code, recommended
+  to be added when updating documentation, example configs or other utilities.
+  Example:
+    * `msilo: docs - updated example for m_dump() function [skip ci]`
+
 #### Commit Message Content ####
 
-  * first line (subject line) has to contain meaningful text about what that commit
-  does, do not put just a reference to bug tracker or pull request items
-  * commit message must describe the changes done by the patch
+* commit message must describe the changes done by the patch
     * other details (e.g., how to reproduce, backtrace, sip packets, ...) belong
-    to content (comments) of the pull request. Example:
+    to content (comments) of the pull request. Example of a full commit message:
 ```
 core: added latency_limit_cfg global parameter
 




More information about the sr-dev mailing list