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:
@@ -65,20 +65,26 @@
|
||||
<configInfo name="stasis" language="en_US">
|
||||
<configFile name="stasis.conf">
|
||||
<configObject name="threadpool">
|
||||
<since><version>12.8.0</version><version>13.1.0</version></since>
|
||||
<synopsis>Settings that configure the threadpool Stasis uses to deliver some messages.</synopsis>
|
||||
<configOption name="initial_size" default="5">
|
||||
<since><version>12.8.0</version><version>13.1.0</version></since>
|
||||
<synopsis>Initial number of threads in the message bus threadpool.</synopsis>
|
||||
</configOption>
|
||||
<configOption name="idle_timeout_sec" default="20">
|
||||
<since><version>12.8.0</version><version>13.1.0</version></since>
|
||||
<synopsis>Number of seconds before an idle thread is disposed of.</synopsis>
|
||||
</configOption>
|
||||
<configOption name="max_size" default="50">
|
||||
<since><version>12.8.0</version><version>13.1.0</version></since>
|
||||
<synopsis>Maximum number of threads in the threadpool.</synopsis>
|
||||
</configOption>
|
||||
</configObject>
|
||||
<configObject name="declined_message_types">
|
||||
<since><version>13.0.0</version></since>
|
||||
<synopsis>Stasis message types for which to decline creation.</synopsis>
|
||||
<configOption name="decline">
|
||||
<since><version>12.8.0</version><version>13.1.0</version></since>
|
||||
<synopsis>The message type to decline.</synopsis>
|
||||
<description>
|
||||
<para>This configuration option defines the name of the Stasis
|
||||
|
Reference in New Issue
Block a user