{"action":"created","comment":{"url":"https://api.github.com/repos/jenkins-x/jx/pulls/comments/232575659","pull_request_review_id":173800166,"id":232575659,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMjU3NTY1OQ==","diff_hunk":"@@ -0,0 +1,245 @@\n+package io\n+\n+import (\n+\t\"fmt\"\n+\t\"io/ioutil\"\n+\t\"os\"\n+\t\"strings\"\n+\n+\t\"github.com/pkg/errors\"\n+\n+\t\"github.com/jenkins-x/jx/pkg/auth\"\n+\t\"github.com/jenkins-x/jx/pkg/kube\"\n+\t\"github.com/jenkins-x/jx/pkg/util\"\n+\tyaml \"gopkg.in/yaml.v2\"\n+\tcorev1 \"k8s.io/api/core/v1\"\n+\tmetav1 \"k8s.io/apimachinery/pkg/apis/meta/v1\"\n+\t\"k8s.io/client-go/kubernetes\"\n+)\n+\n+//ConfigReader interface for reading auth configuration\n+type ConfigReader interface {\n+\tRead() (*auth.Config, error)\n+}\n+\n+//FileConfigReader keeps the path to the configration file\n+type FileConfigReader struct {\n+\tfilename string\n+}\n+\n+//NewFileConfigReader creates a new file config reader\n+func NewFileConfigReader(filename string) ConfigReader {\n+\treturn &FileConfigReader{\n+\t\tfilename: filename,\n+\t}\n+}\n+\n+//Read reads the configuration from a file\n+func (f *FileConfigReader) Read() (*auth.Config, error) {\n+\tconfig := &auth.Config{}\n+\tif f.filename == \"\" {\n+\t\treturn nil, errors.New(\"No config file name defined\")\n+\t}\n+\texists, err := util.FileExists(f.filename)\n+\tif err != nil {\n+\t\treturn nil, errors.Wrapf(err, \"checking if the file config file '%s' exits\", f.filename)\n+\t}\n+\tif !exists {\n+\t\treturn nil, fmt.Errorf(\"Config file '%s' does not exist\", f.filename)\n+\t}\n+\tcontent, err := ioutil.ReadFile(f.filename)\n+\tif err != nil {\n+\t\treturn nil, errors.Wrapf(err, \"reading the content of config file '%s'\", f.filename)\n+\t}\n+\terr = yaml.Unmarshal(content, config)\n+\tif err != nil {\n+\t\treturn nil, errors.Wrapf(err, \"unmarshaling the content of config file '%s'\", f.filename)\n+\t}\n+\treturn config, nil\n+}\n+\n+//ServerRetrieverFn retrives the server config\n+type ServerRetrieverFn func() (name string, url string,\n+\tkind auth.ServerKind, serviceKind auth.ServiceKind)\n+\n+//EventConfigReader keeps the prefix of the env variables where the user auth config is stored\n+// and also a server config retriever\n+type EnvConfigReader struct {\n+\tprefix          string\n+\tserverRetriever ServerRetrieverFn\n+}\n+\n+const (\n+\tusernameSuffix    = \"_USERNAME\"\n+\tapiTokenSuffix    = \"_API_TOKEN\"\n+\tbearerTokenSuffix = \"_BEARER_TOKEN\"\n+\tDefaultUsername   = \"dummy\"","path":"pkg/io/config_readers.go","position":76,"original_position":76,"commit_id":"3bbdb04fb1fcdaf822ce41437943c9366d43de61","original_commit_id":"3bbdb04fb1fcdaf822ce41437943c9366d43de61","user":{"login":"houndci-bot","id":6697940,"node_id":"MDQ6VXNlcjY2OTc5NDA=","avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"exported const DefaultUsername should have comment (or a comment on this block) or be unexported","created_at":"2018-11-12T09:02:13Z","updated_at":"2018-11-12T09:02:16Z","html_url":"https://github.com/jenkins-x/jx/pull/2213#discussion_r232575659","pull_request_url":"https://api.github.com/repos/jenkins-x/jx/pulls/2213","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/jenkins-x/jx/pulls/comments/232575659"},"html":{"href":"https://github.com/jenkins-x/jx/pull/2213#discussion_r232575659"},"pull_request":{"href":"https://api.github.com/repos/jenkins-x/jx/pulls/2213"}}},"pull_request":{"url":"https://api.github.com/repos/jenkins-x/jx/pulls/2213","id":229408299,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI5NDA4Mjk5","html_url":"https://github.com/jenkins-x/jx/pull/2213","diff_url":"https://github.com/jenkins-x/jx/pull/2213.diff","patch_url":"https://github.com/jenkins-x/jx/pull/2213.patch","issue_url":"https://api.github.com/repos/jenkins-x/jx/issues/2213","number":2213,"state":"open","locked":false,"title":"refactor(auth config): create the building blocks for refactoring the current auth config (updated data model, readers and writers)","user":{"login":"ccojocar","id":591127,"node_id":"MDQ6VXNlcjU5MTEyNw==","avatar_url":"https://avatars1.githubusercontent.com/u/591127?v=4","gravatar_id":"","url":"https://api.github.com/users/ccojocar","html_url":"https://github.com/ccojocar","followers_url":"https://api.github.com/users/ccojocar/followers","following_url":"https://api.github.com/users/ccojocar/following{/other_user}","gists_url":"https://api.github.com/users/ccojocar/gists{/gist_id}","starred_url":"https://api.github.com/users/ccojocar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ccojocar/subscriptions","organizations_url":"https://api.github.com/users/ccojocar/orgs","repos_url":"https://api.github.com/users/ccojocar/repos","events_url":"https://api.github.com/users/ccojocar/events{/privacy}","received_events_url":"https://api.github.com/users/ccojocar/received_events","type":"User","site_admin":false},"body":"<!--  Thanks for sending a pull request!  Here are some tips for you:\r\n1. If this is your first PR, read our contributor guidelines https://jenkins-x.io/contribute/\r\n2. Follow these instructions to write commit messages http://karma-runner.github.io/3.0/dev/git-commit-msg.html\r\n3. Follow these instructions to write tests https://jenkins-x.io/contribute/development/#testing\r\n4. You can trigger the tests for your PR with /test bdd\r\n5. If you want *faster* PR reviews, read how: https://git.k8s.io/community/contributors/guide/pull-requests.md#best-practices-for-faster-reviews\r\n6. If the PR is unfinished, see how to mark it: https://git.k8s.io/community/contributors/guide/pull-requests.md#marking-unfinished-pull-requests\r\n-->\r\n\r\n#### Submitter checklist\r\n\r\n- [x] Change is code complete and matches issue description.\r\n- [x] Change is covered by existing or new tests.\r\n\r\n#### Description\r\n\r\nImplements some building blocks for refactoring the current auth config, such as:\r\n- Updates the config data model to reflect the current type of users and servers\r\n- Implements readers for getting the config from a local file, environment variables and Kubernetes secrets\r\n- Implements writers to store the config into a local file or Kubernetes secrets\r\n- Tests which cover the added functionality\r\n\r\nAlso it implements  a fix for Git providers when created in the cluster with pipeline user \r\nand adds tests for git provider creation.\r\n\r\n#### Special notes for the reviewer(s)\r\n\r\nThe Git provider fix is in the last commit.\r\n\r\n#### Which issue this PR fixes\r\n\r\nfixes #\r\n\r\n<!--\r\noptional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged\r\n-->","created_at":"2018-11-08T15:38:19Z","updated_at":"2018-11-12T09:02:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"055ef97a01712768cfa3a693ab3eb9b071fc38b6","assignee":null,"assignees":[],"requested_reviewers":[{"login":"i0n","id":56937,"node_id":"MDQ6VXNlcjU2OTM3","avatar_url":"https://avatars3.githubusercontent.com/u/56937?v=4","gravatar_id":"","url":"https://api.github.com/users/i0n","html_url":"https://github.com/i0n","followers_url":"https://api.github.com/users/i0n/followers","following_url":"https://api.github.com/users/i0n/following{/other_user}","gists_url":"https://api.github.com/users/i0n/gists{/gist_id}","starred_url":"https://api.github.com/users/i0n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/i0n/subscriptions","organizations_url":"https://api.github.com/users/i0n/orgs","repos_url":"https://api.github.com/users/i0n/repos","events_url":"https://api.github.com/users/i0n/events{/privacy}","received_events_url":"https://api.github.com/users/i0n/received_events","type":"User","site_admin":false},{"login":"rawlingsj","id":1457180,"node_id":"MDQ6VXNlcjE0NTcxODA=","avatar_url":"https://avatars2.githubusercontent.com/u/1457180?v=4","gravatar_id":"","url":"https://api.github.com/users/rawlingsj","html_url":"https://github.com/rawlingsj","followers_url":"https://api.github.com/users/rawlingsj/followers","following_url":"https://api.github.com/users/rawlingsj/following{/other_user}","gists_url":"https://api.github.com/users/rawlingsj/gists{/gist_id}","starred_url":"https://api.github.com/users/rawlingsj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rawlingsj/subscriptions","organizations_url":"https://api.github.com/users/rawlingsj/orgs","repos_url":"https://api.github.com/users/rawlingsj/repos","events_url":"https://api.github.com/users/rawlingsj/events{/privacy}","received_events_url":"https://api.github.com/users/rawlingsj/received_events","type":"User","site_admin":false},{"login":"wbrefvem","id":5361033,"node_id":"MDQ6VXNlcjUzNjEwMzM=","avatar_url":"https://avatars0.githubusercontent.com/u/5361033?v=4","gravatar_id":"","url":"https://api.github.com/users/wbrefvem","html_url":"https://github.com/wbrefvem","followers_url":"https://api.github.com/users/wbrefvem/followers","following_url":"https://api.github.com/users/wbrefvem/following{/other_user}","gists_url":"https://api.github.com/users/wbrefvem/gists{/gist_id}","starred_url":"https://api.github.com/users/wbrefvem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wbrefvem/subscriptions","organizations_url":"https://api.github.com/users/wbrefvem/orgs","repos_url":"https://api.github.com/users/wbrefvem/repos","events_url":"https://api.github.com/users/wbrefvem/events{/privacy}","received_events_url":"https://api.github.com/users/wbrefvem/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":1012973918,"node_id":"MDU6TGFiZWwxMDEyOTczOTE4","url":"https://api.github.com/repos/jenkins-x/jx/labels/approved","name":"approved","color":"ededed","default":false},{"id":1013488046,"node_id":"MDU6TGFiZWwxMDEzNDg4MDQ2","url":"https://api.github.com/repos/jenkins-x/jx/labels/do-not-merge/hold","name":"do-not-merge/hold","color":"ededed","default":false},{"id":1012655166,"node_id":"MDU6TGFiZWwxMDEyNjU1MTY2","url":"https://api.github.com/repos/jenkins-x/jx/labels/size/XXL","name":"size/XXL","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/jenkins-x/jx/pulls/2213/commits","review_comments_url":"https://api.github.com/repos/jenkins-x/jx/pulls/2213/comments","review_comment_url":"https://api.github.com/repos/jenkins-x/jx/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jenkins-x/jx/issues/2213/comments","statuses_url":"https://api.github.com/repos/jenkins-x/jx/statuses/3bbdb04fb1fcdaf822ce41437943c9366d43de61","head":{"label":"ccojocar:refactor-config","ref":"refactor-config","sha":"3bbdb04fb1fcdaf822ce41437943c9366d43de61","user":{"login":"ccojocar","id":591127,"node_id":"MDQ6VXNlcjU5MTEyNw==","avatar_url":"https://avatars1.githubusercontent.com/u/591127?v=4","gravatar_id":"","url":"https://api.github.com/users/ccojocar","html_url":"https://github.com/ccojocar","followers_url":"https://api.github.com/users/ccojocar/followers","following_url":"https://api.github.com/users/ccojocar/following{/other_user}","gists_url":"https://api.github.com/users/ccojocar/gists{/gist_id}","starred_url":"https://api.github.com/users/ccojocar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ccojocar/subscriptions","organizations_url":"https://api.github.com/users/ccojocar/orgs","repos_url":"https://api.github.com/users/ccojocar/repos","events_url":"https://api.github.com/users/ccojocar/events{/privacy}","received_events_url":"https://api.github.com/users/ccojocar/received_events","type":"User","site_admin":false},"repo":{"id":136291373,"node_id":"MDEwOlJlcG9zaXRvcnkxMzYyOTEzNzM=","name":"jx","full_name":"ccojocar/jx","private":false,"owner":{"login":"ccojocar","id":591127,"node_id":"MDQ6VXNlcjU5MTEyNw==","avatar_url":"https://avatars1.githubusercontent.com/u/591127?v=4","gravatar_id":"","url":"https://api.github.com/users/ccojocar","html_url":"https://github.com/ccojocar","followers_url":"https://api.github.com/users/ccojocar/followers","following_url":"https://api.github.com/users/ccojocar/following{/other_user}","gists_url":"https://api.github.com/users/ccojocar/gists{/gist_id}","starred_url":"https://api.github.com/users/ccojocar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ccojocar/subscriptions","organizations_url":"https://api.github.com/users/ccojocar/orgs","repos_url":"https://api.github.com/users/ccojocar/repos","events_url":"https://api.github.com/users/ccojocar/events{/privacy}","received_events_url":"https://api.github.com/users/ccojocar/received_events","type":"User","site_admin":false},"html_url":"https://github.com/ccojocar/jx","description":"jx is a command line tool for working with Jenkins X: automated CI/CD for Kubernetes","fork":true,"url":"https://api.github.com/repos/ccojocar/jx","forks_url":"https://api.github.com/repos/ccojocar/jx/forks","keys_url":"https://api.github.com/repos/ccojocar/jx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ccojocar/jx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ccojocar/jx/teams","hooks_url":"https://api.github.com/repos/ccojocar/jx/hooks","issue_events_url":"https://api.github.com/repos/ccojocar/jx/issues/events{/number}","events_url":"https://api.github.com/repos/ccojocar/jx/events","assignees_url":"https://api.github.com/repos/ccojocar/jx/assignees{/user}","branches_url":"https://api.github.com/repos/ccojocar/jx/branches{/branch}","tags_url":"https://api.github.com/repos/ccojocar/jx/tags","blobs_url":"https://api.github.com/repos/ccojocar/jx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ccojocar/jx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ccojocar/jx/git/refs{/sha}","trees_url":"https://api.github.com/repos/ccojocar/jx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ccojocar/jx/statuses/{sha}","languages_url":"https://api.github.com/repos/ccojocar/jx/languages","stargazers_url":"https://api.github.com/repos/ccojocar/jx/stargazers","contributors_url":"https://api.github.com/repos/ccojocar/jx/contributors","subscribers_url":"https://api.github.com/repos/ccojocar/jx/subscribers","subscription_url":"https://api.github.com/repos/ccojocar/jx/subscription","commits_url":"https://api.github.com/repos/ccojocar/jx/commits{/sha}","git_commits_url":"https://api.github.com/repos/ccojocar/jx/git/commits{/sha}","comments_url":"https://api.github.com/repos/ccojocar/jx/comments{/number}","issue_comment_url":"https://api.github.com/repos/ccojocar/jx/issues/comments{/number}","contents_url":"https://api.github.com/repos/ccojocar/jx/contents/{+path}","compare_url":"https://api.github.com/repos/ccojocar/jx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ccojocar/jx/merges","archive_url":"https://api.github.com/repos/ccojocar/jx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ccojocar/jx/downloads","issues_url":"https://api.github.com/repos/ccojocar/jx/issues{/number}","pulls_url":"https://api.github.com/repos/ccojocar/jx/pulls{/number}","milestones_url":"https://api.github.com/repos/ccojocar/jx/milestones{/number}","notifications_url":"https://api.github.com/repos/ccojocar/jx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ccojocar/jx/labels{/name}","releases_url":"https://api.github.com/repos/ccojocar/jx/releases{/id}","deployments_url":"https://api.github.com/repos/ccojocar/jx/deployments","created_at":"2018-06-06T07:39:03Z","updated_at":"2018-11-11T17:34:49Z","pushed_at":"2018-11-12T09:01:59Z","git_url":"git://github.com/ccojocar/jx.git","ssh_url":"git@github.com:ccojocar/jx.git","clone_url":"https://github.com/ccojocar/jx.git","svn_url":"https://github.com/ccojocar/jx","homepage":"https://jenkins-x.io/","size":40944,"stargazers_count":0,"watchers_count":0,"language":"Go","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":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jenkins-x:master","ref":"master","sha":"1e828c2cef2bf59a97ad266b925367ef7f65d9f8","user":{"login":"jenkins-x","id":34566050,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0NTY2MDUw","avatar_url":"https://avatars0.githubusercontent.com/u/34566050?v=4","gravatar_id":"","url":"https://api.github.com/users/jenkins-x","html_url":"https://github.com/jenkins-x","followers_url":"https://api.github.com/users/jenkins-x/followers","following_url":"https://api.github.com/users/jenkins-x/following{/other_user}","gists_url":"https://api.github.com/users/jenkins-x/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkins-x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkins-x/subscriptions","organizations_url":"https://api.github.com/users/jenkins-x/orgs","repos_url":"https://api.github.com/users/jenkins-x/repos","events_url":"https://api.github.com/users/jenkins-x/events{/privacy}","received_events_url":"https://api.github.com/users/jenkins-x/received_events","type":"Organization","site_admin":false},"repo":{"id":116400734,"node_id":"MDEwOlJlcG9zaXRvcnkxMTY0MDA3MzQ=","name":"jx","full_name":"jenkins-x/jx","private":false,"owner":{"login":"jenkins-x","id":34566050,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0NTY2MDUw","avatar_url":"https://avatars0.githubusercontent.com/u/34566050?v=4","gravatar_id":"","url":"https://api.github.com/users/jenkins-x","html_url":"https://github.com/jenkins-x","followers_url":"https://api.github.com/users/jenkins-x/followers","following_url":"https://api.github.com/users/jenkins-x/following{/other_user}","gists_url":"https://api.github.com/users/jenkins-x/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkins-x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkins-x/subscriptions","organizations_url":"https://api.github.com/users/jenkins-x/orgs","repos_url":"https://api.github.com/users/jenkins-x/repos","events_url":"https://api.github.com/users/jenkins-x/events{/privacy}","received_events_url":"https://api.github.com/users/jenkins-x/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/jenkins-x/jx","description":"Jenkins X provides automated CI+CD for Kubernetes with Preview Environments on Pull Requests using Jenkins, Knative Build, Prow, Skaffold and Helm","fork":false,"url":"https://api.github.com/repos/jenkins-x/jx","forks_url":"https://api.github.com/repos/jenkins-x/jx/forks","keys_url":"https://api.github.com/repos/jenkins-x/jx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenkins-x/jx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenkins-x/jx/teams","hooks_url":"https://api.github.com/repos/jenkins-x/jx/hooks","issue_events_url":"https://api.github.com/repos/jenkins-x/jx/issues/events{/number}","events_url":"https://api.github.com/repos/jenkins-x/jx/events","assignees_url":"https://api.github.com/repos/jenkins-x/jx/assignees{/user}","branches_url":"https://api.github.com/repos/jenkins-x/jx/branches{/branch}","tags_url":"https://api.github.com/repos/jenkins-x/jx/tags","blobs_url":"https://api.github.com/repos/jenkins-x/jx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenkins-x/jx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenkins-x/jx/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenkins-x/jx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenkins-x/jx/statuses/{sha}","languages_url":"https://api.github.com/repos/jenkins-x/jx/languages","stargazers_url":"https://api.github.com/repos/jenkins-x/jx/stargazers","contributors_url":"https://api.github.com/repos/jenkins-x/jx/contributors","subscribers_url":"https://api.github.com/repos/jenkins-x/jx/subscribers","subscription_url":"https://api.github.com/repos/jenkins-x/jx/subscription","commits_url":"https://api.github.com/repos/jenkins-x/jx/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenkins-x/jx/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenkins-x/jx/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenkins-x/jx/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenkins-x/jx/contents/{+path}","compare_url":"https://api.github.com/repos/jenkins-x/jx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenkins-x/jx/merges","archive_url":"https://api.github.com/repos/jenkins-x/jx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenkins-x/jx/downloads","issues_url":"https://api.github.com/repos/jenkins-x/jx/issues{/number}","pulls_url":"https://api.github.com/repos/jenkins-x/jx/pulls{/number}","milestones_url":"https://api.github.com/repos/jenkins-x/jx/milestones{/number}","notifications_url":"https://api.github.com/repos/jenkins-x/jx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenkins-x/jx/labels{/name}","releases_url":"https://api.github.com/repos/jenkins-x/jx/releases{/id}","deployments_url":"https://api.github.com/repos/jenkins-x/jx/deployments","created_at":"2018-01-05T15:46:09Z","updated_at":"2018-11-11T15:28:33Z","pushed_at":"2018-11-12T09:02:01Z","git_url":"git://github.com/jenkins-x/jx.git","ssh_url":"git@github.com:jenkins-x/jx.git","clone_url":"https://github.com/jenkins-x/jx.git","svn_url":"https://github.com/jenkins-x/jx","homepage":"https://jenkins-x.io/","size":40888,"stargazers_count":1692,"watchers_count":1692,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":285,"mirror_url":null,"archived":false,"open_issues_count":460,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":285,"open_issues":460,"watchers":1692,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jenkins-x/jx/pulls/2213"},"html":{"href":"https://github.com/jenkins-x/jx/pull/2213"},"issue":{"href":"https://api.github.com/repos/jenkins-x/jx/issues/2213"},"comments":{"href":"https://api.github.com/repos/jenkins-x/jx/issues/2213/comments"},"review_comments":{"href":"https://api.github.com/repos/jenkins-x/jx/pulls/2213/comments"},"review_comment":{"href":"https://api.github.com/repos/jenkins-x/jx/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jenkins-x/jx/pulls/2213/commits"},"statuses":{"href":"https://api.github.com/repos/jenkins-x/jx/statuses/3bbdb04fb1fcdaf822ce41437943c9366d43de61"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"houndci-bot"}}