[asterisk-dev] [Code Review] Handle deprecated (aliased) option names with the config options api

Joshua Colp reviewboard at asterisk.org
Wed Jul 11 11:10:43 CDT 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2026/#review6666
-----------------------------------------------------------

Ship it!


- Joshua


On July 9, 2012, 6:18 p.m., Terry Wilson wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/2026/
> -----------------------------------------------------------
> 
> (Updated July 9, 2012, 6:18 p.m.)
> 
> 
> Review request for Asterisk Developers and Matt Jordan.
> 
> 
> Summary
> -------
> 
> Add a simple way to register "deprecated" option names that alias to a different "current" name.
> 
> 
> Diffs
> -----
> 
>   /trunk/tests/test_config.c 369856 
>   /trunk/main/config_options.c 369856 
>   /trunk/configs/config_test.conf.sample 369856 
>   /trunk/include/asterisk/config_options.h 369856 
> 
> Diff: https://reviewboard.asterisk.org/r/2026/diff
> 
> 
> Testing
> -------
> 
> Add deprecated options to the unit test and they pass.
> 
> 
> Thanks,
> 
> Terry
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20120711/78819ad2/attachment-0001.htm>


More information about the asterisk-dev mailing list