mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 11:25:35 +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.
(cherry picked from commit f70670841b
)
This commit is contained in:
committed by
Asterisk Development Team
parent
0599f3a869
commit
ded24e3375
@@ -38,17 +38,22 @@
|
||||
<synopsis>Asterisk External Application Protocol (AEAP) module for Asterisk</synopsis>
|
||||
<configFile name="aeap.conf">
|
||||
<configObject name="client">
|
||||
<since><version>18.12.0</version><version>19.4.0</version></since>
|
||||
<synopsis>AEAP client options</synopsis>
|
||||
<configOption name="type">
|
||||
<since><version>18.12.0</version><version>19.4.0</version></since>
|
||||
<synopsis>Must be of type 'client'.</synopsis>
|
||||
</configOption>
|
||||
<configOption name="url">
|
||||
<since><version>18.12.0</version><version>19.4.0</version></since>
|
||||
<synopsis>The URL of the server to connect to.</synopsis>
|
||||
</configOption>
|
||||
<configOption name="protocol">
|
||||
<since><version>18.12.0</version><version>19.4.0</version></since>
|
||||
<synopsis>The application protocol.</synopsis>
|
||||
</configOption>
|
||||
<configOption name="codecs">
|
||||
<since><version>18.12.0</version><version>19.4.0</version></since>
|
||||
<synopsis>Optional media codec(s)</synopsis>
|
||||
<description><para>
|
||||
If this is specified, Asterisk will use this for codec related negotiations
|
||||
|
Reference in New Issue
Block a user