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=d17f162…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)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/d17f162ee565b80ecd46b6f8f916a68…
Author: Daniel-Constantin Mierla <miconda(a)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/d17f162ee565b80ecd46b6f8f916a68…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)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/d17f162ee565b80ecd46b6f8f916a68…
Patch: https://github.com/kamailio/kamailio/commit/d17f162ee565b80ecd46b6f8f916a68…
---
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
while doing some tests using master i noticed this error message in
syslog:
Dec 9 01:36:55 rautu /usr/bin/sip-proxy[28320]: ERROR: tmx [t_var.c:753]: pv_get_t_branch(): $T_branch(uri) - unsupported route_type 256
the weird thing is that there is no reference to $T_branch(uri) in my
config and the error message does not tell the line of config where the
error comes from.
-- juha
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
Olle Johansson has taken ownership of the following task:
FS#501 - dbtext - send empty string in non-null
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=501
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Olle Johansson (oej)
Attached to Project - sip-router
Summary - dbtext - send empty string in non-null
Task Type - Bug Report
Category - Core
Status - Unconfirmed
Assigned To -
Operating System - All
Severity - Low
Priority - Normal
Reported Version - Development
Due in Version - Undecided
Due Date - Undecided
Details - When using db_text drivers, the driver responds with a NULL string if the declaration says "(string,NULL)". If NULL is not declared, dbtext doesn't read the data and fails.
I need to be able to send an empty string into the dialplan, in the subst/repl fields. Dialplan doesn't accept a NULL string as input for these fields.
The solution is:
- If column is declared as (String) send "" for empty strings
- If column is declared as (string, null) send NULL for empty strings.
Maybe we need a config setting or a default value like
(string,default="")
(int,default=123)
I will try to look into this soon.
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=501
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.