{"action":"closed","number":1500,"pull_request":{"url":"https://api.github.com/repos/openshift/aos-cd-jobs/pulls/1500","id":198146041,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4MTQ2MDQx","html_url":"https://github.com/openshift/aos-cd-jobs/pull/1500","diff_url":"https://github.com/openshift/aos-cd-jobs/pull/1500.diff","patch_url":"https://github.com/openshift/aos-cd-jobs/pull/1500.patch","issue_url":"https://api.github.com/repos/openshift/aos-cd-jobs/issues/1500","number":1500,"state":"closed","locked":false,"title":"Add functions to compare and sort version strings, and to select \"build mode\" automatically","user":{"login":"markllama","id":217372,"node_id":"MDQ6VXNlcjIxNzM3Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/217372?v=4","gravatar_id":"","url":"https://api.github.com/users/markllama","html_url":"https://github.com/markllama","followers_url":"https://api.github.com/users/markllama/followers","following_url":"https://api.github.com/users/markllama/following{/other_user}","gists_url":"https://api.github.com/users/markllama/gists{/gist_id}","starred_url":"https://api.github.com/users/markllama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markllama/subscriptions","organizations_url":"https://api.github.com/users/markllama/orgs","repos_url":"https://api.github.com/users/markllama/repos","events_url":"https://api.github.com/users/markllama/events{/privacy}","received_events_url":"https://api.github.com/users/markllama/received_events","type":"User","site_admin":false},"body":"This change adds seven (7) functions to the `pipeline-scripts/buildlib.groovy` library:\r\n\r\n*`get_branches()` - get the list of branches from a github remote repository\r\n* `get_releases()` - get the list of release numbers from a github remote repository branch list\r\n* `get_single_file()` - get a single file from a github repo (given an OAuth key)\r\n* `sort_versions()` - sort version strings\r\n* `cmp_version()` - compare version strings\r\n* `eq_version()` - determine if two version strings are equal\r\n* `auto_mode()` - select the _build mode_ for a build when given only the desired version\r\n\r\nThese functions together will make it possible to allow users of the Jenkins CD build service of OCP to let the _build mode_ default when they give the version they wish to build.\r\n\r\nAdditional work is needed to integrate this functionality into the build jobs.","created_at":"2018-06-28T20:36:39Z","updated_at":"2018-06-29T13:36:22Z","closed_at":"2018-06-29T13:36:22Z","merged_at":"2018-06-29T13:36:22Z","merge_commit_sha":"d7b21e548c42510cf0121d57c4bdcfc2196b8028","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":686339301,"node_id":"MDU6TGFiZWw2ODYzMzkzMDE=","url":"https://api.github.com/repos/openshift/aos-cd-jobs/labels/size/XL","name":"size/XL","color":"ee5500","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/openshift/aos-cd-jobs/pulls/1500/commits","review_comments_url":"https://api.github.com/repos/openshift/aos-cd-jobs/pulls/1500/comments","review_comment_url":"https://api.github.com/repos/openshift/aos-cd-jobs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openshift/aos-cd-jobs/issues/1500/comments","statuses_url":"https://api.github.com/repos/openshift/aos-cd-jobs/statuses/4ac31fbca23c9354ff63b64c83e34b40e6706dfe","head":{"label":"markllama:auto-mode","ref":"auto-mode","sha":"4ac31fbca23c9354ff63b64c83e34b40e6706dfe","user":{"login":"markllama","id":217372,"node_id":"MDQ6VXNlcjIxNzM3Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/217372?v=4","gravatar_id":"","url":"https://api.github.com/users/markllama","html_url":"https://github.com/markllama","followers_url":"https://api.github.com/users/markllama/followers","following_url":"https://api.github.com/users/markllama/following{/other_user}","gists_url":"https://api.github.com/users/markllama/gists{/gist_id}","starred_url":"https://api.github.com/users/markllama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markllama/subscriptions","organizations_url":"https://api.github.com/users/markllama/orgs","repos_url":"https://api.github.com/users/markllama/repos","events_url":"https://api.github.com/users/markllama/events{/privacy}","received_events_url":"https://api.github.com/users/markllama/received_events","type":"User","site_admin":false},"repo":{"id":117279096,"node_id":"MDEwOlJlcG9zaXRvcnkxMTcyNzkwOTY=","name":"aos-cd-jobs","full_name":"markllama/aos-cd-jobs","owner":{"login":"markllama","id":217372,"node_id":"MDQ6VXNlcjIxNzM3Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/217372?v=4","gravatar_id":"","url":"https://api.github.com/users/markllama","html_url":"https://github.com/markllama","followers_url":"https://api.github.com/users/markllama/followers","following_url":"https://api.github.com/users/markllama/following{/other_user}","gists_url":"https://api.github.com/users/markllama/gists{/gist_id}","starred_url":"https://api.github.com/users/markllama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markllama/subscriptions","organizations_url":"https://api.github.com/users/markllama/orgs","repos_url":"https://api.github.com/users/markllama/repos","events_url":"https://api.github.com/users/markllama/events{/privacy}","received_events_url":"https://api.github.com/users/markllama/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/markllama/aos-cd-jobs","description":null,"fork":true,"url":"https://api.github.com/repos/markllama/aos-cd-jobs","forks_url":"https://api.github.com/repos/markllama/aos-cd-jobs/forks","keys_url":"https://api.github.com/repos/markllama/aos-cd-jobs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/markllama/aos-cd-jobs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/markllama/aos-cd-jobs/teams","hooks_url":"https://api.github.com/repos/markllama/aos-cd-jobs/hooks","issue_events_url":"https://api.github.com/repos/markllama/aos-cd-jobs/issues/events{/number}","events_url":"https://api.github.com/repos/markllama/aos-cd-jobs/events","assignees_url":"https://api.github.com/repos/markllama/aos-cd-jobs/assignees{/user}","branches_url":"https://api.github.com/repos/markllama/aos-cd-jobs/branches{/branch}","tags_url":"https://api.github.com/repos/markllama/aos-cd-jobs/tags","blobs_url":"https://api.github.com/repos/markllama/aos-cd-jobs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/markllama/aos-cd-jobs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/markllama/aos-cd-jobs/git/refs{/sha}","trees_url":"https://api.github.com/repos/markllama/aos-cd-jobs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/markllama/aos-cd-jobs/statuses/{sha}","languages_url":"https://api.github.com/repos/markllama/aos-cd-jobs/languages","stargazers_url":"https://api.github.com/repos/markllama/aos-cd-jobs/stargazers","contributors_url":"https://api.github.com/repos/markllama/aos-cd-jobs/contributors","subscribers_url":"https://api.github.com/repos/markllama/aos-cd-jobs/subscribers","subscription_url":"https://api.github.com/repos/markllama/aos-cd-jobs/subscription","commits_url":"https://api.github.com/repos/markllama/aos-cd-jobs/commits{/sha}","git_commits_url":"https://api.github.com/repos/markllama/aos-cd-jobs/git/commits{/sha}","comments_url":"https://api.github.com/repos/markllama/aos-cd-jobs/comments{/number}","issue_comment_url":"https://api.github.com/repos/markllama/aos-cd-jobs/issues/comments{/number}","contents_url":"https://api.github.com/repos/markllama/aos-cd-jobs/contents/{+path}","compare_url":"https://api.github.com/repos/markllama/aos-cd-jobs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/markllama/aos-cd-jobs/merges","archive_url":"https://api.github.com/repos/markllama/aos-cd-jobs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/markllama/aos-cd-jobs/downloads","issues_url":"https://api.github.com/repos/markllama/aos-cd-jobs/issues{/number}","pulls_url":"https://api.github.com/repos/markllama/aos-cd-jobs/pulls{/number}","milestones_url":"https://api.github.com/repos/markllama/aos-cd-jobs/milestones{/number}","notifications_url":"https://api.github.com/repos/markllama/aos-cd-jobs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/markllama/aos-cd-jobs/labels{/name}","releases_url":"https://api.github.com/repos/markllama/aos-cd-jobs/releases{/id}","deployments_url":"https://api.github.com/repos/markllama/aos-cd-jobs/deployments","created_at":"2018-01-12T19:17:42Z","updated_at":"2018-06-27T20:17:48Z","pushed_at":"2018-06-29T13:18:43Z","git_url":"git://github.com/markllama/aos-cd-jobs.git","ssh_url":"git@github.com:markllama/aos-cd-jobs.git","clone_url":"https://github.com/markllama/aos-cd-jobs.git","svn_url":"https://github.com/markllama/aos-cd-jobs","homepage":null,"size":14417,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"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":"e66d27dc65b3af3a9785a791518f4f56704db831","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":78675769,"node_id":"MDEwOlJlcG9zaXRvcnk3ODY3NTc2OQ==","name":"aos-cd-jobs","full_name":"openshift/aos-cd-jobs","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},"private":false,"html_url":"https://github.com/openshift/aos-cd-jobs","description":null,"fork":false,"url":"https://api.github.com/repos/openshift/aos-cd-jobs","forks_url":"https://api.github.com/repos/openshift/aos-cd-jobs/forks","keys_url":"https://api.github.com/repos/openshift/aos-cd-jobs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openshift/aos-cd-jobs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openshift/aos-cd-jobs/teams","hooks_url":"https://api.github.com/repos/openshift/aos-cd-jobs/hooks","issue_events_url":"https://api.github.com/repos/openshift/aos-cd-jobs/issues/events{/number}","events_url":"https://api.github.com/repos/openshift/aos-cd-jobs/events","assignees_url":"https://api.github.com/repos/openshift/aos-cd-jobs/assignees{/user}","branches_url":"https://api.github.com/repos/openshift/aos-cd-jobs/branches{/branch}","tags_url":"https://api.github.com/repos/openshift/aos-cd-jobs/tags","blobs_url":"https://api.github.com/repos/openshift/aos-cd-jobs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openshift/aos-cd-jobs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openshift/aos-cd-jobs/git/refs{/sha}","trees_url":"https://api.github.com/repos/openshift/aos-cd-jobs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openshift/aos-cd-jobs/statuses/{sha}","languages_url":"https://api.github.com/repos/openshift/aos-cd-jobs/languages","stargazers_url":"https://api.github.com/repos/openshift/aos-cd-jobs/stargazers","contributors_url":"https://api.github.com/repos/openshift/aos-cd-jobs/contributors","subscribers_url":"https://api.github.com/repos/openshift/aos-cd-jobs/subscribers","subscription_url":"https://api.github.com/repos/openshift/aos-cd-jobs/subscription","commits_url":"https://api.github.com/repos/openshift/aos-cd-jobs/commits{/sha}","git_commits_url":"https://api.github.com/repos/openshift/aos-cd-jobs/git/commits{/sha}","comments_url":"https://api.github.com/repos/openshift/aos-cd-jobs/comments{/number}","issue_comment_url":"https://api.github.com/repos/openshift/aos-cd-jobs/issues/comments{/number}","contents_url":"https://api.github.com/repos/openshift/aos-cd-jobs/contents/{+path}","compare_url":"https://api.github.com/repos/openshift/aos-cd-jobs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openshift/aos-cd-jobs/merges","archive_url":"https://api.github.com/repos/openshift/aos-cd-jobs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openshift/aos-cd-jobs/downloads","issues_url":"https://api.github.com/repos/openshift/aos-cd-jobs/issues{/number}","pulls_url":"https://api.github.com/repos/openshift/aos-cd-jobs/pulls{/number}","milestones_url":"https://api.github.com/repos/openshift/aos-cd-jobs/milestones{/number}","notifications_url":"https://api.github.com/repos/openshift/aos-cd-jobs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openshift/aos-cd-jobs/labels{/name}","releases_url":"https://api.github.com/repos/openshift/aos-cd-jobs/releases{/id}","deployments_url":"https://api.github.com/repos/openshift/aos-cd-jobs/deployments","created_at":"2017-01-11T20:14:22Z","updated_at":"2018-06-27T13:41:39Z","pushed_at":"2018-06-29T13:36:22Z","git_url":"git://github.com/openshift/aos-cd-jobs.git","ssh_url":"git@github.com:openshift/aos-cd-jobs.git","clone_url":"https://github.com/openshift/aos-cd-jobs.git","svn_url":"https://github.com/openshift/aos-cd-jobs","homepage":null,"size":16893,"stargazers_count":20,"watchers_count":20,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":88,"mirror_url":null,"archived":false,"open_issues_count":46,"license":null,"forks":88,"open_issues":46,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openshift/aos-cd-jobs/pulls/1500"},"html":{"href":"https://github.com/openshift/aos-cd-jobs/pull/1500"},"issue":{"href":"https://api.github.com/repos/openshift/aos-cd-jobs/issues/1500"},"comments":{"href":"https://api.github.com/repos/openshift/aos-cd-jobs/issues/1500/comments"},"review_comments":{"href":"https://api.github.com/repos/openshift/aos-cd-jobs/pulls/1500/comments"},"review_comment":{"href":"https://api.github.com/repos/openshift/aos-cd-jobs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openshift/aos-cd-jobs/pulls/1500/commits"},"statuses":{"href":"https://api.github.com/repos/openshift/aos-cd-jobs/statuses/4ac31fbca23c9354ff63b64c83e34b40e6706dfe"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"tbielawa","id":33121,"node_id":"MDQ6VXNlcjMzMTIx","avatar_url":"https://avatars3.githubusercontent.com/u/33121?v=4","gravatar_id":"","url":"https://api.github.com/users/tbielawa","html_url":"https://github.com/tbielawa","followers_url":"https://api.github.com/users/tbielawa/followers","following_url":"https://api.github.com/users/tbielawa/following{/other_user}","gists_url":"https://api.github.com/users/tbielawa/gists{/gist_id}","starred_url":"https://api.github.com/users/tbielawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbielawa/subscriptions","organizations_url":"https://api.github.com/users/tbielawa/orgs","repos_url":"https://api.github.com/users/tbielawa/repos","events_url":"https://api.github.com/users/tbielawa/events{/privacy}","received_events_url":"https://api.github.com/users/tbielawa/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":550,"deletions":0,"changed_files":3}}
{"actor":{"display_login":"tbielawa"}}