{"action":"created","issue":{"url":"https://api.github.com/repos/calamares/calamares-manjaro/issues/33","repository_url":"https://api.github.com/repos/calamares/calamares-manjaro","labels_url":"https://api.github.com/repos/calamares/calamares-manjaro/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/calamares/calamares-manjaro/issues/33/comments","events_url":"https://api.github.com/repos/calamares/calamares-manjaro/issues/33/events","html_url":"https://github.com/calamares/calamares-manjaro/issues/33","id":177539787,"number":33,"title":"yaml validation","user":{"login":"udeved","id":2798842,"avatar_url":"https://avatars.githubusercontent.com/u/2798842?v=3","gravatar_id":"","url":"https://api.github.com/users/udeved","html_url":"https://github.com/udeved","followers_url":"https://api.github.com/users/udeved/followers","following_url":"https://api.github.com/users/udeved/following{/other_user}","gists_url":"https://api.github.com/users/udeved/gists{/gist_id}","starred_url":"https://api.github.com/users/udeved/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/udeved/subscriptions","organizations_url":"https://api.github.com/users/udeved/orgs","repos_url":"https://api.github.com/users/udeved/repos","events_url":"https://api.github.com/users/udeved/events{/privacy}","received_events_url":"https://api.github.com/users/udeved/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/calamares/calamares-manjaro/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-09-16T23:25:39Z","updated_at":"2016-09-29T13:32:04Z","closed_at":null,"body":"https://calamares.io/bugs/browse/CAL-390\r\n\r\nContinuing here...\r\n\r\n```bash\r\npykwalify -d settings.yaml -s settings-schema.yaml\r\nINFO - validation.valid\r\n```\r\n\r\nSchema exists:\r\n- [x] settings.conf\r\n- [x] bootloader.conf\r\n- [x] grubcfg.conf\r\n- [x] luksopenswaphookcfg.conf\r\n- [x] packages.conf\r\n- [x] servicescfg.conf\r\n- [x] welcome.conf\r\n- [x] chrootcfg.conf\r\n- [x] initcpio.conf\r\n- [x] machineid.conf\r\n- [x] partition.conf\r\n- [x] services.conf\r\n- [x] displaymanager.conf\r\n- [x] keyboard.conf\r\n- [x] mhwdcfg.conf\r\n- [x] plymouthcfg.conf\r\n- [x] umount.conf\r\n- [x] finished.conf \r\n- [x] license.conf \r\n- [x] mount.conf\r\n- [x] postcfg.conf\r\n- [x] unpackfs.conf\r\n- [x] fstab.conf\r\n- [x] locale.conf\r\n- [x] netinstall.conf\r\n- [x] removeuser.conf\r\n- [x] users.conf\r\n\r\nhttps://github.com/manjaro/manjaro-tools/blob/master/data/schemas\r\n\r\n@teo \r\n\r\nIf you have use for the schemas let me know. \r\n\r\nToDo:\r\n * fix pykwalify package, something is wrong with python-yaml and python-dateutil version dep\r\n * conf files despite yaml are not accepted by pykwalify, they must have yaml extension\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/calamares/calamares-manjaro/issues/comments/250466594","html_url":"https://github.com/calamares/calamares-manjaro/issues/33#issuecomment-250466594","issue_url":"https://api.github.com/repos/calamares/calamares-manjaro/issues/33","id":250466594,"user":{"login":"udeved","id":2798842,"avatar_url":"https://avatars.githubusercontent.com/u/2798842?v=3","gravatar_id":"","url":"https://api.github.com/users/udeved","html_url":"https://github.com/udeved","followers_url":"https://api.github.com/users/udeved/followers","following_url":"https://api.github.com/users/udeved/following{/other_user}","gists_url":"https://api.github.com/users/udeved/gists{/gist_id}","starred_url":"https://api.github.com/users/udeved/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/udeved/subscriptions","organizations_url":"https://api.github.com/users/udeved/orgs","repos_url":"https://api.github.com/users/udeved/repos","events_url":"https://api.github.com/users/udeved/events{/privacy}","received_events_url":"https://api.github.com/users/udeved/received_events","type":"User","site_admin":false},"created_at":"2016-09-29T13:32:04Z","updated_at":"2016-09-29T13:32:04Z","body":"@teo \r\n\r\nI have moved the schemas temporarily in a separate repo.\r\nI was wondering, perhaps have a git sunmodule pull them from eg calamares/calamares-schemas?\r\nThis way you wouldn't get commits of schemas in source tree? They are not perfect yet, some data types need changes to text, but good enough to do a general validation.\r\n\r\nMy thought earlier was, with xsd and xml, you can have a data object, a dataset, which is generated from schema and initialized with data xml. You can then query the dataset with lambda whatever and do all kind of cool stuff with it. Its like some kind of object oriented tables."}}
{"actor":{"display_login":"udeved"}}