[Asterisk-code-review] xmldoc: Allow XML docs to be reloaded. (asterisk[master])

George Joseph asteriskteam at digium.com
Fri Nov 11 08:51:20 CST 2022


Attention is currently required from: N A, Joshua Colp.

George Joseph has posted comments on this change. ( https://gerrit.asterisk.org/c/asterisk/+/19474 )

Change subject: xmldoc: Allow XML docs to be reloaded.
......................................................................


Patch Set 7: Code-Review-1

(2 comments)

File main/config_options.c:

https://gerrit.asterisk.org/c/asterisk/+/19474/comment/9275135c_310e7083 
PS7, Line 1102: 		ast_log(LOG_WARNING, "Cannot update type '%s' in module '%s' because it has no existing documentation!\n"
              : 			"If this module was recently built, run 'xmldoc reload' to refresh documentation, then load the module again\n",
You're almost there. :)   The '\n' at the end of the first part might confuse anyone parsing logs because the second part won't look like a WARNING.  One long line is OK.


File main/xmldoc.c:

https://gerrit.asterisk.org/c/asterisk/+/19474/comment/2bd43bbf_2f9623d3 
PS7, Line 2219: 		ast_log(LOG_WARNING, "Couldn't find %s %s in XML documentation\n"
              : 			"If this module was recently built, run 'xmldoc reload' to refresh documentation\n",
              : 			type, name);
same



-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/19474
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: I4f265b0e5517e757c5453a0f241201a5788d3a07
Gerrit-Change-Number: 19474
Gerrit-PatchSet: 7
Gerrit-Owner: N A <asterisk at phreaknet.org>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at sangoma.com>
Gerrit-Attention: N A <asterisk at phreaknet.org>
Gerrit-Attention: Joshua Colp <jcolp at sangoma.com>
Gerrit-Comment-Date: Fri, 11 Nov 2022 14:51:20 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20221111/0dcee43a/attachment-0001.html>


More information about the asterisk-code-review mailing list