Re: [asterisk-users] CM for menuselect choices
On Friday 05 May 2017 at 16:52:39, Richard Kenner wrote: > > Of course, you might run into problems if the later release introduces > > new options (or deprecates old ones) which then aren't going to be in > > your makeopts file > > That's my question: how do I reflect the changes that I made to the > defaults in a way that's not dependent on the exact set of options > that each release has? I cannot think of a possible answer to that, because you are trying to guard against features in a future release which may not even have been considered by the developers yet. Maybe your best bet would be to take the default options file for the "current release" (whatever you regard that as), create a 'diff' between that and the file with your selections in, and then use that to 'patch' future options files, on the basis that any new options will then keep their (future) default values, and any still-existing options will be changed to your choices. The only problem I can immediately see is if an option stays, but its default gets changed, the patch file will no longer match - but at least you'll get an error message when you try to do the patching, and can investigate the problem. Regards, Antony. -- In Heaven, the beer is Belgian, the chefs are Italian, the supermarkets are British, the mechanics are German, the lovers are French, the entertainment is American, and everything is organised by the Swiss. In Hell, the beer is American, the chefs are British, the supermarkets are German, the mechanics are French, the lovers are Swiss, the entertainment is Belgian, and everything is organised by the Italians. Please reply to the list; please *don't* CC me. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] CM for menuselect choices
> Of course, you might run into problems if the later release introduces new > options (or deprecates old ones) which then aren't going to be in your > makeopts file That's my question: how do I reflect the changes that I made to the defaults in a way that's not dependent on the exact set of options that each release has? -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] CM for menuselect choices
On Friday 05 May 2017 at 16:21:20, Richard Kenner wrote: > I'd like to be able to save the choices made in menuselect in a way > that they can be tracked in a CM system and applied to a later release > of Asterisk using an automated tool like Ansible. What's the best > way to do that? menuselect should create a file containing your choices called menuselect.makeopts - that forms the input to the 'make' process which builds the binaries from the source tree. All you should need to do is copy menuselect.makeopts onto your target system and then run 'make && make install' etc in the usual way. Of course, you might run into problems if the later release introduces new options (or deprecates old ones) which then aren't going to be in your makeopts file, but at least it's a good place to start. Antony. -- I thought of going into banking, until I lost interest. Please reply to the list; please *don't* CC me. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] CM for menuselect choices
I'd like to be able to save the choices made in menuselect in a way that they can be tracked in a CM system and applied to a later release of Asterisk using an automated tool like Ansible. What's the best way to do that? -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users