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

Mark Michelson reviewboard at asterisk.org
Tue Jul 10 13:48:15 CDT 2012


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

Ship it!


Looks good to me

- Mark


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/20120710/c88b9337/attachment.htm>


More information about the asterisk-dev mailing list