{"action":"created","issue":{"url":"https://api.github.com/repos/SUSE/zypper-docker/issues/24","labels_url":"https://api.github.com/repos/SUSE/zypper-docker/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/SUSE/zypper-docker/issues/24/comments","events_url":"https://api.github.com/repos/SUSE/zypper-docker/issues/24/events","html_url":"https://github.com/SUSE/zypper-docker/pull/24","id":99143834,"number":24,"title":"Apply patches","user":{"login":"flavio","id":22728,"avatar_url":"https://avatars.githubusercontent.com/u/22728?v=3","gravatar_id":"","url":"https://api.github.com/users/flavio","html_url":"https://github.com/flavio","followers_url":"https://api.github.com/users/flavio/followers","following_url":"https://api.github.com/users/flavio/following{/other_user}","gists_url":"https://api.github.com/users/flavio/gists{/gist_id}","starred_url":"https://api.github.com/users/flavio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flavio/subscriptions","organizations_url":"https://api.github.com/users/flavio/orgs","repos_url":"https://api.github.com/users/flavio/repos","events_url":"https://api.github.com/users/flavio/events{/privacy}","received_events_url":"https://api.github.com/users/flavio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-05T07:42:53Z","updated_at":"2015-08-05T12:33:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/SUSE/zypper-docker/pulls/24","html_url":"https://github.com/SUSE/zypper-docker/pull/24","diff_url":"https://github.com/SUSE/zypper-docker/pull/24.diff","patch_url":"https://github.com/SUSE/zypper-docker/pull/24.patch"},"body":"Initial implementation.\r\n\r\nI need some help to extend the tests and cover this part of `patches.go`:\r\n\r\n```go\r\n// It appends the set flags with the given command.\r\nfunc cmdWithFlags(cmd string, ctx *cli.Context) string {\r\n        for _, name := range ctx.FlagNames() {\r\n                // BEGIN UNCOVERED\r\n                if value := ctx.String(name); value != \"\" {\r\n                        var dash string\r\n                        if len(name) == 1 {\r\n                                dash = \"-\"\r\n                        } else {\r\n                                dash = \"--\"\r\n                        }\r\n\r\n                        cmd += fmt.Sprintf(\" %v%s %s\", dash, name, value)\r\n                }\r\n                // END UNCOVERED\r\n        }\r\n        return cmd\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/SUSE/zypper-docker/issues/comments/127982348","html_url":"https://github.com/SUSE/zypper-docker/pull/24#issuecomment-127982348","issue_url":"https://api.github.com/repos/SUSE/zypper-docker/issues/24","id":127982348,"user":{"login":"flavio","id":22728,"avatar_url":"https://avatars.githubusercontent.com/u/22728?v=3","gravatar_id":"","url":"https://api.github.com/users/flavio","html_url":"https://github.com/flavio","followers_url":"https://api.github.com/users/flavio/followers","following_url":"https://api.github.com/users/flavio/following{/other_user}","gists_url":"https://api.github.com/users/flavio/gists{/gist_id}","starred_url":"https://api.github.com/users/flavio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flavio/subscriptions","organizations_url":"https://api.github.com/users/flavio/orgs","repos_url":"https://api.github.com/users/flavio/repos","events_url":"https://api.github.com/users/flavio/events{/privacy}","received_events_url":"https://api.github.com/users/flavio/received_events","type":"User","site_admin":false},"created_at":"2015-08-05T12:33:36Z","updated_at":"2015-08-05T12:33:36Z","body":"> 3. Why did you remove the -race flag from the Makefile?\r\n\r\nI got an error about `-race` not being supported, I thought it was related with my images being using a patched version of your climate tool (do you remember my old PR?). I was wrong. I'm going to revert it."}}