{"action":"created","issue":{"url":"https://api.github.com/repos/autotest/autotest-docker/issues/430","labels_url":"https://api.github.com/repos/autotest/autotest-docker/issues/430/labels{/name}","comments_url":"https://api.github.com/repos/autotest/autotest-docker/issues/430/comments","events_url":"https://api.github.com/repos/autotest/autotest-docker/issues/430/events","html_url":"https://github.com/autotest/autotest-docker/pull/430","id":51962744,"number":430,"title":"Fix build case + provide repo replace interface","user":{"login":"luwensu","id":7285310,"avatar_url":"https://avatars.githubusercontent.com/u/7285310?v=3","gravatar_id":"","url":"https://api.github.com/users/luwensu","html_url":"https://github.com/luwensu","followers_url":"https://api.github.com/users/luwensu/followers","following_url":"https://api.github.com/users/luwensu/following{/other_user}","gists_url":"https://api.github.com/users/luwensu/gists{/gist_id}","starred_url":"https://api.github.com/users/luwensu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luwensu/subscriptions","organizations_url":"https://api.github.com/users/luwensu/orgs","repos_url":"https://api.github.com/users/luwensu/repos","events_url":"https://api.github.com/users/luwensu/events{/privacy}","received_events_url":"https://api.github.com/users/luwensu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/autotest/autotest-docker/labels/Docker+Autotest+Bug","name":"Docker Autotest Bug","color":"006b75"},{"url":"https://api.github.com/repos/autotest/autotest-docker/labels/On+Milestone","name":"On Milestone","color":"8309cc"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/autotest/autotest-docker/milestones/12","labels_url":"https://api.github.com/repos/autotest/autotest-docker/milestones/12/labels","id":643879,"number":12,"title":"Dockertest Version 0.8.1 (API Changes)","description":"","creator":{"login":"cevich","id":1183438,"avatar_url":"https://avatars.githubusercontent.com/u/1183438?v=3","gravatar_id":"","url":"https://api.github.com/users/cevich","html_url":"https://github.com/cevich","followers_url":"https://api.github.com/users/cevich/followers","following_url":"https://api.github.com/users/cevich/following{/other_user}","gists_url":"https://api.github.com/users/cevich/gists{/gist_id}","starred_url":"https://api.github.com/users/cevich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cevich/subscriptions","organizations_url":"https://api.github.com/users/cevich/orgs","repos_url":"https://api.github.com/users/cevich/repos","events_url":"https://api.github.com/users/cevich/events{/privacy}","received_events_url":"https://api.github.com/users/cevich/received_events","type":"User","site_admin":false},"open_issues":26,"closed_issues":72,"state":"open","created_at":"2014-04-29T15:54:43Z","updated_at":"2015-01-12T20:06:16Z","due_on":"2014-11-28T08:00:00Z","closed_at":null},"comments":17,"created_at":"2014-12-15T09:05:53Z","updated_at":"2015-01-13T22:42:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/autotest/autotest-docker/pulls/430","html_url":"https://github.com/autotest/autotest-docker/pull/430","diff_url":"https://github.com/autotest/autotest-docker/pull/430.diff","patch_url":"https://github.com/autotest/autotest-docker/pull/430.patch"},"body":"1.Fix the build fails_msg\r\nThe commented line is for 'empty_base_image' and another one is based the rhel7 image\r\n2.Provide the repo replace interface\r\nUse two functions to find the Dockerfile's FROM token and replace its value which is what the repo is.\r\nAnd provide the configuration dockerfile_use_config_repo to control it\r\n\r\nSigned-off-by: Time Su <lsu@redhat.com>"},"comment":{"url":"https://api.github.com/repos/autotest/autotest-docker/issues/comments/69835930","html_url":"https://github.com/autotest/autotest-docker/pull/430#issuecomment-69835930","issue_url":"https://api.github.com/repos/autotest/autotest-docker/issues/430","id":69835930,"user":{"login":"cevich","id":1183438,"avatar_url":"https://avatars.githubusercontent.com/u/1183438?v=3","gravatar_id":"","url":"https://api.github.com/users/cevich","html_url":"https://github.com/cevich","followers_url":"https://api.github.com/users/cevich/followers","following_url":"https://api.github.com/users/cevich/following{/other_user}","gists_url":"https://api.github.com/users/cevich/gists{/gist_id}","starred_url":"https://api.github.com/users/cevich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cevich/subscriptions","organizations_url":"https://api.github.com/users/cevich/orgs","repos_url":"https://api.github.com/users/cevich/repos","events_url":"https://api.github.com/users/cevich/events{/privacy}","received_events_url":"https://api.github.com/users/cevich/received_events","type":"User","site_admin":false},"created_at":"2015-01-13T22:42:59Z","updated_at":"2015-01-13T22:42:59Z","body":"@luwensu ``re.sub()`` is your friend :smile:  Fixed the method your wrote accidentally truncating the output file.  No worries, everybody makes mistakes :wink:   Many more updates on https://github.com/cevich/autotest-docker/compare/luwensu-fix_build_replace_repo now have the cache test working and only some minor configuration tweaks are needed for the other tests.  Should be able to finish and merge this tomorrow."}}