payload: {"action":"created","issue":{"url":"https://api.github.com/repos/jenkins-x/jx/issues/3734","repository_url":"https://api.github.com/repos/jenkins-x/jx","labels_url":"https://api.github.com/repos/jenkins-x/jx/issues/3734/labels{/name}","comments_url":"https://api.github.com/repos/jenkins-x/jx/issues/3734/comments","events_url":"https://api.github.com/repos/jenkins-x/jx/issues/3734/events","html_url":"https://github.com/jenkins-x/jx/issues/3734","id":436801524,"node_id":"MDU6SXNzdWU0MzY4MDE1MjQ=","number":3734,"title":"jx get apps ignores environment repo","user":{"login":"pmuir","id":157761,"node_id":"MDQ6VXNlcjE1Nzc2MQ==","avatar_url":"https://avatars0.githubusercontent.com/u/157761?v=4","gravatar_id":"","url":"https://api.github.com/users/pmuir","html_url":"https://github.com/pmuir","followers_url":"https://api.github.com/users/pmuir/followers","following_url":"https://api.github.com/users/pmuir/following{/other_user}","gists_url":"https://api.github.com/users/pmuir/gists{/gist_id}","starred_url":"https://api.github.com/users/pmuir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmuir/subscriptions","organizations_url":"https://api.github.com/users/pmuir/orgs","repos_url":"https://api.github.com/users/pmuir/repos","events_url":"https://api.github.com/users/pmuir/events{/privacy}","received_events_url":"https://api.github.com/users/pmuir/received_events","type":"User","site_admin":false},"labels":[{"id":1193077839,"node_id":"MDU6TGFiZWwxMTkzMDc3ODM5","url":"https://api.github.com/repos/jenkins-x/jx/labels/area/apps","name":"area/apps","color":"2b59f2","default":false},{"id":796050448,"node_id":"MDU6TGFiZWw3OTYwNTA0NDg=","url":"https://api.github.com/repos/jenkins-x/jx/labels/kind/enhancement","name":"kind/enhancement","color":"a3c1e2","default":false},{"id":1150546298,"node_id":"MDU6TGFiZWwxMTUwNTQ2Mjk4","url":"https://api.github.com/repos/jenkins-x/jx/labels/priority/important-soon","name":"priority/important-soon","color":"bfdadc","default":false}],"state":"open","locked":false,"assignee":{"login":"dgozalo","id":48915630,"node_id":"MDQ6VXNlcjQ4OTE1NjMw","avatar_url":"https://avatars3.githubusercontent.com/u/48915630?v=4","gravatar_id":"","url":"https://api.github.com/users/dgozalo","html_url":"https://github.com/dgozalo","followers_url":"https://api.github.com/users/dgozalo/followers","following_url":"https://api.github.com/users/dgozalo/following{/other_user}","gists_url":"https://api.github.com/users/dgozalo/gists{/gist_id}","starred_url":"https://api.github.com/users/dgozalo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgozalo/subscriptions","organizations_url":"https://api.github.com/users/dgozalo/orgs","repos_url":"https://api.github.com/users/dgozalo/repos","events_url":"https://api.github.com/users/dgozalo/events{/privacy}","received_events_url":"https://api.github.com/users/dgozalo/received_events","type":"User","site_admin":false},"assignees":[{"login":"dgozalo","id":48915630,"node_id":"MDQ6VXNlcjQ4OTE1NjMw","avatar_url":"https://avatars3.githubusercontent.com/u/48915630?v=4","gravatar_id":"","url":"https://api.github.com/users/dgozalo","html_url":"https://github.com/dgozalo","followers_url":"https://api.github.com/users/dgozalo/followers","following_url":"https://api.github.com/users/dgozalo/following{/other_user}","gists_url":"https://api.github.com/users/dgozalo/gists{/gist_id}","starred_url":"https://api.github.com/users/dgozalo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgozalo/subscriptions","organizations_url":"https://api.github.com/users/dgozalo/orgs","repos_url":"https://api.github.com/users/dgozalo/repos","events_url":"https://api.github.com/users/dgozalo/events{/privacy}","received_events_url":"https://api.github.com/users/dgozalo/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2019-04-24T16:46:09Z","updated_at":"2019-04-24T16:53:36Z","closed_at":null,"author_association":"MEMBER","body":"### Summary \r\n\r\nThe `GetApps()` method on `InstallOptions` in `install.go` ignores gitops mode entirely, just looking in the cluster for the running apps. The list of running app CRDs is not really the source of truth in this case, the git repo is. We should be taking the list of apps from the git repo, and then adding the status from the cluster. For example if the app is in the git repo but not yet running the state should be \"installing\" etc.\r\n\r\nUntil we do this the support for prefixed names in `get apps` and `delete app` won't work (some tests are there, disabled, and some code commented out).\r\n"},"comment":{"url":"https://api.github.com/repos/jenkins-x/jx/issues/comments/486330786","html_url":"https://github.com/jenkins-x/jx/issues/3734#issuecomment-486330786","issue_url":"https://api.github.com/repos/jenkins-x/jx/issues/3734","id":486330786,"node_id":"MDEyOklzc3VlQ29tbWVudDQ4NjMzMDc4Ng==","user":{"login":"pmuir","id":157761,"node_id":"MDQ6VXNlcjE1Nzc2MQ==","avatar_url":"https://avatars0.githubusercontent.com/u/157761?v=4","gravatar_id":"","url":"https://api.github.com/users/pmuir","html_url":"https://github.com/pmuir","followers_url":"https://api.github.com/users/pmuir/followers","following_url":"https://api.github.com/users/pmuir/following{/other_user}","gists_url":"https://api.github.com/users/pmuir/gists{/gist_id}","starred_url":"https://api.github.com/users/pmuir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmuir/subscriptions","organizations_url":"https://api.github.com/users/pmuir/orgs","repos_url":"https://api.github.com/users/pmuir/repos","events_url":"https://api.github.com/users/pmuir/events{/privacy}","received_events_url":"https://api.github.com/users/pmuir/received_events","type":"User","site_admin":false},"created_at":"2019-04-24T16:53:36Z","updated_at":"2019-04-24T16:53:36Z","author_association":"MEMBER","body":"Relates to #3700"}}
other: {"actor":{"display_login":"pmuir"}}