GitHub PullRequestReviewCommentEvent at 2014-02-19 15:39:15
Repository: invenio
Actor: gszpura
Payload: {"comment":{"url":"https://api.github.com/repos/jirikuncar/invenio/pulls/comments/9868901","id":9868901,"diff_hunk":"@@ -0,0 +1,26 @@\n+# -*- coding: utf-8 -*-\n+#\n+## This file is part of Invenio.\n+## Copyright (C) 2013, 2014 CERN.\n+##\n+## Invenio is free software; you can redistribute it and/or\n+## modify it under the terms of the GNU General Public License as\n+## published by the Free Software Foundation; either version 2 of the\n+## License, or (at your option) any later version.\n+##\n+## Invenio is distributed in the hope that it will be useful, but\n+## WITHOUT ANY WARRANTY; without even the implied warranty of\n+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n+## General Public License for more details.\n+##\n+## You should have received a copy of the GNU General Public License\n+## along with Invenio; if not, write to the Free Software Foundation, Inc.,\n+## 59 Temple Place, Suite 330, Boston, MA 02D111-1307, USA.\n+\n+from .receivers import post_handler_database_create\n+from invenio.base.scripts.database import create as database_create\n+from invenio.base.scripts.demosite import populate as demosite_populate\n+from invenio.base.signals import post_command\n+\n+post_command.connect(post_handler_database_create, sender=database_create)\n+post_command.connect(post_handler_database_create, sender=demosite_populate)","path":"invenio/modules/communities/__init__.py","position":26,"original_position":26,"commit_id":"e31d66b0281e8824bae9fd025689a6ccc15a30cd","original_commit_id":"e31d66b0281e8824bae9fd025689a6ccc15a30cd","user":{"login":"gszpura","id":2082982,"avatar_url":"https://gravatar.com/avatar/1a3a40914d63643748705ba95e409ca8?d=https%3A%2F%2Fidenticons.github.com%2F89023182e982c85ccf16cfc0aeebb8ba.png&r=x","gravatar_id":"1a3a40914d63643748705ba95e409ca8","url":"https://api.github.com/users/gszpura","html_url":"https://github.com/gszpura","followers_url":"https://api.github.com/users/gszpura/followers","following_url":"https://api.github.com/users/gszpura/following{/other_user}","gists_url":"https://api.github.com/users/gszpura/gists{/gist_id}","starred_url":"https://api.github.com/users/gszpura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gszpura/subscriptions","organizations_url":"https://api.github.com/users/gszpura/orgs","repos_url":"https://api.github.com/users/gszpura/repos","events_url":"https://api.github.com/users/gszpura/events{/privacy}","received_events_url":"https://api.github.com/users/gszpura/received_events","type":"User","site_admin":false},"body":"I did it because demosite overrides Format table somehow and I also want to have\r\nthis format in db after demosite populate. Otherwise tests work for Travis but after\r\ndemosite installation they fail. Don't want to add a new format every time after demosite creation. I hope it's not such a big problem. ","created_at":"2014-02-19T15:39:15Z","updated_at":"2014-02-19T15:39:15Z","html_url":"https://github.com/jirikuncar/invenio/pull/50#discussion_r9868901","pull_request_url":"https://api.github.com/repos/jirikuncar/invenio/pulls/50","_links":{"self":{"href":"https://api.github.com/repos/jirikuncar/invenio/pulls/comments/9868901"},"html":{"href":"https://github.com/jirikuncar/invenio/pull/50#discussion_r9868901"},"pull_request":{"href":"https://api.github.com/repos/jirikuncar/invenio/pulls/50"}}}}