[SR-Users] Git commit notifications

Daniel-Constantin Mierla miconda at gmail.com
Mon Dec 8 09:48:13 CET 2014


Hello,

in the perspective of moving main git repository to github (where the
commits will be done), with a real time mirror on kamailio.org, I am
pasting here the commit email notifications that are now available, to
decide on which one to use in the future -- see them at the end of the
email.

A) - this is what we get now from git.sip-router.org

B) - this is what github sends

C) - this is sent by kamailio.org when it gets the trigger (on a push to
gihub) to mirror. It is done by a php script I wrote over the weekend,
which does also the mirroring. The script that can be improved, I am
going to push it on github these days, after a bit of polishing, so
everyone can contribute to it. Right now it tries to be as close as
possible to A), with:
   - first part of commit id in subject (github does it, thought it can
be handy sometime)
   - links to raw diff and patch
   - it is missing the commit changes summary/statistics (probably can
be added in the future with a bit of php coding)

Given the flexibility and that it gives more details, pretty close to
A), I will go to C). But if there are people simply liking B), then we
can use it, being done by github, it's no overhead for us. Other opinions?

Cheers,
Daniel

A) Current commit email notification:

Subject: git:master: auth_db: added sections ids for functions

Body:

Module: sip-router
Branch: master
Commit: d17f162ee565b80ecd46b6f8f916a683748bf08b
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=d17f162ee565b80ecd46b6f8f916a683748bf08b

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Mon Dec  8 09:11:32 2014 +0100

auth_db: added sections ids for functions

- better reference for web indexing

---

 modules/auth_db/doc/auth_db_admin.xml |   13 ++++++-------
 1 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/modules/auth_db/doc/auth_db_admin.xml b/modules/auth_db/doc/auth_db_admin.xml
index a6f667e..74d6d00 100644
--- a/modules/auth_db/doc/auth_db_admin.xml
+++ b/modules/auth_db/doc/auth_db_admin.xml
@@ -304,7 +304,7 @@ modparam("auth_db", "version_table", 0)
 
 	<section>
 	<title>Functions</title>
-	<section>
+	<section id="auth_db.f.www_authenticate">
 		<title>
 			<function moreinfo="none">www_authenticate(realm, table [, method])</function>
 		</title>
@@ -395,7 +395,7 @@ if (!www_authorize("kamailio.org", "subscriber")) {
 		</example>
 	</section>
 
-	<section>
+	<section id="auth_db.f.www_authorize">
 		<title>
 			<function moreinfo="none">www_authorize(realm, table)</function>
 		</title>
@@ -406,7 +406,7 @@ if (!www_authorize("kamailio.org", "subscriber")) {
 		</para>
 	</section>
 
-	<section>
+	<section id="auth_db.f.proxy_authenticate">
 		<title>
 			<function moreinfo="none">proxy_authenticate(realm, table)</function>
 		</title>
@@ -469,7 +469,7 @@ if (!proxy_authorize("$fd", "subscriber)) {
 		</example>
 	</section>
 
-	<section>
+	<section id="auth_db.f.proxy_authorize">
 		<title>
 			<function moreinfo="none">proxy_authorize(realm, table)</function>
 		</title>
@@ -480,7 +480,7 @@ if (!proxy_authorize("$fd", "subscriber)) {
 		</para>
 	</section>
 
-	<section>
+	<section id="auth_db.f.auth_check">
 		<title>
 			<function moreinfo="none">auth_check(realm, table, flags)</function>
 		</title>
@@ -557,9 +557,8 @@ if (!auth_check("$fd", "subscriber", "1")) {
 		</example>
 	</section>
 
-
 	<section>
-		<title>
+		<title id="auth_db.f.is_subscriber">
 			<function moreinfo="none">is_subscriber(uri, dbtable, flags)</function>
 		</title>
 		<para>The function checks if there is a subscriber corresponding to



B) Github commit email notification:

Subject: [kamailio/kamailio] d17f16: auth_db: added sections ids for
functions

Body:

Branch: refs/heads/master
  Home:   https://github.com/kamailio/kamailio
  Commit: d17f162ee565b80ecd46b6f8f916a683748bf08b
      https://github.com/kamailio/kamailio/commit/d17f162ee565b80ecd46b6f8f916a683748bf08b
  Author: Daniel-Constantin Mierla <miconda at gmail.com>
  Date:   2014-12-08 (Mon, 08 Dec 2014)

  Changed paths:
    M modules/auth_db/doc/auth_db_admin.xml

  Log Message:
  -----------
  auth_db: added sections ids for functions

- better reference for web indexing


C) Custom commit email notification from kamailio.org

Subject: git:master:d17f162e: auth_db: added sections ids for functions

Body:

Module: kamailio
Branch: master
Commit: d17f162ee565b80ecd46b6f8f916a683748bf08b
URL: https://github.com/kamailio/kamailio/commit/d17f162ee565b80ecd46b6f8f916a683748bf08b

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2014-12-08T09:11:32+01:00

auth_db: added sections ids for functions

- better reference for web indexing

---

Modified: modules/auth_db/doc/auth_db_admin.xml


---

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


---

diff --git a/modules/auth_db/doc/auth_db_admin.xml b/modules/auth_db/doc/auth_db_admin.xml
index a6f667e..74d6d00 100644
--- a/modules/auth_db/doc/auth_db_admin.xml
+++ b/modules/auth_db/doc/auth_db_admin.xml
@@ -304,7 +304,7 @@ modparam("auth_db", "version_table", 0)
 
 	<section>
 	<title>Functions</title>
-	<section>
+	<section id="auth_db.f.www_authenticate">
 		<title>
 			<function moreinfo="none">www_authenticate(realm, table [, method])</function>
 		</title>
@@ -395,7 +395,7 @@ if (!www_authorize("kamailio.org", "subscriber")) {
 		</example>
 	</section>
 
-	<section>
+	<section id="auth_db.f.www_authorize">
 		<title>
 			<function moreinfo="none">www_authorize(realm, table)</function>
 		</title>
@@ -406,7 +406,7 @@ if (!www_authorize("kamailio.org", "subscriber")) {
 		</para>
 	</section>
 
-	<section>
+	<section id="auth_db.f.proxy_authenticate">
 		<title>
 			<function moreinfo="none">proxy_authenticate(realm, table)</function>
 		</title>
@@ -469,7 +469,7 @@ if (!proxy_authorize("$fd", "subscriber)) {
 		</example>
 	</section>
 
-	<section>
+	<section id="auth_db.f.proxy_authorize">
 		<title>
 			<function moreinfo="none">proxy_authorize(realm, table)</function>
 		</title>
@@ -480,7 +480,7 @@ if (!proxy_authorize("$fd", "subscriber)) {
 		</para>
 	</section>
 
-	<section>
+	<section id="auth_db.f.auth_check">
 		<title>
 			<function moreinfo="none">auth_check(realm, table, flags)</function>
 		</title>
@@ -557,9 +557,8 @@ if (!auth_check("$fd", "subscriber", "1")) {
 		</example>
 	</section>
 
-
 	<section>
-		<title>
+		<title id="auth_db.f.is_subscriber">
 			<function moreinfo="none">is_subscriber(uri, dbtable, flags)</function>
 		</title>
 		<para>The function checks if there is a subscriber corresponding to



-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda




More information about the sr-users mailing list