{"action":"created","comment":{"url":"https://api.github.com/repos/neurospin/rql_download/pulls/comments/56815564","id":56815564,"diff_hunk":"@@ -507,6 +511,21 @@ def update(self):\n         # Message\n         logger.debug(\"! update done\")\n \n+    def suicide():\n+        \"\"\"\n+        unmount Fuse and suicide\n+        \"\"\"\n+        mount_base = get_cw_option(self.instance_name, \"mountdir\")\n+        logger.info(\"Fuse: unmounting {0}\".format(os.path.join(mount_base,\n+                                                               self.login,\n+                                                               self.instance))\n+        subprocess.Popen(['fusermount', \"-u\", os.path.join(mount_base,","path":"rql_download/fuse/fuse_mount.py","position":43,"original_position":43,"commit_id":"3ea6ebeb80c11199dc1f2f2e426d284e284e9ab4","original_commit_id":"3ea6ebeb80c11199dc1f2f2e426d284e284e9ab4","user":{"login":"AGrigis","id":5584306,"avatar_url":"https://avatars.githubusercontent.com/u/5584306?v=3","gravatar_id":"","url":"https://api.github.com/users/AGrigis","html_url":"https://github.com/AGrigis","followers_url":"https://api.github.com/users/AGrigis/followers","following_url":"https://api.github.com/users/AGrigis/following{/other_user}","gists_url":"https://api.github.com/users/AGrigis/gists{/gist_id}","starred_url":"https://api.github.com/users/AGrigis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AGrigis/subscriptions","organizations_url":"https://api.github.com/users/AGrigis/orgs","repos_url":"https://api.github.com/users/AGrigis/repos","events_url":"https://api.github.com/users/AGrigis/events{/privacy}","received_events_url":"https://api.github.com/users/AGrigis/received_events","type":"User","site_admin":false},"body":"add -z option?","created_at":"2016-03-21T12:43:53Z","updated_at":"2016-03-21T12:43:53Z","html_url":"https://github.com/neurospin/rql_download/pull/19#discussion_r56815564","pull_request_url":"https://api.github.com/repos/neurospin/rql_download/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/neurospin/rql_download/pulls/comments/56815564"},"html":{"href":"https://github.com/neurospin/rql_download/pull/19#discussion_r56815564"},"pull_request":{"href":"https://api.github.com/repos/neurospin/rql_download/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/neurospin/rql_download/pulls/19","id":52093627,"html_url":"https://github.com/neurospin/rql_download/pull/19","diff_url":"https://github.com/neurospin/rql_download/pull/19.diff","patch_url":"https://github.com/neurospin/rql_download/pull/19.patch","issue_url":"https://api.github.com/repos/neurospin/rql_download/issues/19","number":19,"state":"open","locked":false,"title":"Fuse update","user":{"login":"dgoyard","id":9131609,"avatar_url":"https://avatars.githubusercontent.com/u/9131609?v=3","gravatar_id":"","url":"https://api.github.com/users/dgoyard","html_url":"https://github.com/dgoyard","followers_url":"https://api.github.com/users/dgoyard/followers","following_url":"https://api.github.com/users/dgoyard/following{/other_user}","gists_url":"https://api.github.com/users/dgoyard/gists{/gist_id}","starred_url":"https://api.github.com/users/dgoyard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgoyard/subscriptions","organizations_url":"https://api.github.com/users/dgoyard/orgs","repos_url":"https://api.github.com/users/dgoyard/repos","events_url":"https://api.github.com/users/dgoyard/events{/privacy}","received_events_url":"https://api.github.com/users/dgoyard/received_events","type":"User","site_admin":false},"body":"Unmount FUSE repositories and kill FUSE processes properly when the server is shutting down.\r\n","created_at":"2015-11-30T07:49:10Z","updated_at":"2016-03-21T12:43:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"49abc34e5848b09a77bd1e1431bd454da4f1def3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/neurospin/rql_download/pulls/19/commits","review_comments_url":"https://api.github.com/repos/neurospin/rql_download/pulls/19/comments","review_comment_url":"https://api.github.com/repos/neurospin/rql_download/pulls/comments{/number}","comments_url":"https://api.github.com/repos/neurospin/rql_download/issues/19/comments","statuses_url":"https://api.github.com/repos/neurospin/rql_download/statuses/3ea6ebeb80c11199dc1f2f2e426d284e284e9ab4","head":{"label":"dgoyard:master","ref":"master","sha":"3ea6ebeb80c11199dc1f2f2e426d284e284e9ab4","user":{"login":"dgoyard","id":9131609,"avatar_url":"https://avatars.githubusercontent.com/u/9131609?v=3","gravatar_id":"","url":"https://api.github.com/users/dgoyard","html_url":"https://github.com/dgoyard","followers_url":"https://api.github.com/users/dgoyard/followers","following_url":"https://api.github.com/users/dgoyard/following{/other_user}","gists_url":"https://api.github.com/users/dgoyard/gists{/gist_id}","starred_url":"https://api.github.com/users/dgoyard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgoyard/subscriptions","organizations_url":"https://api.github.com/users/dgoyard/orgs","repos_url":"https://api.github.com/users/dgoyard/repos","events_url":"https://api.github.com/users/dgoyard/events{/privacy}","received_events_url":"https://api.github.com/users/dgoyard/received_events","type":"User","site_admin":false},"repo":{"id":46927331,"name":"rql_download","full_name":"dgoyard/rql_download","owner":{"login":"dgoyard","id":9131609,"avatar_url":"https://avatars.githubusercontent.com/u/9131609?v=3","gravatar_id":"","url":"https://api.github.com/users/dgoyard","html_url":"https://github.com/dgoyard","followers_url":"https://api.github.com/users/dgoyard/followers","following_url":"https://api.github.com/users/dgoyard/following{/other_user}","gists_url":"https://api.github.com/users/dgoyard/gists{/gist_id}","starred_url":"https://api.github.com/users/dgoyard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgoyard/subscriptions","organizations_url":"https://api.github.com/users/dgoyard/orgs","repos_url":"https://api.github.com/users/dgoyard/repos","events_url":"https://api.github.com/users/dgoyard/events{/privacy}","received_events_url":"https://api.github.com/users/dgoyard/received_events","type":"User","site_admin":false},"private":true,"html_url":"https://github.com/dgoyard/rql_download","description":"","fork":false,"url":"https://api.github.com/repos/dgoyard/rql_download","forks_url":"https://api.github.com/repos/dgoyard/rql_download/forks","keys_url":"https://api.github.com/repos/dgoyard/rql_download/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dgoyard/rql_download/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dgoyard/rql_download/teams","hooks_url":"https://api.github.com/repos/dgoyard/rql_download/hooks","issue_events_url":"https://api.github.com/repos/dgoyard/rql_download/issues/events{/number}","events_url":"https://api.github.com/repos/dgoyard/rql_download/events","assignees_url":"https://api.github.com/repos/dgoyard/rql_download/assignees{/user}","branches_url":"https://api.github.com/repos/dgoyard/rql_download/branches{/branch}","tags_url":"https://api.github.com/repos/dgoyard/rql_download/tags","blobs_url":"https://api.github.com/repos/dgoyard/rql_download/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dgoyard/rql_download/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dgoyard/rql_download/git/refs{/sha}","trees_url":"https://api.github.com/repos/dgoyard/rql_download/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dgoyard/rql_download/statuses/{sha}","languages_url":"https://api.github.com/repos/dgoyard/rql_download/languages","stargazers_url":"https://api.github.com/repos/dgoyard/rql_download/stargazers","contributors_url":"https://api.github.com/repos/dgoyard/rql_download/contributors","subscribers_url":"https://api.github.com/repos/dgoyard/rql_download/subscribers","subscription_url":"https://api.github.com/repos/dgoyard/rql_download/subscription","commits_url":"https://api.github.com/repos/dgoyard/rql_download/commits{/sha}","git_commits_url":"https://api.github.com/repos/dgoyard/rql_download/git/commits{/sha}","comments_url":"https://api.github.com/repos/dgoyard/rql_download/comments{/number}","issue_comment_url":"https://api.github.com/repos/dgoyard/rql_download/issues/comments{/number}","contents_url":"https://api.github.com/repos/dgoyard/rql_download/contents/{+path}","compare_url":"https://api.github.com/repos/dgoyard/rql_download/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dgoyard/rql_download/merges","archive_url":"https://api.github.com/repos/dgoyard/rql_download/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dgoyard/rql_download/downloads","issues_url":"https://api.github.com/repos/dgoyard/rql_download/issues{/number}","pulls_url":"https://api.github.com/repos/dgoyard/rql_download/pulls{/number}","milestones_url":"https://api.github.com/repos/dgoyard/rql_download/milestones{/number}","notifications_url":"https://api.github.com/repos/dgoyard/rql_download/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dgoyard/rql_download/labels{/name}","releases_url":"https://api.github.com/repos/dgoyard/rql_download/releases{/id}","deployments_url":"https://api.github.com/repos/dgoyard/rql_download/deployments","created_at":"2015-11-26T13:08:37Z","updated_at":"2016-01-12T10:50:46Z","pushed_at":"2015-11-30T07:47:17Z","git_url":"git://github.com/dgoyard/rql_download.git","ssh_url":"git@github.com:dgoyard/rql_download.git","clone_url":"https://github.com/dgoyard/rql_download.git","svn_url":"https://github.com/dgoyard/rql_download","homepage":null,"size":361,"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":"neurospin:master","ref":"master","sha":"7fc38abb9e243bd4a0a41c953135d471efa52d4c","user":{"login":"neurospin","id":265555,"avatar_url":"https://avatars.githubusercontent.com/u/265555?v=3","gravatar_id":"","url":"https://api.github.com/users/neurospin","html_url":"https://github.com/neurospin","followers_url":"https://api.github.com/users/neurospin/followers","following_url":"https://api.github.com/users/neurospin/following{/other_user}","gists_url":"https://api.github.com/users/neurospin/gists{/gist_id}","starred_url":"https://api.github.com/users/neurospin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neurospin/subscriptions","organizations_url":"https://api.github.com/users/neurospin/orgs","repos_url":"https://api.github.com/users/neurospin/repos","events_url":"https://api.github.com/users/neurospin/events{/privacy}","received_events_url":"https://api.github.com/users/neurospin/received_events","type":"Organization","site_admin":false},"repo":{"id":26120731,"name":"rql_download","full_name":"neurospin/rql_download","owner":{"login":"neurospin","id":265555,"avatar_url":"https://avatars.githubusercontent.com/u/265555?v=3","gravatar_id":"","url":"https://api.github.com/users/neurospin","html_url":"https://github.com/neurospin","followers_url":"https://api.github.com/users/neurospin/followers","following_url":"https://api.github.com/users/neurospin/following{/other_user}","gists_url":"https://api.github.com/users/neurospin/gists{/gist_id}","starred_url":"https://api.github.com/users/neurospin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neurospin/subscriptions","organizations_url":"https://api.github.com/users/neurospin/orgs","repos_url":"https://api.github.com/users/neurospin/repos","events_url":"https://api.github.com/users/neurospin/events{/privacy}","received_events_url":"https://api.github.com/users/neurospin/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/neurospin/rql_download","description":"","fork":false,"url":"https://api.github.com/repos/neurospin/rql_download","forks_url":"https://api.github.com/repos/neurospin/rql_download/forks","keys_url":"https://api.github.com/repos/neurospin/rql_download/keys{/key_id}","collaborators_url":"https://api.github.com/repos/neurospin/rql_download/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/neurospin/rql_download/teams","hooks_url":"https://api.github.com/repos/neurospin/rql_download/hooks","issue_events_url":"https://api.github.com/repos/neurospin/rql_download/issues/events{/number}","events_url":"https://api.github.com/repos/neurospin/rql_download/events","assignees_url":"https://api.github.com/repos/neurospin/rql_download/assignees{/user}","branches_url":"https://api.github.com/repos/neurospin/rql_download/branches{/branch}","tags_url":"https://api.github.com/repos/neurospin/rql_download/tags","blobs_url":"https://api.github.com/repos/neurospin/rql_download/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/neurospin/rql_download/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/neurospin/rql_download/git/refs{/sha}","trees_url":"https://api.github.com/repos/neurospin/rql_download/git/trees{/sha}","statuses_url":"https://api.github.com/repos/neurospin/rql_download/statuses/{sha}","languages_url":"https://api.github.com/repos/neurospin/rql_download/languages","stargazers_url":"https://api.github.com/repos/neurospin/rql_download/stargazers","contributors_url":"https://api.github.com/repos/neurospin/rql_download/contributors","subscribers_url":"https://api.github.com/repos/neurospin/rql_download/subscribers","subscription_url":"https://api.github.com/repos/neurospin/rql_download/subscription","commits_url":"https://api.github.com/repos/neurospin/rql_download/commits{/sha}","git_commits_url":"https://api.github.com/repos/neurospin/rql_download/git/commits{/sha}","comments_url":"https://api.github.com/repos/neurospin/rql_download/comments{/number}","issue_comment_url":"https://api.github.com/repos/neurospin/rql_download/issues/comments{/number}","contents_url":"https://api.github.com/repos/neurospin/rql_download/contents/{+path}","compare_url":"https://api.github.com/repos/neurospin/rql_download/compare/{base}...{head}","merges_url":"https://api.github.com/repos/neurospin/rql_download/merges","archive_url":"https://api.github.com/repos/neurospin/rql_download/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/neurospin/rql_download/downloads","issues_url":"https://api.github.com/repos/neurospin/rql_download/issues{/number}","pulls_url":"https://api.github.com/repos/neurospin/rql_download/pulls{/number}","milestones_url":"https://api.github.com/repos/neurospin/rql_download/milestones{/number}","notifications_url":"https://api.github.com/repos/neurospin/rql_download/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/neurospin/rql_download/labels{/name}","releases_url":"https://api.github.com/repos/neurospin/rql_download/releases{/id}","deployments_url":"https://api.github.com/repos/neurospin/rql_download/deployments","created_at":"2014-11-03T13:56:21Z","updated_at":"2016-01-12T10:50:43Z","pushed_at":"2016-03-18T12:34:50Z","git_url":"git://github.com/neurospin/rql_download.git","ssh_url":"git@github.com:neurospin/rql_download.git","clone_url":"https://github.com/neurospin/rql_download.git","svn_url":"https://github.com/neurospin/rql_download","homepage":null,"size":365,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":5,"forks":1,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/neurospin/rql_download/pulls/19"},"html":{"href":"https://github.com/neurospin/rql_download/pull/19"},"issue":{"href":"https://api.github.com/repos/neurospin/rql_download/issues/19"},"comments":{"href":"https://api.github.com/repos/neurospin/rql_download/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/neurospin/rql_download/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/neurospin/rql_download/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/neurospin/rql_download/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/neurospin/rql_download/statuses/3ea6ebeb80c11199dc1f2f2e426d284e284e9ab4"}}}}