{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/4863","labels_url":"https://api.github.com/repos/openshift/origin/issues/4863/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/4863/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/4863/events","html_url":"https://github.com/openshift/origin/pull/4863","id":109078726,"number":4863,"title":"Allow processing template from different namespace","user":{"login":"mfojtik","id":44136,"avatar_url":"https://avatars.githubusercontent.com/u/44136?v=3","gravatar_id":"","url":"https://api.github.com/users/mfojtik","html_url":"https://github.com/mfojtik","followers_url":"https://api.github.com/users/mfojtik/followers","following_url":"https://api.github.com/users/mfojtik/following{/other_user}","gists_url":"https://api.github.com/users/mfojtik/gists{/gist_id}","starred_url":"https://api.github.com/users/mfojtik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfojtik/subscriptions","organizations_url":"https://api.github.com/users/mfojtik/orgs","repos_url":"https://api.github.com/users/mfojtik/repos","events_url":"https://api.github.com/users/mfojtik/events{/privacy}","received_events_url":"https://api.github.com/users/mfojtik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2015-09-30T12:42:19Z","updated_at":"2015-10-02T15:57:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openshift/origin/pulls/4863","html_url":"https://github.com/openshift/origin/pull/4863","diff_url":"https://github.com/openshift/origin/pull/4863.diff","patch_url":"https://github.com/openshift/origin/pull/4863.patch"},"body":"Fixes: https://github.com/openshift/origin/issues/3307\r\n\r\nSo:\r\n\r\n```bash\r\noc project foo`\r\n\r\n# will read the template from openshift namespace and also process (create) \r\n# it in openshift namespace (which will fail)\r\noc process -n openshift template\r\n\r\n# will read the template from openshift namespace BUT process it in \"foo\" \r\n# namespace (which will succeed)\r\noc process openshift/template     \r\n```"},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/145070382","html_url":"https://github.com/openshift/origin/pull/4863#issuecomment-145070382","issue_url":"https://api.github.com/repos/openshift/origin/issues/4863","id":145070382,"user":{"login":"bparees","id":4974046,"avatar_url":"https://avatars.githubusercontent.com/u/4974046?v=3","gravatar_id":"","url":"https://api.github.com/users/bparees","html_url":"https://github.com/bparees","followers_url":"https://api.github.com/users/bparees/followers","following_url":"https://api.github.com/users/bparees/following{/other_user}","gists_url":"https://api.github.com/users/bparees/gists{/gist_id}","starred_url":"https://api.github.com/users/bparees/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bparees/subscriptions","organizations_url":"https://api.github.com/users/bparees/orgs","repos_url":"https://api.github.com/users/bparees/repos","events_url":"https://api.github.com/users/bparees/events{/privacy}","received_events_url":"https://api.github.com/users/bparees/received_events","type":"User","site_admin":false},"created_at":"2015-10-02T15:57:14Z","updated_at":"2015-10-02T15:57:14Z","body":"@liggitt don't try to use new-app then.\r\n\r\ni would argue it's not really non-deterministic, you cut off the part where i said we'd determine the type by seeing if it matched a resource-type name or a project-name.  if it matches both we can throw an error and tell them to fully specify \"namespace/resource-type/objectname\".\r\n\r\nso it's more like intuitive/convenient behavior than non-deterministic.  it's certainly not random.\r\n\r\n"}}