{"action":"opened","number":19,"pull_request":{"url":"https://api.github.com/repos/openshift/ci-operator-prowgen/pulls/19","id":217395521,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE3Mzk1NTIx","html_url":"https://github.com/openshift/ci-operator-prowgen/pull/19","diff_url":"https://github.com/openshift/ci-operator-prowgen/pull/19.diff","patch_url":"https://github.com/openshift/ci-operator-prowgen/pull/19.patch","issue_url":"https://api.github.com/repos/openshift/ci-operator-prowgen/issues/19","number":19,"state":"open","locked":false,"title":"Refactor generator to write at the directory level","user":{"login":"stevekuznetsov","id":7328370,"node_id":"MDQ6VXNlcjczMjgzNzA=","avatar_url":"https://avatars1.githubusercontent.com/u/7328370?v=4","gravatar_id":"","url":"https://api.github.com/users/stevekuznetsov","html_url":"https://github.com/stevekuznetsov","followers_url":"https://api.github.com/users/stevekuznetsov/followers","following_url":"https://api.github.com/users/stevekuznetsov/following{/other_user}","gists_url":"https://api.github.com/users/stevekuznetsov/gists{/gist_id}","starred_url":"https://api.github.com/users/stevekuznetsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevekuznetsov/subscriptions","organizations_url":"https://api.github.com/users/stevekuznetsov/orgs","repos_url":"https://api.github.com/users/stevekuznetsov/repos","events_url":"https://api.github.com/users/stevekuznetsov/events{/privacy}","received_events_url":"https://api.github.com/users/stevekuznetsov/received_events","type":"User","site_admin":false},"body":"We want to enforce that jobs are sharded by the branch and the job type,\r\nwhich we can only do if we load and write at the directory level,\r\ninstead of the single file level. This patch reconfigured the generator\r\nand the determinizer to operate at the directory level and to shard jobs\r\nby branch and by job type.\r\n\r\nSigned-off-by: Steve Kuznetsov <skuznets@redhat.com>\r\n\r\n/assign @bbguimaraes @petr-muller ","created_at":"2018-09-21T20:38:36Z","updated_at":"2018-09-21T20:38:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/openshift/ci-operator-prowgen/pulls/19/commits","review_comments_url":"https://api.github.com/repos/openshift/ci-operator-prowgen/pulls/19/comments","review_comment_url":"https://api.github.com/repos/openshift/ci-operator-prowgen/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openshift/ci-operator-prowgen/issues/19/comments","statuses_url":"https://api.github.com/repos/openshift/ci-operator-prowgen/statuses/fc1c3a02af32deb4468885ed97da818ca1f3387d","head":{"label":"stevekuznetsov:skuznets/shard-by-branch","ref":"skuznets/shard-by-branch","sha":"fc1c3a02af32deb4468885ed97da818ca1f3387d","user":{"login":"stevekuznetsov","id":7328370,"node_id":"MDQ6VXNlcjczMjgzNzA=","avatar_url":"https://avatars1.githubusercontent.com/u/7328370?v=4","gravatar_id":"","url":"https://api.github.com/users/stevekuznetsov","html_url":"https://github.com/stevekuznetsov","followers_url":"https://api.github.com/users/stevekuznetsov/followers","following_url":"https://api.github.com/users/stevekuznetsov/following{/other_user}","gists_url":"https://api.github.com/users/stevekuznetsov/gists{/gist_id}","starred_url":"https://api.github.com/users/stevekuznetsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevekuznetsov/subscriptions","organizations_url":"https://api.github.com/users/stevekuznetsov/orgs","repos_url":"https://api.github.com/users/stevekuznetsov/repos","events_url":"https://api.github.com/users/stevekuznetsov/events{/privacy}","received_events_url":"https://api.github.com/users/stevekuznetsov/received_events","type":"User","site_admin":false},"repo":{"id":145900441,"node_id":"MDEwOlJlcG9zaXRvcnkxNDU5MDA0NDE=","name":"ci-operator-prowgen","full_name":"stevekuznetsov/ci-operator-prowgen","private":false,"owner":{"login":"stevekuznetsov","id":7328370,"node_id":"MDQ6VXNlcjczMjgzNzA=","avatar_url":"https://avatars1.githubusercontent.com/u/7328370?v=4","gravatar_id":"","url":"https://api.github.com/users/stevekuznetsov","html_url":"https://github.com/stevekuznetsov","followers_url":"https://api.github.com/users/stevekuznetsov/followers","following_url":"https://api.github.com/users/stevekuznetsov/following{/other_user}","gists_url":"https://api.github.com/users/stevekuznetsov/gists{/gist_id}","starred_url":"https://api.github.com/users/stevekuznetsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevekuznetsov/subscriptions","organizations_url":"https://api.github.com/users/stevekuznetsov/orgs","repos_url":"https://api.github.com/users/stevekuznetsov/repos","events_url":"https://api.github.com/users/stevekuznetsov/events{/privacy}","received_events_url":"https://api.github.com/users/stevekuznetsov/received_events","type":"User","site_admin":false},"html_url":"https://github.com/stevekuznetsov/ci-operator-prowgen","description":"A generator for Prow job configuration from CI Operator configuration","fork":true,"url":"https://api.github.com/repos/stevekuznetsov/ci-operator-prowgen","forks_url":"https://api.github.com/repos/stevekuznetsov/ci-operator-prowgen/forks","keys_url":"https://api.github.com/repos/stevekuznetsov/ci-operator-prowgen/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stevekuznetsov/ci-operator-prowgen/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stevekuznetsov/ci-operator-prowgen/teams","hooks_url":"https://api.github.com/repos/stevekuznetsov/ci-operator-prowgen/hooks","issue_events_url":"https://api.github.com/repos/stevekuznetsov/ci-operator-prowgen/issues/events{/number}","events_url":"https://api.github.com/repos/stevekuznetsov/ci-operator-prowgen/events","assignees_url":"https://api.github.com/repos/stevekuznetsov/ci-operator-prowgen/assignees{/user}","branches_url":"https://api.github.com/repos/stevekuznetsov/ci-operator-prowgen/branches{/branch}","tags_url":"https://api.github.com/repos/stevekuznetsov/ci-operator-prowgen/tags","blobs_url":"https://api.github.com/repos/stevekuznetsov/ci-operator-prowgen/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stevekuznetsov/ci-operator-prowgen/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stevekuznetsov/ci-operator-prowgen/git/refs{/sha}","trees_url":"https://api.github.com/repos/stevekuznetsov/ci-operator-prowgen/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stevekuznetsov/ci-operator-prowgen/statuses/{sha}","languages_url":"https://api.github.com/repos/stevekuznetsov/ci-operator-prowgen/languages","stargazers_url":"https://api.github.com/repos/stevekuznetsov/ci-operator-prowgen/stargazers","contributors_url":"https://api.github.com/repos/stevekuznetsov/ci-operator-prowgen/contributors","subscribers_url":"https://api.github.com/repos/stevekuznetsov/ci-operator-prowgen/subscribers","subscription_url":"https://api.github.com/repos/stevekuznetsov/ci-operator-prowgen/subscription","commits_url":"https://api.github.com/repos/stevekuznetsov/ci-operator-prowgen/commits{/sha}","git_commits_url":"https://api.github.com/repos/stevekuznetsov/ci-operator-prowgen/git/commits{/sha}","comments_url":"https://api.github.com/repos/stevekuznetsov/ci-operator-prowgen/comments{/number}","issue_comment_url":"https://api.github.com/repos/stevekuznetsov/ci-operator-prowgen/issues/comments{/number}","contents_url":"https://api.github.com/repos/stevekuznetsov/ci-operator-prowgen/contents/{+path}","compare_url":"https://api.github.com/repos/stevekuznetsov/ci-operator-prowgen/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stevekuznetsov/ci-operator-prowgen/merges","archive_url":"https://api.github.com/repos/stevekuznetsov/ci-operator-prowgen/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stevekuznetsov/ci-operator-prowgen/downloads","issues_url":"https://api.github.com/repos/stevekuznetsov/ci-operator-prowgen/issues{/number}","pulls_url":"https://api.github.com/repos/stevekuznetsov/ci-operator-prowgen/pulls{/number}","milestones_url":"https://api.github.com/repos/stevekuznetsov/ci-operator-prowgen/milestones{/number}","notifications_url":"https://api.github.com/repos/stevekuznetsov/ci-operator-prowgen/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stevekuznetsov/ci-operator-prowgen/labels{/name}","releases_url":"https://api.github.com/repos/stevekuznetsov/ci-operator-prowgen/releases{/id}","deployments_url":"https://api.github.com/repos/stevekuznetsov/ci-operator-prowgen/deployments","created_at":"2018-08-23T19:52:45Z","updated_at":"2018-08-23T19:52:47Z","pushed_at":"2018-09-21T20:36:41Z","git_url":"git://github.com/stevekuznetsov/ci-operator-prowgen.git","ssh_url":"git@github.com:stevekuznetsov/ci-operator-prowgen.git","clone_url":"https://github.com/stevekuznetsov/ci-operator-prowgen.git","svn_url":"https://github.com/stevekuznetsov/ci-operator-prowgen","homepage":null,"size":27102,"stargazers_count":0,"watchers_count":0,"language":"Makefile","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"openshift:master","ref":"master","sha":"9e7dfebf7afabdb8dce836723773e0eb243eee82","user":{"login":"openshift","id":792337,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc5MjMzNw==","avatar_url":"https://avatars3.githubusercontent.com/u/792337?v=4","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"repo":{"id":145899484,"node_id":"MDEwOlJlcG9zaXRvcnkxNDU4OTk0ODQ=","name":"ci-operator-prowgen","full_name":"openshift/ci-operator-prowgen","private":false,"owner":{"login":"openshift","id":792337,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc5MjMzNw==","avatar_url":"https://avatars3.githubusercontent.com/u/792337?v=4","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/openshift/ci-operator-prowgen","description":"A generator for Prow job configuration from CI Operator configuration","fork":false,"url":"https://api.github.com/repos/openshift/ci-operator-prowgen","forks_url":"https://api.github.com/repos/openshift/ci-operator-prowgen/forks","keys_url":"https://api.github.com/repos/openshift/ci-operator-prowgen/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openshift/ci-operator-prowgen/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openshift/ci-operator-prowgen/teams","hooks_url":"https://api.github.com/repos/openshift/ci-operator-prowgen/hooks","issue_events_url":"https://api.github.com/repos/openshift/ci-operator-prowgen/issues/events{/number}","events_url":"https://api.github.com/repos/openshift/ci-operator-prowgen/events","assignees_url":"https://api.github.com/repos/openshift/ci-operator-prowgen/assignees{/user}","branches_url":"https://api.github.com/repos/openshift/ci-operator-prowgen/branches{/branch}","tags_url":"https://api.github.com/repos/openshift/ci-operator-prowgen/tags","blobs_url":"https://api.github.com/repos/openshift/ci-operator-prowgen/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openshift/ci-operator-prowgen/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openshift/ci-operator-prowgen/git/refs{/sha}","trees_url":"https://api.github.com/repos/openshift/ci-operator-prowgen/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openshift/ci-operator-prowgen/statuses/{sha}","languages_url":"https://api.github.com/repos/openshift/ci-operator-prowgen/languages","stargazers_url":"https://api.github.com/repos/openshift/ci-operator-prowgen/stargazers","contributors_url":"https://api.github.com/repos/openshift/ci-operator-prowgen/contributors","subscribers_url":"https://api.github.com/repos/openshift/ci-operator-prowgen/subscribers","subscription_url":"https://api.github.com/repos/openshift/ci-operator-prowgen/subscription","commits_url":"https://api.github.com/repos/openshift/ci-operator-prowgen/commits{/sha}","git_commits_url":"https://api.github.com/repos/openshift/ci-operator-prowgen/git/commits{/sha}","comments_url":"https://api.github.com/repos/openshift/ci-operator-prowgen/comments{/number}","issue_comment_url":"https://api.github.com/repos/openshift/ci-operator-prowgen/issues/comments{/number}","contents_url":"https://api.github.com/repos/openshift/ci-operator-prowgen/contents/{+path}","compare_url":"https://api.github.com/repos/openshift/ci-operator-prowgen/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openshift/ci-operator-prowgen/merges","archive_url":"https://api.github.com/repos/openshift/ci-operator-prowgen/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openshift/ci-operator-prowgen/downloads","issues_url":"https://api.github.com/repos/openshift/ci-operator-prowgen/issues{/number}","pulls_url":"https://api.github.com/repos/openshift/ci-operator-prowgen/pulls{/number}","milestones_url":"https://api.github.com/repos/openshift/ci-operator-prowgen/milestones{/number}","notifications_url":"https://api.github.com/repos/openshift/ci-operator-prowgen/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openshift/ci-operator-prowgen/labels{/name}","releases_url":"https://api.github.com/repos/openshift/ci-operator-prowgen/releases{/id}","deployments_url":"https://api.github.com/repos/openshift/ci-operator-prowgen/deployments","created_at":"2018-08-23T19:42:28Z","updated_at":"2018-09-21T17:30:05Z","pushed_at":"2018-09-21T17:30:03Z","git_url":"git://github.com/openshift/ci-operator-prowgen.git","ssh_url":"git@github.com:openshift/ci-operator-prowgen.git","clone_url":"https://github.com/openshift/ci-operator-prowgen.git","svn_url":"https://github.com/openshift/ci-operator-prowgen","homepage":null,"size":27103,"stargazers_count":3,"watchers_count":3,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":5,"open_issues":4,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openshift/ci-operator-prowgen/pulls/19"},"html":{"href":"https://github.com/openshift/ci-operator-prowgen/pull/19"},"issue":{"href":"https://api.github.com/repos/openshift/ci-operator-prowgen/issues/19"},"comments":{"href":"https://api.github.com/repos/openshift/ci-operator-prowgen/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/openshift/ci-operator-prowgen/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/openshift/ci-operator-prowgen/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openshift/ci-operator-prowgen/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/openshift/ci-operator-prowgen/statuses/fc1c3a02af32deb4468885ed97da818ca1f3387d"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":960,"deletions":385,"changed_files":17}}
{"actor":{"display_login":"stevekuznetsov"}}