{"action":"opened","number":6,"pull_request":{"url":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/pulls/6","id":233000258,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzMDAwMjU4","html_url":"https://github.com/cmd-ntrf/jupyter-lmod/pull/6","diff_url":"https://github.com/cmd-ntrf/jupyter-lmod/pull/6.diff","patch_url":"https://github.com/cmd-ntrf/jupyter-lmod/pull/6.patch","issue_url":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/issues/6","number":6,"state":"open","locked":false,"title":"Deactivate RStudio Session if rstudio-server module is not loaded for Jupyterlab","user":{"login":"etiennedub","id":14828908,"node_id":"MDQ6VXNlcjE0ODI4OTA4","avatar_url":"https://avatars0.githubusercontent.com/u/14828908?v=4","gravatar_id":"","url":"https://api.github.com/users/etiennedub","html_url":"https://github.com/etiennedub","followers_url":"https://api.github.com/users/etiennedub/followers","following_url":"https://api.github.com/users/etiennedub/following{/other_user}","gists_url":"https://api.github.com/users/etiennedub/gists{/gist_id}","starred_url":"https://api.github.com/users/etiennedub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etiennedub/subscriptions","organizations_url":"https://api.github.com/users/etiennedub/orgs","repos_url":"https://api.github.com/users/etiennedub/repos","events_url":"https://api.github.com/users/etiennedub/events{/privacy}","received_events_url":"https://api.github.com/users/etiennedub/received_events","type":"User","site_admin":false},"body":"In JupyterLab you can bind a command to a function to automatically disable it. Unfortunately, this is only accessible at the command creation in the `studio-server` extension. However, because `TypeScript` compiles in `JavaScript` and there is no private variable in `JavaScript`, it's possible to temporarily disable compiling error in TypeScript to edit a private variable. This commit edits this private variable to a boolean function who verify if the studio is loaded in `lmod`.","created_at":"2018-11-22T14:37:21Z","updated_at":"2018-11-22T14:37:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/pulls/6/commits","review_comments_url":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/pulls/6/comments","review_comment_url":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/issues/6/comments","statuses_url":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/statuses/07defbee8f9598c0bba2ee5bf8cf52d2a216b29f","head":{"label":"etiennedub:master","ref":"master","sha":"07defbee8f9598c0bba2ee5bf8cf52d2a216b29f","user":{"login":"etiennedub","id":14828908,"node_id":"MDQ6VXNlcjE0ODI4OTA4","avatar_url":"https://avatars0.githubusercontent.com/u/14828908?v=4","gravatar_id":"","url":"https://api.github.com/users/etiennedub","html_url":"https://github.com/etiennedub","followers_url":"https://api.github.com/users/etiennedub/followers","following_url":"https://api.github.com/users/etiennedub/following{/other_user}","gists_url":"https://api.github.com/users/etiennedub/gists{/gist_id}","starred_url":"https://api.github.com/users/etiennedub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etiennedub/subscriptions","organizations_url":"https://api.github.com/users/etiennedub/orgs","repos_url":"https://api.github.com/users/etiennedub/repos","events_url":"https://api.github.com/users/etiennedub/events{/privacy}","received_events_url":"https://api.github.com/users/etiennedub/received_events","type":"User","site_admin":false},"repo":{"id":144891162,"node_id":"MDEwOlJlcG9zaXRvcnkxNDQ4OTExNjI=","name":"jupyter-lmod","full_name":"etiennedub/jupyter-lmod","private":false,"owner":{"login":"etiennedub","id":14828908,"node_id":"MDQ6VXNlcjE0ODI4OTA4","avatar_url":"https://avatars0.githubusercontent.com/u/14828908?v=4","gravatar_id":"","url":"https://api.github.com/users/etiennedub","html_url":"https://github.com/etiennedub","followers_url":"https://api.github.com/users/etiennedub/followers","following_url":"https://api.github.com/users/etiennedub/following{/other_user}","gists_url":"https://api.github.com/users/etiennedub/gists{/gist_id}","starred_url":"https://api.github.com/users/etiennedub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etiennedub/subscriptions","organizations_url":"https://api.github.com/users/etiennedub/orgs","repos_url":"https://api.github.com/users/etiennedub/repos","events_url":"https://api.github.com/users/etiennedub/events{/privacy}","received_events_url":"https://api.github.com/users/etiennedub/received_events","type":"User","site_admin":false},"html_url":"https://github.com/etiennedub/jupyter-lmod","description":"Jupyter plugin that provides a tab for TACC Lmod (https://github.com/TACC/Lmod)","fork":true,"url":"https://api.github.com/repos/etiennedub/jupyter-lmod","forks_url":"https://api.github.com/repos/etiennedub/jupyter-lmod/forks","keys_url":"https://api.github.com/repos/etiennedub/jupyter-lmod/keys{/key_id}","collaborators_url":"https://api.github.com/repos/etiennedub/jupyter-lmod/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/etiennedub/jupyter-lmod/teams","hooks_url":"https://api.github.com/repos/etiennedub/jupyter-lmod/hooks","issue_events_url":"https://api.github.com/repos/etiennedub/jupyter-lmod/issues/events{/number}","events_url":"https://api.github.com/repos/etiennedub/jupyter-lmod/events","assignees_url":"https://api.github.com/repos/etiennedub/jupyter-lmod/assignees{/user}","branches_url":"https://api.github.com/repos/etiennedub/jupyter-lmod/branches{/branch}","tags_url":"https://api.github.com/repos/etiennedub/jupyter-lmod/tags","blobs_url":"https://api.github.com/repos/etiennedub/jupyter-lmod/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/etiennedub/jupyter-lmod/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/etiennedub/jupyter-lmod/git/refs{/sha}","trees_url":"https://api.github.com/repos/etiennedub/jupyter-lmod/git/trees{/sha}","statuses_url":"https://api.github.com/repos/etiennedub/jupyter-lmod/statuses/{sha}","languages_url":"https://api.github.com/repos/etiennedub/jupyter-lmod/languages","stargazers_url":"https://api.github.com/repos/etiennedub/jupyter-lmod/stargazers","contributors_url":"https://api.github.com/repos/etiennedub/jupyter-lmod/contributors","subscribers_url":"https://api.github.com/repos/etiennedub/jupyter-lmod/subscribers","subscription_url":"https://api.github.com/repos/etiennedub/jupyter-lmod/subscription","commits_url":"https://api.github.com/repos/etiennedub/jupyter-lmod/commits{/sha}","git_commits_url":"https://api.github.com/repos/etiennedub/jupyter-lmod/git/commits{/sha}","comments_url":"https://api.github.com/repos/etiennedub/jupyter-lmod/comments{/number}","issue_comment_url":"https://api.github.com/repos/etiennedub/jupyter-lmod/issues/comments{/number}","contents_url":"https://api.github.com/repos/etiennedub/jupyter-lmod/contents/{+path}","compare_url":"https://api.github.com/repos/etiennedub/jupyter-lmod/compare/{base}...{head}","merges_url":"https://api.github.com/repos/etiennedub/jupyter-lmod/merges","archive_url":"https://api.github.com/repos/etiennedub/jupyter-lmod/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/etiennedub/jupyter-lmod/downloads","issues_url":"https://api.github.com/repos/etiennedub/jupyter-lmod/issues{/number}","pulls_url":"https://api.github.com/repos/etiennedub/jupyter-lmod/pulls{/number}","milestones_url":"https://api.github.com/repos/etiennedub/jupyter-lmod/milestones{/number}","notifications_url":"https://api.github.com/repos/etiennedub/jupyter-lmod/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/etiennedub/jupyter-lmod/labels{/name}","releases_url":"https://api.github.com/repos/etiennedub/jupyter-lmod/releases{/id}","deployments_url":"https://api.github.com/repos/etiennedub/jupyter-lmod/deployments","created_at":"2018-08-15T18:49:19Z","updated_at":"2018-11-16T22:00:35Z","pushed_at":"2018-11-16T22:00:33Z","git_url":"git://github.com/etiennedub/jupyter-lmod.git","ssh_url":"git@github.com:etiennedub/jupyter-lmod.git","clone_url":"https://github.com/etiennedub/jupyter-lmod.git","svn_url":"https://github.com/etiennedub/jupyter-lmod","homepage":null,"size":89,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cmd-ntrf:master","ref":"master","sha":"9eb0ee3c03530fba441cb26f0192ef42c001530c","user":{"login":"cmd-ntrf","id":884095,"node_id":"MDQ6VXNlcjg4NDA5NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/884095?v=4","gravatar_id":"","url":"https://api.github.com/users/cmd-ntrf","html_url":"https://github.com/cmd-ntrf","followers_url":"https://api.github.com/users/cmd-ntrf/followers","following_url":"https://api.github.com/users/cmd-ntrf/following{/other_user}","gists_url":"https://api.github.com/users/cmd-ntrf/gists{/gist_id}","starred_url":"https://api.github.com/users/cmd-ntrf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmd-ntrf/subscriptions","organizations_url":"https://api.github.com/users/cmd-ntrf/orgs","repos_url":"https://api.github.com/users/cmd-ntrf/repos","events_url":"https://api.github.com/users/cmd-ntrf/events{/privacy}","received_events_url":"https://api.github.com/users/cmd-ntrf/received_events","type":"User","site_admin":false},"repo":{"id":80143310,"node_id":"MDEwOlJlcG9zaXRvcnk4MDE0MzMxMA==","name":"jupyter-lmod","full_name":"cmd-ntrf/jupyter-lmod","private":false,"owner":{"login":"cmd-ntrf","id":884095,"node_id":"MDQ6VXNlcjg4NDA5NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/884095?v=4","gravatar_id":"","url":"https://api.github.com/users/cmd-ntrf","html_url":"https://github.com/cmd-ntrf","followers_url":"https://api.github.com/users/cmd-ntrf/followers","following_url":"https://api.github.com/users/cmd-ntrf/following{/other_user}","gists_url":"https://api.github.com/users/cmd-ntrf/gists{/gist_id}","starred_url":"https://api.github.com/users/cmd-ntrf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmd-ntrf/subscriptions","organizations_url":"https://api.github.com/users/cmd-ntrf/orgs","repos_url":"https://api.github.com/users/cmd-ntrf/repos","events_url":"https://api.github.com/users/cmd-ntrf/events{/privacy}","received_events_url":"https://api.github.com/users/cmd-ntrf/received_events","type":"User","site_admin":false},"html_url":"https://github.com/cmd-ntrf/jupyter-lmod","description":"Jupyter plugin that provides a tab for TACC Lmod (https://github.com/TACC/Lmod)","fork":false,"url":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod","forks_url":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/forks","keys_url":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/teams","hooks_url":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/hooks","issue_events_url":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/issues/events{/number}","events_url":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/events","assignees_url":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/assignees{/user}","branches_url":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/branches{/branch}","tags_url":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/tags","blobs_url":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/git/refs{/sha}","trees_url":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/statuses/{sha}","languages_url":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/languages","stargazers_url":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/stargazers","contributors_url":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/contributors","subscribers_url":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/subscribers","subscription_url":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/subscription","commits_url":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/commits{/sha}","git_commits_url":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/git/commits{/sha}","comments_url":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/comments{/number}","issue_comment_url":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/issues/comments{/number}","contents_url":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/contents/{+path}","compare_url":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/merges","archive_url":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/downloads","issues_url":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/issues{/number}","pulls_url":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/pulls{/number}","milestones_url":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/milestones{/number}","notifications_url":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/labels{/name}","releases_url":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/releases{/id}","deployments_url":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/deployments","created_at":"2017-01-26T18:41:03Z","updated_at":"2018-11-20T12:18:51Z","pushed_at":"2018-11-08T19:57:56Z","git_url":"git://github.com/cmd-ntrf/jupyter-lmod.git","ssh_url":"git@github.com:cmd-ntrf/jupyter-lmod.git","clone_url":"https://github.com/cmd-ntrf/jupyter-lmod.git","svn_url":"https://github.com/cmd-ntrf/jupyter-lmod","homepage":null,"size":75,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":2,"open_issues":1,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/pulls/6"},"html":{"href":"https://github.com/cmd-ntrf/jupyter-lmod/pull/6"},"issue":{"href":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/issues/6"},"comments":{"href":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/cmd-ntrf/jupyter-lmod/statuses/07defbee8f9598c0bba2ee5bf8cf52d2a216b29f"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":13,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"etiennedub"}}