{"action":"created","issue":{"url":"https://api.github.com/repos/alexlarsson/xdg-app/issues/100","labels_url":"https://api.github.com/repos/alexlarsson/xdg-app/issues/100/labels{/name}","comments_url":"https://api.github.com/repos/alexlarsson/xdg-app/issues/100/comments","events_url":"https://api.github.com/repos/alexlarsson/xdg-app/issues/100/events","html_url":"https://github.com/alexlarsson/xdg-app/issues/100","id":128425710,"number":100,"title":"xdg-app-builder manifests would be much nicer as YAML","user":{"login":"ssssam","id":6330,"avatar_url":"https://avatars.githubusercontent.com/u/6330?v=3","gravatar_id":"","url":"https://api.github.com/users/ssssam","html_url":"https://github.com/ssssam","followers_url":"https://api.github.com/users/ssssam/followers","following_url":"https://api.github.com/users/ssssam/following{/other_user}","gists_url":"https://api.github.com/users/ssssam/gists{/gist_id}","starred_url":"https://api.github.com/users/ssssam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssssam/subscriptions","organizations_url":"https://api.github.com/users/ssssam/orgs","repos_url":"https://api.github.com/users/ssssam/repos","events_url":"https://api.github.com/users/ssssam/events{/privacy}","received_events_url":"https://api.github.com/users/ssssam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-24T21:16:53Z","updated_at":"2016-01-29T17:47:22Z","closed_at":null,"body":"I think xdg-app-builder would be much better if manifests could be written as YAML. In YAML, you can have comments, and multiline strings. In JSON you can have neither, which makes it bad for writing build instructions.\r\n\r\nThis isn't very urgent because one can fairly easily write the manifest in YAML, then convert it to JSON. (`python -c \"import json, sys, yaml; data = yaml.load(sys.stdin); json.dump(data, sys,stdout)\"`). The bug is mostly to see if you are in favour if the idea.\r\n\r\nThe C library libyaml is probably the best bet for doing this, but it doesn't have any kind of GObject wrapping. Probably not trivial to give it an interface that matches what you get from json-glib\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/alexlarsson/xdg-app/issues/comments/176883678","html_url":"https://github.com/alexlarsson/xdg-app/issues/100#issuecomment-176883678","issue_url":"https://api.github.com/repos/alexlarsson/xdg-app/issues/100","id":176883678,"user":{"login":"ssssam","id":6330,"avatar_url":"https://avatars.githubusercontent.com/u/6330?v=3","gravatar_id":"","url":"https://api.github.com/users/ssssam","html_url":"https://github.com/ssssam","followers_url":"https://api.github.com/users/ssssam/followers","following_url":"https://api.github.com/users/ssssam/following{/other_user}","gists_url":"https://api.github.com/users/ssssam/gists{/gist_id}","starred_url":"https://api.github.com/users/ssssam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssssam/subscriptions","organizations_url":"https://api.github.com/users/ssssam/orgs","repos_url":"https://api.github.com/users/ssssam/repos","events_url":"https://api.github.com/users/ssssam/events{/privacy}","received_events_url":"https://api.github.com/users/ssssam/received_events","type":"User","site_admin":false},"created_at":"2016-01-29T17:47:22Z","updated_at":"2016-01-29T17:47:22Z","body":"One route to YAML support would be link against this fork of libyaml that allows converting a parsed libyaml document to a tree of JSON-GLib nodes, which would then let you use the GObject integration that JSON-GLib provides but use the libyaml parser.\r\n\r\nThat said, it seems unlikely that this branch would actually get merged, and it's not the cleanest solution to have ever existed .. to put it mildly..  https://bitbucket.org/samthursfield/libyaml/pull-requests/new?source=json-glib-integration&t=1"}}