[Asterisk-code-review] config: Allow options to register when documentation is unav... (asterisk[13])

Joshua Colp asteriskteam at digium.com
Tue Jan 26 08:18:47 CST 2016


Joshua Colp has posted comments on this change.

Change subject: config: Allow options to register when documentation is unavailable.
......................................................................


Patch Set 1:

(1 comment)

https://gerrit.asterisk.org/#/c/2077/1/main/config_options.c
File main/config_options.c:

Line 721: 	if (opt->doc_unavailable) {
        : 		ast_log(LOG_ERROR, "Config option '%s' of type '%s' is not completely documented and can not be set\n", var->name, type->name);
        : 		return -1;
        : 	}
> I wonder: should we really only do these checks with dev mode enabled?
Yeah, we're in that blurry area between enforcement for a developer and end-user experience. I drift between both. On one hand allowing it to be set will still work. On the other hand your documentation be wack yo'. The only time that should matter though is if you then go looking, as a user, for documentation.


-- 
To view, visit https://gerrit.asterisk.org/2077
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Iec42fca6b35f31326c33fcdc25473f6fd7bc8af8
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Matt Jordan <mjordan at digium.com>
Gerrit-HasComments: Yes



More information about the asterisk-code-review mailing list