Hi, in SVN we can use $Revision$ and $Date$ keywords and they are replaced in server side upon commit. I've realized that some modules under sip-router Git repository also contain such keywords but, are they valid in Git? Is there updated documentation about how to write module documentation?
Thanks a lot.
Hello,
On 2/23/11 12:26 AM, Iñaki Baz Castillo wrote:
Hi, in SVN we can use $Revision$ and $Date$ keywords and they are replaced in server side upon commit. I've realized that some modules under sip-router Git repository also contain such keywords but, are they valid in Git?
I think they are coming from the SVN times, not sure if GIT supports such tokens.
Is there updated documentation about how to write module documentation?
It is the same format as in latest svn, just you need to have a Makefile in the doc directory pointing to the main docbook file. That means you can name the docbook files as you like, although it is recommended to stick to some naming schema.
Cheers, Daniel
2011/2/23 Daniel-Constantin Mierla miconda@gmail.com:
On 2/23/11 12:26 AM, Iñaki Baz Castillo wrote:
Hi, in SVN we can use $Revision$ and $Date$ keywords and they are replaced in server side upon commit. I've realized that some modules under sip-router Git repository also contain such keywords but, are they valid in Git?
I think they are coming from the SVN times, not sure if GIT supports such tokens.
I've realized that $Revision$ doesn't make sense on GIT (it's more a SVN/CVS concept) so I'll remove it (and I expect it whould be removed from all the documents). Probably neither $Date$ works so, should we manually fill the Date field in the module documentation? Maybe we just should remove the "Revision History" section on top of each module documentation.
BTW yesterday I updated documentation of regex module in master branch, but changes are not shown in http://kamailio.org/docs/modules/devel/modules_k/regex.html. Is there a cron task doing the job?
Thanks a lot.
On Wednesday 23 February 2011, Iñaki Baz Castillo wrote:
BTW yesterday I updated documentation of regex module in master branch, but changes are not shown in http://kamailio.org/docs/modules/devel/modules_k/regex.html. Is there a cron task doing the job?
Hi Iñaki,
there is a cron job, but it looks as it was not updated to take care of the git repository - it still updates from svn..
The doc for the module can be found e.g. here as well:
http://sip-router.org/docbook/sip-router/branch/master/modules_k/regex/
Cheers,
Henning
2011/2/24 Henning Westerholt henning.westerholt@1und1.de:
The doc for the module can be found e.g. here as well:
http://sip-router.org/docbook/sip-router/branch/master/modules_k/regex/
Thanks Henning.