mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 04:11:08 +00:00
docs: Add version information to configObject and configOption XML elements
Most of the configObjects and configOptions that are implemented with ACO or Sorcery now have `<since>/<version>` elements added. There are probably some that the script I used didn't catch. The version tags were determined by the following... * Do a git blame on the API call that created the object or option. * 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 <major>.<minor>.0. * Sort and discard any <major>.0.0 and following tags where the commit appeared in an earlier branch. * The result is a single tag for each branch where the API was last touched. configObjects and configOptions elements implemented with the base ast_config APIs were just not possible to find due to the non-deterministic way they are accessed. Also note that if the API call was on modified after it was added, the version will be the one it was last modified in. Final note: The configObject and configOption elements were introduced in 12.0.0 so options created before then may not have any XML documentation.
This commit is contained in:
@@ -63,20 +63,25 @@
|
||||
<configInfo name="cel" language="en_US">
|
||||
<configFile name="cel.conf">
|
||||
<configObject name="general">
|
||||
<since><version>12.0.0</version></since>
|
||||
<synopsis>Options that apply globally to Channel Event Logging (CEL)</synopsis>
|
||||
<configOption name="enable">
|
||||
<since><version>12.0.0</version></since>
|
||||
<synopsis>Determines whether CEL is enabled</synopsis>
|
||||
</configOption>
|
||||
<configOption name="dateformat">
|
||||
<since><version>12.0.0</version></since>
|
||||
<synopsis>The format to be used for dates when logging</synopsis>
|
||||
</configOption>
|
||||
<configOption name="apps">
|
||||
<since><version>12.0.0</version></since>
|
||||
<synopsis>List of apps for CEL to track</synopsis>
|
||||
<description><para>A case-insensitive, comma-separated list of applications
|
||||
to track when one or both of APP_START and APP_END events are flagged for
|
||||
tracking</para></description>
|
||||
</configOption>
|
||||
<configOption name="events">
|
||||
<since><version>12.0.0</version></since>
|
||||
<synopsis>List of events for CEL to track</synopsis>
|
||||
<description><para>A case-sensitive, comma-separated list of event names
|
||||
to track. These event names do not include the leading <literal>AST_CEL</literal>.
|
||||
|
Reference in New Issue
Block a user