{"action":"closed","number":2685,"pull_request":{"url":"https://api.github.com/repos/DIRACGrid/DIRAC/pulls/2685","id":48982894,"html_url":"https://github.com/DIRACGrid/DIRAC/pull/2685","diff_url":"https://github.com/DIRACGrid/DIRAC/pull/2685.diff","patch_url":"https://github.com/DIRACGrid/DIRAC/pull/2685.patch","issue_url":"https://api.github.com/repos/DIRACGrid/DIRAC/issues/2685","number":2685,"state":"closed","locked":false,"title":"[v6r14] Requested script to run jobs locally using job().runlocal() from the API","user":{"login":"marcelovilaca","id":8600949,"avatar_url":"https://avatars.githubusercontent.com/u/8600949?v=3","gravatar_id":"","url":"https://api.github.com/users/marcelovilaca","html_url":"https://github.com/marcelovilaca","followers_url":"https://api.github.com/users/marcelovilaca/followers","following_url":"https://api.github.com/users/marcelovilaca/following{/other_user}","gists_url":"https://api.github.com/users/marcelovilaca/gists{/gist_id}","starred_url":"https://api.github.com/users/marcelovilaca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcelovilaca/subscriptions","organizations_url":"https://api.github.com/users/marcelovilaca/orgs","repos_url":"https://api.github.com/users/marcelovilaca/repos","events_url":"https://api.github.com/users/marcelovilaca/events{/privacy}","received_events_url":"https://api.github.com/users/marcelovilaca/received_events","type":"User","site_admin":false},"body":"this script gets the VO extension name (e.g. LHCb) in general and uses it to create the job object.\r\nThe original script was created to run LHCb jobs, so must of its functions might not be usefull to other VOs,\r\nor might need extra procedures to make it functional for other VOs...\r\n\r\nI left the commented cede lines on it to show how it's done on LHCb, it can be helpful for the necessary fixes in order to run multiple VOs\r\n\r\nMarcelo Vilaca","created_at":"2015-10-28T09:44:50Z","updated_at":"2015-11-07T08:53:46Z","closed_at":"2015-11-07T08:53:46Z","merged_at":"2015-11-07T08:53:46Z","merge_commit_sha":"e949a816687ea30ce2c2de929cb782258e068553","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/DIRACGrid/DIRAC/pulls/2685/commits","review_comments_url":"https://api.github.com/repos/DIRACGrid/DIRAC/pulls/2685/comments","review_comment_url":"https://api.github.com/repos/DIRACGrid/DIRAC/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DIRACGrid/DIRAC/issues/2685/comments","statuses_url":"https://api.github.com/repos/DIRACGrid/DIRAC/statuses/22666e2378586c4e51d89c992f790f45654dc068","head":{"label":"marcelovilaca:prod_run_local_script","ref":"prod_run_local_script","sha":"22666e2378586c4e51d89c992f790f45654dc068","user":{"login":"marcelovilaca","id":8600949,"avatar_url":"https://avatars.githubusercontent.com/u/8600949?v=3","gravatar_id":"","url":"https://api.github.com/users/marcelovilaca","html_url":"https://github.com/marcelovilaca","followers_url":"https://api.github.com/users/marcelovilaca/followers","following_url":"https://api.github.com/users/marcelovilaca/following{/other_user}","gists_url":"https://api.github.com/users/marcelovilaca/gists{/gist_id}","starred_url":"https://api.github.com/users/marcelovilaca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcelovilaca/subscriptions","organizations_url":"https://api.github.com/users/marcelovilaca/orgs","repos_url":"https://api.github.com/users/marcelovilaca/repos","events_url":"https://api.github.com/users/marcelovilaca/events{/privacy}","received_events_url":"https://api.github.com/users/marcelovilaca/received_events","type":"User","site_admin":false},"repo":{"id":38313280,"name":"DIRAC","full_name":"marcelovilaca/DIRAC","owner":{"login":"marcelovilaca","id":8600949,"avatar_url":"https://avatars.githubusercontent.com/u/8600949?v=3","gravatar_id":"","url":"https://api.github.com/users/marcelovilaca","html_url":"https://github.com/marcelovilaca","followers_url":"https://api.github.com/users/marcelovilaca/followers","following_url":"https://api.github.com/users/marcelovilaca/following{/other_user}","gists_url":"https://api.github.com/users/marcelovilaca/gists{/gist_id}","starred_url":"https://api.github.com/users/marcelovilaca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcelovilaca/subscriptions","organizations_url":"https://api.github.com/users/marcelovilaca/orgs","repos_url":"https://api.github.com/users/marcelovilaca/repos","events_url":"https://api.github.com/users/marcelovilaca/events{/privacy}","received_events_url":"https://api.github.com/users/marcelovilaca/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/marcelovilaca/DIRAC","description":"DIRAC Grid","fork":true,"url":"https://api.github.com/repos/marcelovilaca/DIRAC","forks_url":"https://api.github.com/repos/marcelovilaca/DIRAC/forks","keys_url":"https://api.github.com/repos/marcelovilaca/DIRAC/keys{/key_id}","collaborators_url":"https://api.github.com/repos/marcelovilaca/DIRAC/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/marcelovilaca/DIRAC/teams","hooks_url":"https://api.github.com/repos/marcelovilaca/DIRAC/hooks","issue_events_url":"https://api.github.com/repos/marcelovilaca/DIRAC/issues/events{/number}","events_url":"https://api.github.com/repos/marcelovilaca/DIRAC/events","assignees_url":"https://api.github.com/repos/marcelovilaca/DIRAC/assignees{/user}","branches_url":"https://api.github.com/repos/marcelovilaca/DIRAC/branches{/branch}","tags_url":"https://api.github.com/repos/marcelovilaca/DIRAC/tags","blobs_url":"https://api.github.com/repos/marcelovilaca/DIRAC/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/marcelovilaca/DIRAC/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/marcelovilaca/DIRAC/git/refs{/sha}","trees_url":"https://api.github.com/repos/marcelovilaca/DIRAC/git/trees{/sha}","statuses_url":"https://api.github.com/repos/marcelovilaca/DIRAC/statuses/{sha}","languages_url":"https://api.github.com/repos/marcelovilaca/DIRAC/languages","stargazers_url":"https://api.github.com/repos/marcelovilaca/DIRAC/stargazers","contributors_url":"https://api.github.com/repos/marcelovilaca/DIRAC/contributors","subscribers_url":"https://api.github.com/repos/marcelovilaca/DIRAC/subscribers","subscription_url":"https://api.github.com/repos/marcelovilaca/DIRAC/subscription","commits_url":"https://api.github.com/repos/marcelovilaca/DIRAC/commits{/sha}","git_commits_url":"https://api.github.com/repos/marcelovilaca/DIRAC/git/commits{/sha}","comments_url":"https://api.github.com/repos/marcelovilaca/DIRAC/comments{/number}","issue_comment_url":"https://api.github.com/repos/marcelovilaca/DIRAC/issues/comments{/number}","contents_url":"https://api.github.com/repos/marcelovilaca/DIRAC/contents/{+path}","compare_url":"https://api.github.com/repos/marcelovilaca/DIRAC/compare/{base}...{head}","merges_url":"https://api.github.com/repos/marcelovilaca/DIRAC/merges","archive_url":"https://api.github.com/repos/marcelovilaca/DIRAC/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/marcelovilaca/DIRAC/downloads","issues_url":"https://api.github.com/repos/marcelovilaca/DIRAC/issues{/number}","pulls_url":"https://api.github.com/repos/marcelovilaca/DIRAC/pulls{/number}","milestones_url":"https://api.github.com/repos/marcelovilaca/DIRAC/milestones{/number}","notifications_url":"https://api.github.com/repos/marcelovilaca/DIRAC/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/marcelovilaca/DIRAC/labels{/name}","releases_url":"https://api.github.com/repos/marcelovilaca/DIRAC/releases{/id}","created_at":"2015-06-30T14:16:41Z","updated_at":"2015-06-30T14:16:45Z","pushed_at":"2015-11-04T14:35:21Z","git_url":"git://github.com/marcelovilaca/DIRAC.git","ssh_url":"git@github.com:marcelovilaca/DIRAC.git","clone_url":"https://github.com/marcelovilaca/DIRAC.git","svn_url":"https://github.com/marcelovilaca/DIRAC","homepage":"http://diracgrid.org","size":28394,"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":"integration"}},"base":{"label":"DIRACGrid:rel-v6r14","ref":"rel-v6r14","sha":"2232cd11997bcd8bfd25b811d4f4fc09bb3f4cd7","user":{"login":"DIRACGrid","id":694842,"avatar_url":"https://avatars.githubusercontent.com/u/694842?v=3","gravatar_id":"","url":"https://api.github.com/users/DIRACGrid","html_url":"https://github.com/DIRACGrid","followers_url":"https://api.github.com/users/DIRACGrid/followers","following_url":"https://api.github.com/users/DIRACGrid/following{/other_user}","gists_url":"https://api.github.com/users/DIRACGrid/gists{/gist_id}","starred_url":"https://api.github.com/users/DIRACGrid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DIRACGrid/subscriptions","organizations_url":"https://api.github.com/users/DIRACGrid/orgs","repos_url":"https://api.github.com/users/DIRACGrid/repos","events_url":"https://api.github.com/users/DIRACGrid/events{/privacy}","received_events_url":"https://api.github.com/users/DIRACGrid/received_events","type":"Organization","site_admin":false},"repo":{"id":1576831,"name":"DIRAC","full_name":"DIRACGrid/DIRAC","owner":{"login":"DIRACGrid","id":694842,"avatar_url":"https://avatars.githubusercontent.com/u/694842?v=3","gravatar_id":"","url":"https://api.github.com/users/DIRACGrid","html_url":"https://github.com/DIRACGrid","followers_url":"https://api.github.com/users/DIRACGrid/followers","following_url":"https://api.github.com/users/DIRACGrid/following{/other_user}","gists_url":"https://api.github.com/users/DIRACGrid/gists{/gist_id}","starred_url":"https://api.github.com/users/DIRACGrid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DIRACGrid/subscriptions","organizations_url":"https://api.github.com/users/DIRACGrid/orgs","repos_url":"https://api.github.com/users/DIRACGrid/repos","events_url":"https://api.github.com/users/DIRACGrid/events{/privacy}","received_events_url":"https://api.github.com/users/DIRACGrid/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DIRACGrid/DIRAC","description":"DIRAC Grid","fork":false,"url":"https://api.github.com/repos/DIRACGrid/DIRAC","forks_url":"https://api.github.com/repos/DIRACGrid/DIRAC/forks","keys_url":"https://api.github.com/repos/DIRACGrid/DIRAC/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DIRACGrid/DIRAC/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DIRACGrid/DIRAC/teams","hooks_url":"https://api.github.com/repos/DIRACGrid/DIRAC/hooks","issue_events_url":"https://api.github.com/repos/DIRACGrid/DIRAC/issues/events{/number}","events_url":"https://api.github.com/repos/DIRACGrid/DIRAC/events","assignees_url":"https://api.github.com/repos/DIRACGrid/DIRAC/assignees{/user}","branches_url":"https://api.github.com/repos/DIRACGrid/DIRAC/branches{/branch}","tags_url":"https://api.github.com/repos/DIRACGrid/DIRAC/tags","blobs_url":"https://api.github.com/repos/DIRACGrid/DIRAC/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DIRACGrid/DIRAC/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DIRACGrid/DIRAC/git/refs{/sha}","trees_url":"https://api.github.com/repos/DIRACGrid/DIRAC/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DIRACGrid/DIRAC/statuses/{sha}","languages_url":"https://api.github.com/repos/DIRACGrid/DIRAC/languages","stargazers_url":"https://api.github.com/repos/DIRACGrid/DIRAC/stargazers","contributors_url":"https://api.github.com/repos/DIRACGrid/DIRAC/contributors","subscribers_url":"https://api.github.com/repos/DIRACGrid/DIRAC/subscribers","subscription_url":"https://api.github.com/repos/DIRACGrid/DIRAC/subscription","commits_url":"https://api.github.com/repos/DIRACGrid/DIRAC/commits{/sha}","git_commits_url":"https://api.github.com/repos/DIRACGrid/DIRAC/git/commits{/sha}","comments_url":"https://api.github.com/repos/DIRACGrid/DIRAC/comments{/number}","issue_comment_url":"https://api.github.com/repos/DIRACGrid/DIRAC/issues/comments{/number}","contents_url":"https://api.github.com/repos/DIRACGrid/DIRAC/contents/{+path}","compare_url":"https://api.github.com/repos/DIRACGrid/DIRAC/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DIRACGrid/DIRAC/merges","archive_url":"https://api.github.com/repos/DIRACGrid/DIRAC/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DIRACGrid/DIRAC/downloads","issues_url":"https://api.github.com/repos/DIRACGrid/DIRAC/issues{/number}","pulls_url":"https://api.github.com/repos/DIRACGrid/DIRAC/pulls{/number}","milestones_url":"https://api.github.com/repos/DIRACGrid/DIRAC/milestones{/number}","notifications_url":"https://api.github.com/repos/DIRACGrid/DIRAC/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DIRACGrid/DIRAC/labels{/name}","releases_url":"https://api.github.com/repos/DIRACGrid/DIRAC/releases{/id}","created_at":"2011-04-06T11:47:53Z","updated_at":"2015-11-02T08:25:43Z","pushed_at":"2015-11-07T08:53:46Z","git_url":"git://github.com/DIRACGrid/DIRAC.git","ssh_url":"git@github.com:DIRACGrid/DIRAC.git","clone_url":"https://github.com/DIRACGrid/DIRAC.git","svn_url":"https://github.com/DIRACGrid/DIRAC","homepage":"http://diracgrid.org","size":67240,"stargazers_count":45,"watchers_count":45,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":88,"mirror_url":null,"open_issues_count":132,"forks":88,"open_issues":132,"watchers":45,"default_branch":"integration"}},"_links":{"self":{"href":"https://api.github.com/repos/DIRACGrid/DIRAC/pulls/2685"},"html":{"href":"https://github.com/DIRACGrid/DIRAC/pull/2685"},"issue":{"href":"https://api.github.com/repos/DIRACGrid/DIRAC/issues/2685"},"comments":{"href":"https://api.github.com/repos/DIRACGrid/DIRAC/issues/2685/comments"},"review_comments":{"href":"https://api.github.com/repos/DIRACGrid/DIRAC/pulls/2685/comments"},"review_comment":{"href":"https://api.github.com/repos/DIRACGrid/DIRAC/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DIRACGrid/DIRAC/pulls/2685/commits"},"statuses":{"href":"https://api.github.com/repos/DIRACGrid/DIRAC/statuses/22666e2378586c4e51d89c992f790f45654dc068"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"atsareg","id":679892,"avatar_url":"https://avatars.githubusercontent.com/u/679892?v=3","gravatar_id":"","url":"https://api.github.com/users/atsareg","html_url":"https://github.com/atsareg","followers_url":"https://api.github.com/users/atsareg/followers","following_url":"https://api.github.com/users/atsareg/following{/other_user}","gists_url":"https://api.github.com/users/atsareg/gists{/gist_id}","starred_url":"https://api.github.com/users/atsareg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atsareg/subscriptions","organizations_url":"https://api.github.com/users/atsareg/orgs","repos_url":"https://api.github.com/users/atsareg/repos","events_url":"https://api.github.com/users/atsareg/events{/privacy}","received_events_url":"https://api.github.com/users/atsareg/received_events","type":"User","site_admin":false},"comments":9,"review_comments":11,"commits":5,"additions":169,"deletions":0,"changed_files":1}}