Open tm1000 opened 12 years ago
I have implemented this already - pull request as soon as I've merged your latest changes.
I would like to suggest the following solution:
Note that, without #1, #2 may break some applications, so may need to be delayed until we can get confirmation from other application developers. The change in #1 is trivial. Change #3 will not break existing applications, so may be implemented immediately.
Change #1 also allows future-proofing of this library, to add other input types, e.g. "type: timezone", or "input: password"; in each case older applications will fall back to "input" types.
All of those options won't hurt FreePBX or Whistle because we ignore options we don't know. So you can proceed.
replace "glob" with "regex", I think. And warn people that the regex may be /some/path/file.*.bin
Allow users to select old or new firmware in system. Change files accordingly