{"action":"created","issue":{"url":"https://api.github.com/repos/Katello/katello-installer/issues/382","repository_url":"https://api.github.com/repos/Katello/katello-installer","labels_url":"https://api.github.com/repos/Katello/katello-installer/issues/382/labels{/name}","comments_url":"https://api.github.com/repos/Katello/katello-installer/issues/382/comments","events_url":"https://api.github.com/repos/Katello/katello-installer/issues/382/events","html_url":"https://github.com/Katello/katello-installer/pull/382","id":168708382,"number":382,"title":"fixes #15938 - generate parser cache for kafo","user":{"login":"komidore64","id":1020555,"avatar_url":"https://avatars.githubusercontent.com/u/1020555?v=3","gravatar_id":"","url":"https://api.github.com/users/komidore64","html_url":"https://github.com/komidore64","followers_url":"https://api.github.com/users/komidore64/followers","following_url":"https://api.github.com/users/komidore64/following{/other_user}","gists_url":"https://api.github.com/users/komidore64/gists{/gist_id}","starred_url":"https://api.github.com/users/komidore64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/komidore64/subscriptions","organizations_url":"https://api.github.com/users/komidore64/orgs","repos_url":"https://api.github.com/users/komidore64/repos","events_url":"https://api.github.com/users/komidore64/events{/privacy}","received_events_url":"https://api.github.com/users/komidore64/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Katello/katello-installer/labels/Needs%20re-review","name":"Needs re-review","color":"0052cc"},{"url":"https://api.github.com/repos/Katello/katello-installer/labels/Needs%20testing","name":"Needs testing","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":41,"created_at":"2016-08-01T18:20:49Z","updated_at":"2016-08-29T20:27:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Katello/katello-installer/pulls/382","html_url":"https://github.com/Katello/katello-installer/pull/382","diff_url":"https://github.com/Katello/katello-installer/pull/382.diff","patch_url":"https://github.com/Katello/katello-installer/pull/382.patch"},"body":"depends on theforeman/kafo#166."},"comment":{"url":"https://api.github.com/repos/Katello/katello-installer/issues/comments/243244962","html_url":"https://github.com/Katello/katello-installer/pull/382#issuecomment-243244962","issue_url":"https://api.github.com/repos/Katello/katello-installer/issues/382","id":243244962,"user":{"login":"beav","id":563254,"avatar_url":"https://avatars.githubusercontent.com/u/563254?v=3","gravatar_id":"","url":"https://api.github.com/users/beav","html_url":"https://github.com/beav","followers_url":"https://api.github.com/users/beav/followers","following_url":"https://api.github.com/users/beav/following{/other_user}","gists_url":"https://api.github.com/users/beav/gists{/gist_id}","starred_url":"https://api.github.com/users/beav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beav/subscriptions","organizations_url":"https://api.github.com/users/beav/orgs","repos_url":"https://api.github.com/users/beav/repos","events_url":"https://api.github.com/users/beav/events{/privacy}","received_events_url":"https://api.github.com/users/beav/received_events","type":"User","site_admin":false},"created_at":"2016-08-29T20:27:14Z","updated_at":"2016-08-29T20:27:14Z","body":"@komidore64 and I took a look at this, it appears that this is causing the cache to not get picked up:\r\n\r\n```ruby\r\n        if !cache.is_a?(Hash) || cache[:version] != PARSER_CACHE_VERSION || !cache[:files].is_a?(Hash)\r\n          logger.warn \"Parser cache #{cache_paths[i]} is from a different version of Kafo, skipping setup\"\r\n          return nil\r\n        end\r\n```\r\n\r\nThe `katello.yaml` in the scratch build will be false for the first condition, but true for the second two."}}
{"actor":{"display_login":"beav"}}