{"action":"created","issue":{"url":"https://api.github.com/repos/jupyter/notebook/issues/1545","repository_url":"https://api.github.com/repos/jupyter/notebook","labels_url":"https://api.github.com/repos/jupyter/notebook/issues/1545/labels{/name}","comments_url":"https://api.github.com/repos/jupyter/notebook/issues/1545/comments","events_url":"https://api.github.com/repos/jupyter/notebook/issues/1545/events","html_url":"https://github.com/jupyter/notebook/issues/1545","id":160269743,"number":1545,"title":"`new_untitled` has fixed notebook extension","user":{"login":"stevenmanton","id":3666725,"avatar_url":"https://avatars.githubusercontent.com/u/3666725?v=3","gravatar_id":"","url":"https://api.github.com/users/stevenmanton","html_url":"https://github.com/stevenmanton","followers_url":"https://api.github.com/users/stevenmanton/followers","following_url":"https://api.github.com/users/stevenmanton/following{/other_user}","gists_url":"https://api.github.com/users/stevenmanton/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenmanton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenmanton/subscriptions","organizations_url":"https://api.github.com/users/stevenmanton/orgs","repos_url":"https://api.github.com/users/stevenmanton/repos","events_url":"https://api.github.com/users/stevenmanton/events{/privacy}","received_events_url":"https://api.github.com/users/stevenmanton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/jupyter/notebook/milestones/12","html_url":"https://github.com/jupyter/notebook/milestones/6.0","labels_url":"https://api.github.com/repos/jupyter/notebook/milestones/12/labels","id":1831778,"number":12,"title":"6.0","description":"","creator":{"login":"minrk","id":151929,"avatar_url":"https://avatars.githubusercontent.com/u/151929?v=3","gravatar_id":"","url":"https://api.github.com/users/minrk","html_url":"https://github.com/minrk","followers_url":"https://api.github.com/users/minrk/followers","following_url":"https://api.github.com/users/minrk/following{/other_user}","gists_url":"https://api.github.com/users/minrk/gists{/gist_id}","starred_url":"https://api.github.com/users/minrk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minrk/subscriptions","organizations_url":"https://api.github.com/users/minrk/orgs","repos_url":"https://api.github.com/users/minrk/repos","events_url":"https://api.github.com/users/minrk/events{/privacy}","received_events_url":"https://api.github.com/users/minrk/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2016-06-16T09:56:26Z","updated_at":"2016-06-16T20:22:37Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2016-06-14T19:56:58Z","updated_at":"2016-06-17T07:44:37Z","closed_at":null,"body":"I'm working on creating a custom `FileContentsManager` to work with gpg-encrypted notebooks and ran into a minor issue. One thing I'd like to do is work with notebooks that have the extension `.ipynb.gpg`. However, the `.ipynb` is hard-coded in the [`ContentsManager`](https://github.com/jupyter/notebook/blob/master/notebook/services/contents/manager.py#L337) class. It seems unnecessary. Could we change that from `ext = '.ipynb'` to `ext = ext or '.ipynb'` to allow for overloading?"},"comment":{"url":"https://api.github.com/repos/jupyter/notebook/issues/comments/226702821","html_url":"https://github.com/jupyter/notebook/issues/1545#issuecomment-226702821","issue_url":"https://api.github.com/repos/jupyter/notebook/issues/1545","id":226702821,"user":{"login":"minrk","id":151929,"avatar_url":"https://avatars.githubusercontent.com/u/151929?v=3","gravatar_id":"","url":"https://api.github.com/users/minrk","html_url":"https://github.com/minrk","followers_url":"https://api.github.com/users/minrk/followers","following_url":"https://api.github.com/users/minrk/following{/other_user}","gists_url":"https://api.github.com/users/minrk/gists{/gist_id}","starred_url":"https://api.github.com/users/minrk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minrk/subscriptions","organizations_url":"https://api.github.com/users/minrk/orgs","repos_url":"https://api.github.com/users/minrk/repos","events_url":"https://api.github.com/users/minrk/events{/privacy}","received_events_url":"https://api.github.com/users/minrk/received_events","type":"User","site_admin":false},"created_at":"2016-06-17T07:44:36Z","updated_at":"2016-06-17T07:44:36Z","body":"@stevenmanton for new_untitled, it's probably going to be a single value because there's no mechanism to pick between choices. For the most part, the contents API shouldn't be sensitive to notebook extensions, as it's up to the CM implementation to determine whether a file is a notebook or not."}}
{"actor":{"display_login":"minrk"}}