{"action":"created","comment":{"url":"https://api.github.com/repos/inveniosoftware/invenio/pulls/comments/41750237","id":41750237,"diff_hunk":"@@ -0,0 +1,64 @@\n+..  This file is part of Invenio\n+    Copyright (C) 2014, 2015 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 02111-1307, USA.\n+\n+Python\n+======\n+\n+Coding standards\n+----------------\n+\n+We follow `PEP-8 <https://www.python.org/dev/peps/pep-0008/>`_ and `PEP-257\n+<https://www.python.org/dev/peps/pep-0257/>`_ and sort imports via ``isort``.\n+Please plug corresponding checkers such as ``flake8`` to your code editor.\n+\n+Coding principles\n+-----------------\n+\n+We adopt the following principles:\n+\n+- *Convention over Configuration* means that common building blocks\n+  are provided for you, so use them! If you are not sure or documentation\n+  of certain feature is missing, contact the developers.\n+\n+- *Don't Repeat Yourself (DRY)* to help us keep our software maintainable.\n+  Duplication of code fragments makes application codebase larger and more\n+  importantly it can become a source of many errors during future development\n+  (refactoring).\n+\n+- *Agile Development* where each iteration should lead to working code in\n+  relatively short time while incremental steps are small and easy to understand\n+  by other developers. When you are done with editing do not forget to run the\n+  tests to make sure that all other modules are working fine.\n+\n+Anti-patterns\n+-------------\n+\n+Learn to recognise and avoid Python `anti-patterns\n+<http://docs.quantifiedcode.com/python-anti-patterns/index.html>`_.\n+\n+Registries","path":"docs/technology/python.rst","position":null,"original_position":53,"commit_id":"933fae4a5e4478b3c7e4eb7c71d5e094ac0229ff","original_commit_id":"28bf9236d07d714413308a140f8ee0b1e2629b05","user":{"login":"tiborsimko","id":517546,"avatar_url":"https://avatars.githubusercontent.com/u/517546?v=3","gravatar_id":"","url":"https://api.github.com/users/tiborsimko","html_url":"https://github.com/tiborsimko","followers_url":"https://api.github.com/users/tiborsimko/followers","following_url":"https://api.github.com/users/tiborsimko/following{/other_user}","gists_url":"https://api.github.com/users/tiborsimko/gists{/gist_id}","starred_url":"https://api.github.com/users/tiborsimko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiborsimko/subscriptions","organizations_url":"https://api.github.com/users/tiborsimko/orgs","repos_url":"https://api.github.com/users/tiborsimko/repos","events_url":"https://api.github.com/users/tiborsimko/events{/privacy}","received_events_url":"https://api.github.com/users/tiborsimko/received_events","type":"User","site_admin":false},"body":"Yes, simplified.","created_at":"2015-10-12T12:18:24Z","updated_at":"2015-10-12T12:18:24Z","html_url":"https://github.com/inveniosoftware/invenio/pull/3532#discussion_r41750237","pull_request_url":"https://api.github.com/repos/inveniosoftware/invenio/pulls/3532","_links":{"self":{"href":"https://api.github.com/repos/inveniosoftware/invenio/pulls/comments/41750237"},"html":{"href":"https://github.com/inveniosoftware/invenio/pull/3532#discussion_r41750237"},"pull_request":{"href":"https://api.github.com/repos/inveniosoftware/invenio/pulls/3532"}}},"pull_request":{"url":"https://api.github.com/repos/inveniosoftware/invenio/pulls/3532","id":47372818,"html_url":"https://github.com/inveniosoftware/invenio/pull/3532","diff_url":"https://github.com/inveniosoftware/invenio/pull/3532.diff","patch_url":"https://github.com/inveniosoftware/invenio/pull/3532.patch","issue_url":"https://api.github.com/repos/inveniosoftware/invenio/issues/3532","number":3532,"state":"open","locked":false,"title":"docs: new documentation structure","user":{"login":"tiborsimko","id":517546,"avatar_url":"https://avatars.githubusercontent.com/u/517546?v=3","gravatar_id":"","url":"https://api.github.com/users/tiborsimko","html_url":"https://github.com/tiborsimko","followers_url":"https://api.github.com/users/tiborsimko/followers","following_url":"https://api.github.com/users/tiborsimko/following{/other_user}","gists_url":"https://api.github.com/users/tiborsimko/gists{/gist_id}","starred_url":"https://api.github.com/users/tiborsimko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiborsimko/subscriptions","organizations_url":"https://api.github.com/users/tiborsimko/orgs","repos_url":"https://api.github.com/users/tiborsimko/repos","events_url":"https://api.github.com/users/tiborsimko/events{/privacy}","received_events_url":"https://api.github.com/users/tiborsimko/received_events","type":"User","site_admin":false},"body":"* BETTER Introduces new enchired documentation structure, imports\r\n  selected documentation from the old project web site, and improves\r\n  parts of the existing documentation. (closes #1799)\r\n\r\nSigned-off-by: Tibor Simko <tibor.simko@cern.ch>","created_at":"2015-10-11T18:42:02Z","updated_at":"2015-10-12T12:18:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f243e1cff000928d4ca1e50e1fe6772726897e84","assignee":{"login":"lnielsen","id":1698163,"avatar_url":"https://avatars.githubusercontent.com/u/1698163?v=3","gravatar_id":"","url":"https://api.github.com/users/lnielsen","html_url":"https://github.com/lnielsen","followers_url":"https://api.github.com/users/lnielsen/followers","following_url":"https://api.github.com/users/lnielsen/following{/other_user}","gists_url":"https://api.github.com/users/lnielsen/gists{/gist_id}","starred_url":"https://api.github.com/users/lnielsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lnielsen/subscriptions","organizations_url":"https://api.github.com/users/lnielsen/orgs","repos_url":"https://api.github.com/users/lnielsen/repos","events_url":"https://api.github.com/users/lnielsen/events{/privacy}","received_events_url":"https://api.github.com/users/lnielsen/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/inveniosoftware/invenio/milestones/6","html_url":"https://github.com/inveniosoftware/invenio/milestones/v2.2.0","labels_url":"https://api.github.com/repos/inveniosoftware/invenio/milestones/6/labels","id":696686,"number":6,"title":"v2.2.0","description":"Invenio v2.2 will use new data model and fully run on PostgreSQL.","creator":{"login":"jirikuncar","id":189798,"avatar_url":"https://avatars.githubusercontent.com/u/189798?v=3","gravatar_id":"","url":"https://api.github.com/users/jirikuncar","html_url":"https://github.com/jirikuncar","followers_url":"https://api.github.com/users/jirikuncar/followers","following_url":"https://api.github.com/users/jirikuncar/following{/other_user}","gists_url":"https://api.github.com/users/jirikuncar/gists{/gist_id}","starred_url":"https://api.github.com/users/jirikuncar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jirikuncar/subscriptions","organizations_url":"https://api.github.com/users/jirikuncar/orgs","repos_url":"https://api.github.com/users/jirikuncar/repos","events_url":"https://api.github.com/users/jirikuncar/events{/privacy}","received_events_url":"https://api.github.com/users/jirikuncar/received_events","type":"User","site_admin":false},"open_issues":141,"closed_issues":218,"state":"open","created_at":"2014-06-20T11:43:39Z","updated_at":"2015-10-11T18:42:02Z","due_on":"2015-07-30T22:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/inveniosoftware/invenio/pulls/3532/commits","review_comments_url":"https://api.github.com/repos/inveniosoftware/invenio/pulls/3532/comments","review_comment_url":"https://api.github.com/repos/inveniosoftware/invenio/pulls/comments{/number}","comments_url":"https://api.github.com/repos/inveniosoftware/invenio/issues/3532/comments","statuses_url":"https://api.github.com/repos/inveniosoftware/invenio/statuses/933fae4a5e4478b3c7e4eb7c71d5e094ac0229ff","head":{"label":"tiborsimko:new-docs","ref":"new-docs","sha":"933fae4a5e4478b3c7e4eb7c71d5e094ac0229ff","user":{"login":"tiborsimko","id":517546,"avatar_url":"https://avatars.githubusercontent.com/u/517546?v=3","gravatar_id":"","url":"https://api.github.com/users/tiborsimko","html_url":"https://github.com/tiborsimko","followers_url":"https://api.github.com/users/tiborsimko/followers","following_url":"https://api.github.com/users/tiborsimko/following{/other_user}","gists_url":"https://api.github.com/users/tiborsimko/gists{/gist_id}","starred_url":"https://api.github.com/users/tiborsimko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiborsimko/subscriptions","organizations_url":"https://api.github.com/users/tiborsimko/orgs","repos_url":"https://api.github.com/users/tiborsimko/repos","events_url":"https://api.github.com/users/tiborsimko/events{/privacy}","received_events_url":"https://api.github.com/users/tiborsimko/received_events","type":"User","site_admin":false},"repo":{"id":14950152,"name":"invenio","full_name":"tiborsimko/invenio","owner":{"login":"tiborsimko","id":517546,"avatar_url":"https://avatars.githubusercontent.com/u/517546?v=3","gravatar_id":"","url":"https://api.github.com/users/tiborsimko","html_url":"https://github.com/tiborsimko","followers_url":"https://api.github.com/users/tiborsimko/followers","following_url":"https://api.github.com/users/tiborsimko/following{/other_user}","gists_url":"https://api.github.com/users/tiborsimko/gists{/gist_id}","starred_url":"https://api.github.com/users/tiborsimko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiborsimko/subscriptions","organizations_url":"https://api.github.com/users/tiborsimko/orgs","repos_url":"https://api.github.com/users/tiborsimko/repos","events_url":"https://api.github.com/users/tiborsimko/events{/privacy}","received_events_url":"https://api.github.com/users/tiborsimko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tiborsimko/invenio","description":"Invenio source code mirror.  Please use Trac for collaborating.","fork":true,"url":"https://api.github.com/repos/tiborsimko/invenio","forks_url":"https://api.github.com/repos/tiborsimko/invenio/forks","keys_url":"https://api.github.com/repos/tiborsimko/invenio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tiborsimko/invenio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tiborsimko/invenio/teams","hooks_url":"https://api.github.com/repos/tiborsimko/invenio/hooks","issue_events_url":"https://api.github.com/repos/tiborsimko/invenio/issues/events{/number}","events_url":"https://api.github.com/repos/tiborsimko/invenio/events","assignees_url":"https://api.github.com/repos/tiborsimko/invenio/assignees{/user}","branches_url":"https://api.github.com/repos/tiborsimko/invenio/branches{/branch}","tags_url":"https://api.github.com/repos/tiborsimko/invenio/tags","blobs_url":"https://api.github.com/repos/tiborsimko/invenio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tiborsimko/invenio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tiborsimko/invenio/git/refs{/sha}","trees_url":"https://api.github.com/repos/tiborsimko/invenio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tiborsimko/invenio/statuses/{sha}","languages_url":"https://api.github.com/repos/tiborsimko/invenio/languages","stargazers_url":"https://api.github.com/repos/tiborsimko/invenio/stargazers","contributors_url":"https://api.github.com/repos/tiborsimko/invenio/contributors","subscribers_url":"https://api.github.com/repos/tiborsimko/invenio/subscribers","subscription_url":"https://api.github.com/repos/tiborsimko/invenio/subscription","commits_url":"https://api.github.com/repos/tiborsimko/invenio/commits{/sha}","git_commits_url":"https://api.github.com/repos/tiborsimko/invenio/git/commits{/sha}","comments_url":"https://api.github.com/repos/tiborsimko/invenio/comments{/number}","issue_comment_url":"https://api.github.com/repos/tiborsimko/invenio/issues/comments{/number}","contents_url":"https://api.github.com/repos/tiborsimko/invenio/contents/{+path}","compare_url":"https://api.github.com/repos/tiborsimko/invenio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tiborsimko/invenio/merges","archive_url":"https://api.github.com/repos/tiborsimko/invenio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tiborsimko/invenio/downloads","issues_url":"https://api.github.com/repos/tiborsimko/invenio/issues{/number}","pulls_url":"https://api.github.com/repos/tiborsimko/invenio/pulls{/number}","milestones_url":"https://api.github.com/repos/tiborsimko/invenio/milestones{/number}","notifications_url":"https://api.github.com/repos/tiborsimko/invenio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tiborsimko/invenio/labels{/name}","releases_url":"https://api.github.com/repos/tiborsimko/invenio/releases{/id}","created_at":"2013-12-05T10:09:53Z","updated_at":"2015-04-28T14:14:33Z","pushed_at":"2015-10-12T12:17:44Z","git_url":"git://github.com/tiborsimko/invenio.git","ssh_url":"git@github.com:tiborsimko/invenio.git","clone_url":"https://github.com/tiborsimko/invenio.git","svn_url":"https://github.com/tiborsimko/invenio","homepage":"http://invenio-software.org/","size":90444,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"inveniosoftware:master","ref":"master","sha":"dfdccaf81a68da5feb93c4e74f18a2c72a9b56e4","user":{"login":"inveniosoftware","id":1157480,"avatar_url":"https://avatars.githubusercontent.com/u/1157480?v=3","gravatar_id":"","url":"https://api.github.com/users/inveniosoftware","html_url":"https://github.com/inveniosoftware","followers_url":"https://api.github.com/users/inveniosoftware/followers","following_url":"https://api.github.com/users/inveniosoftware/following{/other_user}","gists_url":"https://api.github.com/users/inveniosoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/inveniosoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inveniosoftware/subscriptions","organizations_url":"https://api.github.com/users/inveniosoftware/orgs","repos_url":"https://api.github.com/users/inveniosoftware/repos","events_url":"https://api.github.com/users/inveniosoftware/events{/privacy}","received_events_url":"https://api.github.com/users/inveniosoftware/received_events","type":"Organization","site_admin":false},"repo":{"id":2665618,"name":"invenio","full_name":"inveniosoftware/invenio","owner":{"login":"inveniosoftware","id":1157480,"avatar_url":"https://avatars.githubusercontent.com/u/1157480?v=3","gravatar_id":"","url":"https://api.github.com/users/inveniosoftware","html_url":"https://github.com/inveniosoftware","followers_url":"https://api.github.com/users/inveniosoftware/followers","following_url":"https://api.github.com/users/inveniosoftware/following{/other_user}","gists_url":"https://api.github.com/users/inveniosoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/inveniosoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inveniosoftware/subscriptions","organizations_url":"https://api.github.com/users/inveniosoftware/orgs","repos_url":"https://api.github.com/users/inveniosoftware/repos","events_url":"https://api.github.com/users/inveniosoftware/events{/privacy}","received_events_url":"https://api.github.com/users/inveniosoftware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/inveniosoftware/invenio","description":"Invenio digital library software","fork":false,"url":"https://api.github.com/repos/inveniosoftware/invenio","forks_url":"https://api.github.com/repos/inveniosoftware/invenio/forks","keys_url":"https://api.github.com/repos/inveniosoftware/invenio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/inveniosoftware/invenio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/inveniosoftware/invenio/teams","hooks_url":"https://api.github.com/repos/inveniosoftware/invenio/hooks","issue_events_url":"https://api.github.com/repos/inveniosoftware/invenio/issues/events{/number}","events_url":"https://api.github.com/repos/inveniosoftware/invenio/events","assignees_url":"https://api.github.com/repos/inveniosoftware/invenio/assignees{/user}","branches_url":"https://api.github.com/repos/inveniosoftware/invenio/branches{/branch}","tags_url":"https://api.github.com/repos/inveniosoftware/invenio/tags","blobs_url":"https://api.github.com/repos/inveniosoftware/invenio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/inveniosoftware/invenio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/inveniosoftware/invenio/git/refs{/sha}","trees_url":"https://api.github.com/repos/inveniosoftware/invenio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/inveniosoftware/invenio/statuses/{sha}","languages_url":"https://api.github.com/repos/inveniosoftware/invenio/languages","stargazers_url":"https://api.github.com/repos/inveniosoftware/invenio/stargazers","contributors_url":"https://api.github.com/repos/inveniosoftware/invenio/contributors","subscribers_url":"https://api.github.com/repos/inveniosoftware/invenio/subscribers","subscription_url":"https://api.github.com/repos/inveniosoftware/invenio/subscription","commits_url":"https://api.github.com/repos/inveniosoftware/invenio/commits{/sha}","git_commits_url":"https://api.github.com/repos/inveniosoftware/invenio/git/commits{/sha}","comments_url":"https://api.github.com/repos/inveniosoftware/invenio/comments{/number}","issue_comment_url":"https://api.github.com/repos/inveniosoftware/invenio/issues/comments{/number}","contents_url":"https://api.github.com/repos/inveniosoftware/invenio/contents/{+path}","compare_url":"https://api.github.com/repos/inveniosoftware/invenio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/inveniosoftware/invenio/merges","archive_url":"https://api.github.com/repos/inveniosoftware/invenio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/inveniosoftware/invenio/downloads","issues_url":"https://api.github.com/repos/inveniosoftware/invenio/issues{/number}","pulls_url":"https://api.github.com/repos/inveniosoftware/invenio/pulls{/number}","milestones_url":"https://api.github.com/repos/inveniosoftware/invenio/milestones{/number}","notifications_url":"https://api.github.com/repos/inveniosoftware/invenio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/inveniosoftware/invenio/labels{/name}","releases_url":"https://api.github.com/repos/inveniosoftware/invenio/releases{/id}","created_at":"2011-10-28T14:33:51Z","updated_at":"2015-10-11T02:35:29Z","pushed_at":"2015-10-12T12:17:44Z","git_url":"git://github.com/inveniosoftware/invenio.git","ssh_url":"git@github.com:inveniosoftware/invenio.git","clone_url":"https://github.com/inveniosoftware/invenio.git","svn_url":"https://github.com/inveniosoftware/invenio","homepage":"http://invenio-software.org/","size":116699,"stargazers_count":79,"watchers_count":79,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":146,"mirror_url":null,"open_issues_count":616,"forks":146,"open_issues":616,"watchers":79,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/inveniosoftware/invenio/pulls/3532"},"html":{"href":"https://github.com/inveniosoftware/invenio/pull/3532"},"issue":{"href":"https://api.github.com/repos/inveniosoftware/invenio/issues/3532"},"comments":{"href":"https://api.github.com/repos/inveniosoftware/invenio/issues/3532/comments"},"review_comments":{"href":"https://api.github.com/repos/inveniosoftware/invenio/pulls/3532/comments"},"review_comment":{"href":"https://api.github.com/repos/inveniosoftware/invenio/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/inveniosoftware/invenio/pulls/3532/commits"},"statuses":{"href":"https://api.github.com/repos/inveniosoftware/invenio/statuses/933fae4a5e4478b3c7e4eb7c71d5e094ac0229ff"}}}}