{"action":"created","issue":{"url":"https://api.github.com/repos/volkszaehler/vzlogger/issues/130","labels_url":"https://api.github.com/repos/volkszaehler/vzlogger/issues/130/labels{/name}","comments_url":"https://api.github.com/repos/volkszaehler/vzlogger/issues/130/comments","events_url":"https://api.github.com/repos/volkszaehler/vzlogger/issues/130/events","html_url":"https://github.com/volkszaehler/vzlogger/issues/130","id":59275031,"number":130,"title":"Feature request: config-file editor \"make menuconfig\" like","user":{"login":"mbehr1","id":3258891,"avatar_url":"https://avatars.githubusercontent.com/u/3258891?v=3","gravatar_id":"","url":"https://api.github.com/users/mbehr1","html_url":"https://github.com/mbehr1","followers_url":"https://api.github.com/users/mbehr1/followers","following_url":"https://api.github.com/users/mbehr1/following{/other_user}","gists_url":"https://api.github.com/users/mbehr1/gists{/gist_id}","starred_url":"https://api.github.com/users/mbehr1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbehr1/subscriptions","organizations_url":"https://api.github.com/users/mbehr1/orgs","repos_url":"https://api.github.com/users/mbehr1/repos","events_url":"https://api.github.com/users/mbehr1/events{/privacy}","received_events_url":"https://api.github.com/users/mbehr1/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/volkszaehler/vzlogger/labels/Enhancement","name":"Enhancement","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-02-27T18:28:38Z","updated_at":"2015-03-26T12:23:52Z","closed_at":null,"body":"As more and more people struggle with the complexity of the configuration file I suggest to add a config-file editor like linux kernel \"make menuconfig\", raspi-config, opensips/makemenuconfig,...\r\n\r\nThe editor should support:\r\n  - taking the etc/vzlogger.conf as a template (incl. help text from comments)\r\n  - asking the customer which options to choose in a structure way (global options, adding meters? (add->d0->ask options)\r\n  - writing only the needed/configured options into a conf file\r\n  - reading of existing conf files and using this as preset input\r\n  - ...\r\n\r\nUsing this approach we could make the etc/vzlogger.conf much more complex/unreadable by adding more detailed comments, descriptions,... (instead of trying to keep the documentation in sync in the wiki or source or conf file...) and generate a specific config file easy to read, maintain and understand.\r\n\r\nWhat do you think about it? suggestions/comments welcome/requested.\r\n\r\nIs anybody aware of such an editor or some other tool/source to start with? (opensips/makemenuconfig might be a starting point providing a simple ncurses based implementation, json parsing/stuff to be added,...)\r\n"},"comment":{"url":"https://api.github.com/repos/volkszaehler/vzlogger/issues/comments/86488022","html_url":"https://github.com/volkszaehler/vzlogger/issues/130#issuecomment-86488022","issue_url":"https://api.github.com/repos/volkszaehler/vzlogger/issues/130","id":86488022,"user":{"login":"mbehr1","id":3258891,"avatar_url":"https://avatars.githubusercontent.com/u/3258891?v=3","gravatar_id":"","url":"https://api.github.com/users/mbehr1","html_url":"https://github.com/mbehr1","followers_url":"https://api.github.com/users/mbehr1/followers","following_url":"https://api.github.com/users/mbehr1/following{/other_user}","gists_url":"https://api.github.com/users/mbehr1/gists{/gist_id}","starred_url":"https://api.github.com/users/mbehr1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbehr1/subscriptions","organizations_url":"https://api.github.com/users/mbehr1/orgs","repos_url":"https://api.github.com/users/mbehr1/repos","events_url":"https://api.github.com/users/mbehr1/events{/privacy}","received_events_url":"https://api.github.com/users/mbehr1/received_events","type":"User","site_admin":false},"created_at":"2015-03-26T12:23:52Z","updated_at":"2015-03-26T12:23:52Z","body":"strange because I tested using a page that should (tm) use the same editor. I'll take a look. \n\nGruß\nMatthias \n\nSent from a mobile device. \n\n> Am 26.03.2015 um 10:25 schrieb andig <notifications@github.com>:\n> \n> Updated gh-pages. If you switch to that branch you can:\n> \n> edit the schema in the editor itself\n> then update schema.json which is committed as well\n> This seems buggy:\n> \n> \n> \n> Instead of being able to add a meter I need to make sure it's an array first. Problem with the schema or the editor?\n> \n> —\n> Reply to this email directly or view it on GitHub.\n> \n"}}