{"action":"created","comment":{"url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/pulls/comments/80460069","id":80460069,"diff_hunk":"@@ -154,3 +155,14 @@ def retrieve_volume_using_info_from_metadata(context):\n         year=context.year,\n         name=str(context.volume).rjust(2, '0'))\n     return zeit.cms.interfaces.ICMSContent(uniqueId, None)\n+\n+\n+@grok.adapter(zeit.content.volume.interfaces.IVolume)\n+@grok.implementer(zeit.content.cp.interfaces.ICenterPage)\n+def retrieve_corresponding_centerpage(context):\n+    if context.product is None or context.product.centerpage is None:\n+        return None\n+    uniqueId = context.product.centerpage.format(\n+        year=context.year,\n+        name=str(context.volume).rjust(2, '0'))","path":"src/zeit/content/volume/volume.py","position":21,"original_position":21,"commit_id":"d47555c66f88645ce93c5c398e15c380fb52530b","original_commit_id":"d47555c66f88645ce93c5c398e15c380fb52530b","user":{"login":"wosc","id":577891,"avatar_url":"https://avatars.githubusercontent.com/u/577891?v=3","gravatar_id":"","url":"https://api.github.com/users/wosc","html_url":"https://github.com/wosc","followers_url":"https://api.github.com/users/wosc/followers","following_url":"https://api.github.com/users/wosc/following{/other_user}","gists_url":"https://api.github.com/users/wosc/gists{/gist_id}","starred_url":"https://api.github.com/users/wosc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wosc/subscriptions","organizations_url":"https://api.github.com/users/wosc/orgs","repos_url":"https://api.github.com/users/wosc/repos","events_url":"https://api.github.com/users/wosc/events{/privacy}","received_events_url":"https://api.github.com/users/wosc/received_events","type":"User","site_admin":false},"body":"Die Konfigurationsdateien (in dem Fall http://cms-backend.zeit.de:9000/cms/work/data/products.xml) sollen prinzipiell auch von \"technisch versierten\" nicht-Technikern bearbeitet werden, insofern versuchen wir, die möglichst \"freundlich\" zu halten -- die sind schon so fehleranfällig genug.","created_at":"2016-09-26T12:05:09Z","updated_at":"2016-09-26T12:05:09Z","html_url":"https://github.com/ZeitOnline/zeit.content.volume/pull/10#discussion_r80460069","pull_request_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/pulls/comments/80460069"},"html":{"href":"https://github.com/ZeitOnline/zeit.content.volume/pull/10#discussion_r80460069"},"pull_request":{"href":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/pulls/10","id":86726108,"html_url":"https://github.com/ZeitOnline/zeit.content.volume/pull/10","diff_url":"https://github.com/ZeitOnline/zeit.content.volume/pull/10.diff","patch_url":"https://github.com/ZeitOnline/zeit.content.volume/pull/10.patch","issue_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/issues/10","number":10,"state":"open","locked":false,"title":"ZON-3362: Allow adapting ``IVolume`` to ``ICenterPage`` to find the corresponding index page.","user":{"login":"wosc","id":577891,"avatar_url":"https://avatars.githubusercontent.com/u/577891?v=3","gravatar_id":"","url":"https://api.github.com/users/wosc","html_url":"https://github.com/wosc","followers_url":"https://api.github.com/users/wosc/followers","following_url":"https://api.github.com/users/wosc/following{/other_user}","gists_url":"https://api.github.com/users/wosc/gists{/gist_id}","starred_url":"https://api.github.com/users/wosc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wosc/subscriptions","organizations_url":"https://api.github.com/users/wosc/orgs","repos_url":"https://api.github.com/users/wosc/repos","events_url":"https://api.github.com/users/wosc/events{/privacy}","received_events_url":"https://api.github.com/users/wosc/received_events","type":"User","site_admin":false},"body":null,"created_at":"2016-09-26T11:37:04Z","updated_at":"2016-09-26T12:05:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9b8337c6d56944e20f82bf628a13b1e3cb763a1e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/pulls/10/commits","review_comments_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/pulls/10/comments","review_comment_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/issues/10/comments","statuses_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/statuses/d47555c66f88645ce93c5c398e15c380fb52530b","head":{"label":"ZeitOnline:ZON-3362-centerpage","ref":"ZON-3362-centerpage","sha":"d47555c66f88645ce93c5c398e15c380fb52530b","user":{"login":"ZeitOnline","id":51420,"avatar_url":"https://avatars.githubusercontent.com/u/51420?v=3","gravatar_id":"","url":"https://api.github.com/users/ZeitOnline","html_url":"https://github.com/ZeitOnline","followers_url":"https://api.github.com/users/ZeitOnline/followers","following_url":"https://api.github.com/users/ZeitOnline/following{/other_user}","gists_url":"https://api.github.com/users/ZeitOnline/gists{/gist_id}","starred_url":"https://api.github.com/users/ZeitOnline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZeitOnline/subscriptions","organizations_url":"https://api.github.com/users/ZeitOnline/orgs","repos_url":"https://api.github.com/users/ZeitOnline/repos","events_url":"https://api.github.com/users/ZeitOnline/events{/privacy}","received_events_url":"https://api.github.com/users/ZeitOnline/received_events","type":"Organization","site_admin":false},"repo":{"id":65446372,"name":"zeit.content.volume","full_name":"ZeitOnline/zeit.content.volume","owner":{"login":"ZeitOnline","id":51420,"avatar_url":"https://avatars.githubusercontent.com/u/51420?v=3","gravatar_id":"","url":"https://api.github.com/users/ZeitOnline","html_url":"https://github.com/ZeitOnline","followers_url":"https://api.github.com/users/ZeitOnline/followers","following_url":"https://api.github.com/users/ZeitOnline/following{/other_user}","gists_url":"https://api.github.com/users/ZeitOnline/gists{/gist_id}","starred_url":"https://api.github.com/users/ZeitOnline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZeitOnline/subscriptions","organizations_url":"https://api.github.com/users/ZeitOnline/orgs","repos_url":"https://api.github.com/users/ZeitOnline/repos","events_url":"https://api.github.com/users/ZeitOnline/events{/privacy}","received_events_url":"https://api.github.com/users/ZeitOnline/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ZeitOnline/zeit.content.volume","description":"A content-type that provides information about printed volumes of the ZEIT newspaper.","fork":false,"url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume","forks_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/forks","keys_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/teams","hooks_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/hooks","issue_events_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/issues/events{/number}","events_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/events","assignees_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/assignees{/user}","branches_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/branches{/branch}","tags_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/tags","blobs_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/git/refs{/sha}","trees_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/statuses/{sha}","languages_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/languages","stargazers_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/stargazers","contributors_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/contributors","subscribers_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/subscribers","subscription_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/subscription","commits_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/commits{/sha}","git_commits_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/git/commits{/sha}","comments_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/comments{/number}","issue_comment_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/issues/comments{/number}","contents_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/contents/{+path}","compare_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/merges","archive_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/downloads","issues_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/issues{/number}","pulls_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/pulls{/number}","milestones_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/milestones{/number}","notifications_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/labels{/name}","releases_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/releases{/id}","deployments_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/deployments","created_at":"2016-08-11T06:58:37Z","updated_at":"2016-08-11T07:17:33Z","pushed_at":"2016-09-26T12:03:11Z","git_url":"git://github.com/ZeitOnline/zeit.content.volume.git","ssh_url":"git@github.com:ZeitOnline/zeit.content.volume.git","clone_url":"https://github.com/ZeitOnline/zeit.content.volume.git","svn_url":"https://github.com/ZeitOnline/zeit.content.volume","homepage":null,"size":92,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"ZeitOnline:master","ref":"master","sha":"99f0f753043f17bdc40f270ca2df9b8188374437","user":{"login":"ZeitOnline","id":51420,"avatar_url":"https://avatars.githubusercontent.com/u/51420?v=3","gravatar_id":"","url":"https://api.github.com/users/ZeitOnline","html_url":"https://github.com/ZeitOnline","followers_url":"https://api.github.com/users/ZeitOnline/followers","following_url":"https://api.github.com/users/ZeitOnline/following{/other_user}","gists_url":"https://api.github.com/users/ZeitOnline/gists{/gist_id}","starred_url":"https://api.github.com/users/ZeitOnline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZeitOnline/subscriptions","organizations_url":"https://api.github.com/users/ZeitOnline/orgs","repos_url":"https://api.github.com/users/ZeitOnline/repos","events_url":"https://api.github.com/users/ZeitOnline/events{/privacy}","received_events_url":"https://api.github.com/users/ZeitOnline/received_events","type":"Organization","site_admin":false},"repo":{"id":65446372,"name":"zeit.content.volume","full_name":"ZeitOnline/zeit.content.volume","owner":{"login":"ZeitOnline","id":51420,"avatar_url":"https://avatars.githubusercontent.com/u/51420?v=3","gravatar_id":"","url":"https://api.github.com/users/ZeitOnline","html_url":"https://github.com/ZeitOnline","followers_url":"https://api.github.com/users/ZeitOnline/followers","following_url":"https://api.github.com/users/ZeitOnline/following{/other_user}","gists_url":"https://api.github.com/users/ZeitOnline/gists{/gist_id}","starred_url":"https://api.github.com/users/ZeitOnline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZeitOnline/subscriptions","organizations_url":"https://api.github.com/users/ZeitOnline/orgs","repos_url":"https://api.github.com/users/ZeitOnline/repos","events_url":"https://api.github.com/users/ZeitOnline/events{/privacy}","received_events_url":"https://api.github.com/users/ZeitOnline/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ZeitOnline/zeit.content.volume","description":"A content-type that provides information about printed volumes of the ZEIT newspaper.","fork":false,"url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume","forks_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/forks","keys_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/teams","hooks_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/hooks","issue_events_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/issues/events{/number}","events_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/events","assignees_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/assignees{/user}","branches_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/branches{/branch}","tags_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/tags","blobs_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/git/refs{/sha}","trees_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/statuses/{sha}","languages_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/languages","stargazers_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/stargazers","contributors_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/contributors","subscribers_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/subscribers","subscription_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/subscription","commits_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/commits{/sha}","git_commits_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/git/commits{/sha}","comments_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/comments{/number}","issue_comment_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/issues/comments{/number}","contents_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/contents/{+path}","compare_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/merges","archive_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/downloads","issues_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/issues{/number}","pulls_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/pulls{/number}","milestones_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/milestones{/number}","notifications_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/labels{/name}","releases_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/releases{/id}","deployments_url":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/deployments","created_at":"2016-08-11T06:58:37Z","updated_at":"2016-08-11T07:17:33Z","pushed_at":"2016-09-26T12:03:11Z","git_url":"git://github.com/ZeitOnline/zeit.content.volume.git","ssh_url":"git@github.com:ZeitOnline/zeit.content.volume.git","clone_url":"https://github.com/ZeitOnline/zeit.content.volume.git","svn_url":"https://github.com/ZeitOnline/zeit.content.volume","homepage":null,"size":92,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/pulls/10"},"html":{"href":"https://github.com/ZeitOnline/zeit.content.volume/pull/10"},"issue":{"href":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/issues/10"},"comments":{"href":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/ZeitOnline/zeit.content.volume/statuses/d47555c66f88645ce93c5c398e15c380fb52530b"}}}}
{"actor":{"display_login":"wosc"}}