{"action":"opened","number":12,"pull_request":{"url":"https://api.github.com/repos/kernelci/lava-ci/pulls/12","id":55102276,"html_url":"https://github.com/kernelci/lava-ci/pull/12","diff_url":"https://github.com/kernelci/lava-ci/pull/12.diff","patch_url":"https://github.com/kernelci/lava-ci/pull/12.patch","issue_url":"https://api.github.com/repos/kernelci/lava-ci/issues/12","number":12,"state":"open","locked":false,"title":"kernel-ci: job-creator: allow calling from another folder","user":{"login":"mtitinger","id":8292648,"avatar_url":"https://avatars.githubusercontent.com/u/8292648?v=3","gravatar_id":"","url":"https://api.github.com/users/mtitinger","html_url":"https://github.com/mtitinger","followers_url":"https://api.github.com/users/mtitinger/followers","following_url":"https://api.github.com/users/mtitinger/following{/other_user}","gists_url":"https://api.github.com/users/mtitinger/gists{/gist_id}","starred_url":"https://api.github.com/users/mtitinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtitinger/subscriptions","organizations_url":"https://api.github.com/users/mtitinger/orgs","repos_url":"https://api.github.com/users/mtitinger/repos","events_url":"https://api.github.com/users/mtitinger/events{/privacy}","received_events_url":"https://api.github.com/users/mtitinger/received_events","type":"User","site_admin":false},"body":"job-creator works fine if called so that os.getcwd() + str(/template)\r\nresolves. Unfortunately, if called from a different location, it\r\ndoes nothing (no templates found).\r\n\r\nreplace the radix for templates with the location of the python file.\r\n\r\nSigned-off-by: Marc Titinger <mtitinger@baylibre.com>","created_at":"2016-01-05T15:17:58Z","updated_at":"2016-01-05T15:17:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kernelci/lava-ci/pulls/12/commits","review_comments_url":"https://api.github.com/repos/kernelci/lava-ci/pulls/12/comments","review_comment_url":"https://api.github.com/repos/kernelci/lava-ci/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kernelci/lava-ci/issues/12/comments","statuses_url":"https://api.github.com/repos/kernelci/lava-ci/statuses/248f30f38079e9e1e9a8a5eaf9d63e0505c6c44b","head":{"label":"BayLibre:master","ref":"master","sha":"248f30f38079e9e1e9a8a5eaf9d63e0505c6c44b","user":{"login":"BayLibre","id":8026742,"avatar_url":"https://avatars.githubusercontent.com/u/8026742?v=3","gravatar_id":"","url":"https://api.github.com/users/BayLibre","html_url":"https://github.com/BayLibre","followers_url":"https://api.github.com/users/BayLibre/followers","following_url":"https://api.github.com/users/BayLibre/following{/other_user}","gists_url":"https://api.github.com/users/BayLibre/gists{/gist_id}","starred_url":"https://api.github.com/users/BayLibre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BayLibre/subscriptions","organizations_url":"https://api.github.com/users/BayLibre/orgs","repos_url":"https://api.github.com/users/BayLibre/repos","events_url":"https://api.github.com/users/BayLibre/events{/privacy}","received_events_url":"https://api.github.com/users/BayLibre/received_events","type":"Organization","site_admin":false},"repo":{"id":49005200,"name":"lava-ci","full_name":"BayLibre/lava-ci","owner":{"login":"BayLibre","id":8026742,"avatar_url":"https://avatars.githubusercontent.com/u/8026742?v=3","gravatar_id":"","url":"https://api.github.com/users/BayLibre","html_url":"https://github.com/BayLibre","followers_url":"https://api.github.com/users/BayLibre/followers","following_url":"https://api.github.com/users/BayLibre/following{/other_user}","gists_url":"https://api.github.com/users/BayLibre/gists{/gist_id}","starred_url":"https://api.github.com/users/BayLibre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BayLibre/subscriptions","organizations_url":"https://api.github.com/users/BayLibre/orgs","repos_url":"https://api.github.com/users/BayLibre/repos","events_url":"https://api.github.com/users/BayLibre/events{/privacy}","received_events_url":"https://api.github.com/users/BayLibre/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BayLibre/lava-ci","description":"LAVA CI Tools","fork":true,"url":"https://api.github.com/repos/BayLibre/lava-ci","forks_url":"https://api.github.com/repos/BayLibre/lava-ci/forks","keys_url":"https://api.github.com/repos/BayLibre/lava-ci/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BayLibre/lava-ci/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BayLibre/lava-ci/teams","hooks_url":"https://api.github.com/repos/BayLibre/lava-ci/hooks","issue_events_url":"https://api.github.com/repos/BayLibre/lava-ci/issues/events{/number}","events_url":"https://api.github.com/repos/BayLibre/lava-ci/events","assignees_url":"https://api.github.com/repos/BayLibre/lava-ci/assignees{/user}","branches_url":"https://api.github.com/repos/BayLibre/lava-ci/branches{/branch}","tags_url":"https://api.github.com/repos/BayLibre/lava-ci/tags","blobs_url":"https://api.github.com/repos/BayLibre/lava-ci/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BayLibre/lava-ci/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BayLibre/lava-ci/git/refs{/sha}","trees_url":"https://api.github.com/repos/BayLibre/lava-ci/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BayLibre/lava-ci/statuses/{sha}","languages_url":"https://api.github.com/repos/BayLibre/lava-ci/languages","stargazers_url":"https://api.github.com/repos/BayLibre/lava-ci/stargazers","contributors_url":"https://api.github.com/repos/BayLibre/lava-ci/contributors","subscribers_url":"https://api.github.com/repos/BayLibre/lava-ci/subscribers","subscription_url":"https://api.github.com/repos/BayLibre/lava-ci/subscription","commits_url":"https://api.github.com/repos/BayLibre/lava-ci/commits{/sha}","git_commits_url":"https://api.github.com/repos/BayLibre/lava-ci/git/commits{/sha}","comments_url":"https://api.github.com/repos/BayLibre/lava-ci/comments{/number}","issue_comment_url":"https://api.github.com/repos/BayLibre/lava-ci/issues/comments{/number}","contents_url":"https://api.github.com/repos/BayLibre/lava-ci/contents/{+path}","compare_url":"https://api.github.com/repos/BayLibre/lava-ci/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BayLibre/lava-ci/merges","archive_url":"https://api.github.com/repos/BayLibre/lava-ci/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BayLibre/lava-ci/downloads","issues_url":"https://api.github.com/repos/BayLibre/lava-ci/issues{/number}","pulls_url":"https://api.github.com/repos/BayLibre/lava-ci/pulls{/number}","milestones_url":"https://api.github.com/repos/BayLibre/lava-ci/milestones{/number}","notifications_url":"https://api.github.com/repos/BayLibre/lava-ci/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BayLibre/lava-ci/labels{/name}","releases_url":"https://api.github.com/repos/BayLibre/lava-ci/releases{/id}","created_at":"2016-01-04T15:23:39Z","updated_at":"2016-01-04T15:23:39Z","pushed_at":"2016-01-05T15:13:01Z","git_url":"git://github.com/BayLibre/lava-ci.git","ssh_url":"git@github.com:BayLibre/lava-ci.git","clone_url":"https://github.com/BayLibre/lava-ci.git","svn_url":"https://github.com/BayLibre/lava-ci","homepage":null,"size":243,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kernelci:master","ref":"master","sha":"65082d84b3542e9e280dedb299c4336ccf5b769f","user":{"login":"kernelci","id":11725450,"avatar_url":"https://avatars.githubusercontent.com/u/11725450?v=3","gravatar_id":"","url":"https://api.github.com/users/kernelci","html_url":"https://github.com/kernelci","followers_url":"https://api.github.com/users/kernelci/followers","following_url":"https://api.github.com/users/kernelci/following{/other_user}","gists_url":"https://api.github.com/users/kernelci/gists{/gist_id}","starred_url":"https://api.github.com/users/kernelci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kernelci/subscriptions","organizations_url":"https://api.github.com/users/kernelci/orgs","repos_url":"https://api.github.com/users/kernelci/repos","events_url":"https://api.github.com/users/kernelci/events{/privacy}","received_events_url":"https://api.github.com/users/kernelci/received_events","type":"Organization","site_admin":false},"repo":{"id":33145889,"name":"lava-ci","full_name":"kernelci/lava-ci","owner":{"login":"kernelci","id":11725450,"avatar_url":"https://avatars.githubusercontent.com/u/11725450?v=3","gravatar_id":"","url":"https://api.github.com/users/kernelci","html_url":"https://github.com/kernelci","followers_url":"https://api.github.com/users/kernelci/followers","following_url":"https://api.github.com/users/kernelci/following{/other_user}","gists_url":"https://api.github.com/users/kernelci/gists{/gist_id}","starred_url":"https://api.github.com/users/kernelci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kernelci/subscriptions","organizations_url":"https://api.github.com/users/kernelci/orgs","repos_url":"https://api.github.com/users/kernelci/repos","events_url":"https://api.github.com/users/kernelci/events{/privacy}","received_events_url":"https://api.github.com/users/kernelci/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kernelci/lava-ci","description":"LAVA CI Tools","fork":false,"url":"https://api.github.com/repos/kernelci/lava-ci","forks_url":"https://api.github.com/repos/kernelci/lava-ci/forks","keys_url":"https://api.github.com/repos/kernelci/lava-ci/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kernelci/lava-ci/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kernelci/lava-ci/teams","hooks_url":"https://api.github.com/repos/kernelci/lava-ci/hooks","issue_events_url":"https://api.github.com/repos/kernelci/lava-ci/issues/events{/number}","events_url":"https://api.github.com/repos/kernelci/lava-ci/events","assignees_url":"https://api.github.com/repos/kernelci/lava-ci/assignees{/user}","branches_url":"https://api.github.com/repos/kernelci/lava-ci/branches{/branch}","tags_url":"https://api.github.com/repos/kernelci/lava-ci/tags","blobs_url":"https://api.github.com/repos/kernelci/lava-ci/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kernelci/lava-ci/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kernelci/lava-ci/git/refs{/sha}","trees_url":"https://api.github.com/repos/kernelci/lava-ci/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kernelci/lava-ci/statuses/{sha}","languages_url":"https://api.github.com/repos/kernelci/lava-ci/languages","stargazers_url":"https://api.github.com/repos/kernelci/lava-ci/stargazers","contributors_url":"https://api.github.com/repos/kernelci/lava-ci/contributors","subscribers_url":"https://api.github.com/repos/kernelci/lava-ci/subscribers","subscription_url":"https://api.github.com/repos/kernelci/lava-ci/subscription","commits_url":"https://api.github.com/repos/kernelci/lava-ci/commits{/sha}","git_commits_url":"https://api.github.com/repos/kernelci/lava-ci/git/commits{/sha}","comments_url":"https://api.github.com/repos/kernelci/lava-ci/comments{/number}","issue_comment_url":"https://api.github.com/repos/kernelci/lava-ci/issues/comments{/number}","contents_url":"https://api.github.com/repos/kernelci/lava-ci/contents/{+path}","compare_url":"https://api.github.com/repos/kernelci/lava-ci/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kernelci/lava-ci/merges","archive_url":"https://api.github.com/repos/kernelci/lava-ci/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kernelci/lava-ci/downloads","issues_url":"https://api.github.com/repos/kernelci/lava-ci/issues{/number}","pulls_url":"https://api.github.com/repos/kernelci/lava-ci/pulls{/number}","milestones_url":"https://api.github.com/repos/kernelci/lava-ci/milestones{/number}","notifications_url":"https://api.github.com/repos/kernelci/lava-ci/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kernelci/lava-ci/labels{/name}","releases_url":"https://api.github.com/repos/kernelci/lava-ci/releases{/id}","created_at":"2015-03-30T20:20:38Z","updated_at":"2015-09-05T04:53:15Z","pushed_at":"2016-01-05T09:17:56Z","git_url":"git://github.com/kernelci/lava-ci.git","ssh_url":"git@github.com:kernelci/lava-ci.git","clone_url":"https://github.com/kernelci/lava-ci.git","svn_url":"https://github.com/kernelci/lava-ci","homepage":null,"size":241,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":2,"forks":7,"open_issues":2,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kernelci/lava-ci/pulls/12"},"html":{"href":"https://github.com/kernelci/lava-ci/pull/12"},"issue":{"href":"https://api.github.com/repos/kernelci/lava-ci/issues/12"},"comments":{"href":"https://api.github.com/repos/kernelci/lava-ci/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/kernelci/lava-ci/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/kernelci/lava-ci/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kernelci/lava-ci/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/kernelci/lava-ci/statuses/248f30f38079e9e1e9a8a5eaf9d63e0505c6c44b"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}