{"action":"created","issue":{"url":"https://api.github.com/repos/pimutils/vdirsyncer/issues/141","repository_url":"https://api.github.com/repos/pimutils/vdirsyncer","labels_url":"https://api.github.com/repos/pimutils/vdirsyncer/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/pimutils/vdirsyncer/issues/141/comments","events_url":"https://api.github.com/repos/pimutils/vdirsyncer/issues/141/events","html_url":"https://github.com/pimutils/vdirsyncer/issues/141","id":50502223,"number":141,"title":"Switch to a different config format","user":{"login":"untitaker","id":837573,"avatar_url":"https://avatars.githubusercontent.com/u/837573?v=3","gravatar_id":"","url":"https://api.github.com/users/untitaker","html_url":"https://github.com/untitaker","followers_url":"https://api.github.com/users/untitaker/followers","following_url":"https://api.github.com/users/untitaker/following{/other_user}","gists_url":"https://api.github.com/users/untitaker/gists{/gist_id}","starred_url":"https://api.github.com/users/untitaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/untitaker/subscriptions","organizations_url":"https://api.github.com/users/untitaker/orgs","repos_url":"https://api.github.com/users/untitaker/repos","events_url":"https://api.github.com/users/untitaker/events{/privacy}","received_events_url":"https://api.github.com/users/untitaker/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pimutils/vdirsyncer/labels/cat:%20ui","name":"cat: ui","color":"5319e7"},{"url":"https://api.github.com/repos/pimutils/vdirsyncer/labels/ready","name":"ready","color":"ededed"},{"url":"https://api.github.com/repos/pimutils/vdirsyncer/labels/type:%20bug","name":"type: bug","color":"eb6420"},{"url":"https://api.github.com/repos/pimutils/vdirsyncer/labels/type:%20enhancement","name":"type: enhancement","color":"bfd4f2"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/pimutils/vdirsyncer/milestones/5","html_url":"https://github.com/pimutils/vdirsyncer/milestones/1.0","labels_url":"https://api.github.com/repos/pimutils/vdirsyncer/milestones/5/labels","id":1226122,"number":5,"title":"1.0","description":"","creator":{"login":"untitaker","id":837573,"avatar_url":"https://avatars.githubusercontent.com/u/837573?v=3","gravatar_id":"","url":"https://api.github.com/users/untitaker","html_url":"https://github.com/untitaker","followers_url":"https://api.github.com/users/untitaker/followers","following_url":"https://api.github.com/users/untitaker/following{/other_user}","gists_url":"https://api.github.com/users/untitaker/gists{/gist_id}","starred_url":"https://api.github.com/users/untitaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/untitaker/subscriptions","organizations_url":"https://api.github.com/users/untitaker/orgs","repos_url":"https://api.github.com/users/untitaker/repos","events_url":"https://api.github.com/users/untitaker/events{/privacy}","received_events_url":"https://api.github.com/users/untitaker/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":16,"state":"open","created_at":"2015-07-26T11:46:44Z","updated_at":"2016-06-10T16:31:02Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2014-12-01T09:15:24Z","updated_at":"2016-06-16T19:54:10Z","closed_at":null,"body":"The current ConfigParser spaghetti tries to mimick most of its behavior, with section categories (storage, pair) and type guessing.\r\n\r\nConfigObj doesn't seem to be an option because its \"static\" spec file doesn't work well with just passing all kwargs to storage classes, it probably doesn't get in the way, but doesn't solve any problems either.\r\n\r\nWhat I'd basically need is something like the current INI-format, but with some kind of type system (i.e. like in JSON, a value unambiguously maps to a type, which probably means strings have to be quoted)\r\n\r\nThe options:\r\n\r\n- **TOML**: Basically has everything I need, but extremely unstable IMO, and\r\n  hardly a minimal config format. Python parsers exist, but AFAICT none of them\r\n  are really well-written. The most popular one seems to be\r\n  https://github.com/uiri/toml.\r\n\r\n  Leftover issue: toml-lang/toml#271 especially troubling in our case when\r\n  specifying paths and URLs.\r\n\r\n- **YAML**: External dependency is huge, config format technically fulfills our needs, but is a very far\r\n  departure from INI-like formats. It looks similar to Python, but in this context I don't like its syntax.\r\n"},"comment":{"url":"https://api.github.com/repos/pimutils/vdirsyncer/issues/comments/226594979","html_url":"https://github.com/pimutils/vdirsyncer/issues/141#issuecomment-226594979","issue_url":"https://api.github.com/repos/pimutils/vdirsyncer/issues/141","id":226594979,"user":{"login":"geier","id":275330,"avatar_url":"https://avatars.githubusercontent.com/u/275330?v=3","gravatar_id":"","url":"https://api.github.com/users/geier","html_url":"https://github.com/geier","followers_url":"https://api.github.com/users/geier/followers","following_url":"https://api.github.com/users/geier/following{/other_user}","gists_url":"https://api.github.com/users/geier/gists{/gist_id}","starred_url":"https://api.github.com/users/geier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geier/subscriptions","organizations_url":"https://api.github.com/users/geier/orgs","repos_url":"https://api.github.com/users/geier/repos","events_url":"https://api.github.com/users/geier/events{/privacy}","received_events_url":"https://api.github.com/users/geier/received_events","type":"User","site_admin":false},"created_at":"2016-06-16T19:54:10Z","updated_at":"2016-06-16T19:54:10Z","body":"I'm very much in favor of TOML."}}
{"actor":{"display_login":"geier"}}