This website requires JavaScript.
Explore
Help
Sign In
kenmirrors
/
asterisk
Watch
1
Star
0
Fork
0
You've already forked asterisk
mirror of
https://github.com/asterisk/asterisk.git
synced
2025-09-16 09:52:24 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
390d8f98c262894657df94a3b2ae32740e447e58
asterisk
/
build_tools
/
get_documentation
4 lines
100 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Merge changes from team/group/appdocsxml This commit introduces the first phase of an effort to manage documentation of the interfaces in Asterisk in an XML format. Currently, a new format is available for applications and dialplan functions. A good number of conversions to the new format are also included. For more information, see the following message to asterisk-dev: http://lists.digium.com/pipermail/asterisk-dev/2008-October/034968.html git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@153365 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-01 21:10:07 +00:00
/\/\*\*\* DOCUMENTATION/ {printit=1; next}
docs: Add version information to manager event instance XML elements * Do a git blame on the embedded XML managerEvent elements. * From the commit hash, grab the summary line. * Do a git log --grep <summary> to find the cherry-pick commits in all branches that match. * Do a git patch-id to ensure the commits are all related and didn't get a false match on the summary. * Do a git tag --contains <commit> to find the tags that contain each commit. * Weed out all tags not ..0. * Sort and discard any .0.0 and following tags where the commit appeared in an earlier branch. * The result is a single tag for each branch where the application or function was defined. The events defined in res/res_pjsip/pjsip_manager.xml were done by hand because the XML was extracted from the C source file relatively recently. Two bugs were fixed along the way... * The get_documentation awk script was exiting after it processed the first DOCUMENTATION block it found in a file. We have at least 1 source file with multiple DOCUMENTATION blocks so only the first one in them was being processed. The awk script was changed to continue searching rather than exiting after the first block. * Fixing the awk script revealed an issue in logger.c where the third DOCUMENTATION block contained a XML fragment that consisted only of a managerEventInstance element that wasn't wrapped in a managerEvent element. Since logger_doc.xml already existed, the remaining fragments in logger.c were moved to it and properly organized.
2025-01-20 11:33:20 -07:00
/\*\*\*\// {if (printit) printit=0}
remove empty awk pattern (//) Solaris 10 nawk doesn't lthe empty pattern ike '//' for 'always'. Just remove that. No pattern at all always matches. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@226453 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-10-28 20:50:52 +00:00
{if (printit) print}
Reference in New Issue
Copy Permalink