{"action":"created","comment":{"url":"https://api.github.com/repos/akeneo/pim-docs/pulls/comments/59571634","id":59571634,"diff_hunk":"@@ -0,0 +1,393 @@\n+Submitting a Patch\n+==================\n+\n+As Akeneo PIM is an open-source project all contributions are very welcome.\n+Patches are the best way to provide a bug fix or to propose enhancements.\n+All features contributions are submitting to our Product Owner before to merge.\n+Only them have to power to accept your contribution !\n+\n+Note that documentation has been largely inspired from the `Sylius documentation`_. Thank them for the great work.\n+\n+Step 1: Setup your Environment\n+------------------------------\n+\n+Install the Software Stack\n+~~~~~~~~~~~~~~~~~~~~~~~~~~\n+\n+Before working on Akeneo PIM, setup a Symfony2 friendly environment with the following\n+software:\n+\n+* Git\n+* PHP version 5.4.4 ≤ version ≤ 5.6\n+* MySQL 5.1 ≤ version ≤ 5.6\n+\n+Configure Git\n+~~~~~~~~~~~~~\n+\n+Set up your user information with your real name and a working email address:\n+\n+.. code-block:: bash\n+\n+    $ git config --global user.name \"Your Name\"\n+    $ git config --global user.email you@example.com\n+\n+.. tip::\n+\n+    If you are new to Git, you are highly recommended to read the excellent and\n+    free `ProGit`_ book.\n+\n+.. tip::\n+\n+    If your IDE creates configuration files inside the project's directory,\n+    you can use global ``.gitignore`` file (for all projects) or\n+    ``.git/info/exclude`` file (per project) to ignore them. See\n+    `Github's documentation`_.\n+\n+.. tip::\n+\n+    Windows users: when installing Git, the installer will ask what to do with\n+    line endings, and suggests replacing all LF with CRLF. This is the wrong\n+    setting if you wish to contribute to Akeneo PIM. Selecting the as-is method is\n+    your best choice, as Git will convert your line feeds to the ones in the\n+    repository. If you have already installed Git, you can check the value of\n+    this setting by typing:\n+\n+    .. code-block:: bash\n+\n+        $ git config core.autocrlf\n+\n+    This will return either \"false\", \"input\" or \"true\"; \"true\" and \"false\" being\n+    the wrong values. Change it to \"input\" by typing:\n+\n+    .. code-block:: bash\n+\n+        $ git config --global core.autocrlf input\n+\n+    Replace --global by --local if you want to set it only for the active\n+    repository\n+\n+Get the Akeneo PIM Source Code\n+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n+\n+Get the Akeneo PIM source code:\n+\n+* Create a `GitHub`_ account and sign in;\n+\n+* Fork the `Akeneo PIM repository`_ (click on the \"Fork\" button);\n+\n+* After the \"forking action\" has completed, clone your fork locally\n+  (this will create a ``pim-community-dev`` directory):\n+\n+.. code-block:: bash\n+\n+      $ git clone git@github.com:USERNAME/pim-community-dev.git\n+\n+* Add the upstream repository as a remote:\n+\n+.. code-block:: bash\n+\n+      $ cd pim-community-dev\n+      $ git remote add upstream git://github.com/akeneo/pim-community-dev.git\n+\n+Step 2: Work on your Patch\n+--------------------------\n+\n+The License\n+~~~~~~~~~~~\n+\n+Before you start, you must know that all the patches you are going to submit\n+must be released under the *OSL-3.0 license*, unless explicitly specified in your\n+commits.\n+\n+Create a Topic Branch\n+~~~~~~~~~~~~~~~~~~~~~\n+\n+Each time you want to work on a patch for a bug or on an enhancement, create a\n+topic branch:\n+\n+.. code-block:: bash\n+\n+    $ git checkout -b BRANCH_NAME master\n+\n+.. tip::\n+\n+    Use a descriptive name for your branch (``issue_XXX`` where ``XXX`` is the\n+    GitHub issue number is a good convention for bug fixes).\n+\n+The above checkout commands automatically switch the code to the newly created\n+branch (check the branch you are working on with ``git branch``).\n+\n+Work on your Patch\n+~~~~~~~~~~~~~~~~~~\n+\n+Before working on a contribution for an Akeneo repository, please read the following `code conventions`_\n+and `coding standard`_ to be sure to respect all our standards.","path":"contributing/contribution_guide.rst","position":124,"original_position":124,"commit_id":"49791afa5944a570dbd70af00109435bf73e7bda","original_commit_id":"49791afa5944a570dbd70af00109435bf73e7bda","user":{"login":"rybus","id":3594268,"avatar_url":"https://avatars.githubusercontent.com/u/3594268?v=3","gravatar_id":"","url":"https://api.github.com/users/rybus","html_url":"https://github.com/rybus","followers_url":"https://api.github.com/users/rybus/followers","following_url":"https://api.github.com/users/rybus/following{/other_user}","gists_url":"https://api.github.com/users/rybus/gists{/gist_id}","starred_url":"https://api.github.com/users/rybus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rybus/subscriptions","organizations_url":"https://api.github.com/users/rybus/orgs","repos_url":"https://api.github.com/users/rybus/repos","events_url":"https://api.github.com/users/rybus/events{/privacy}","received_events_url":"https://api.github.com/users/rybus/received_events","type":"User","site_admin":false},"body":"to make sure","created_at":"2016-04-13T15:39:09Z","updated_at":"2016-04-13T15:39:09Z","html_url":"https://github.com/akeneo/pim-docs/pull/293#discussion_r59571634","pull_request_url":"https://api.github.com/repos/akeneo/pim-docs/pulls/293","_links":{"self":{"href":"https://api.github.com/repos/akeneo/pim-docs/pulls/comments/59571634"},"html":{"href":"https://github.com/akeneo/pim-docs/pull/293#discussion_r59571634"},"pull_request":{"href":"https://api.github.com/repos/akeneo/pim-docs/pulls/293"}}},"pull_request":{"url":"https://api.github.com/repos/akeneo/pim-docs/pulls/293","id":66172890,"html_url":"https://github.com/akeneo/pim-docs/pull/293","diff_url":"https://github.com/akeneo/pim-docs/pull/293.diff","patch_url":"https://github.com/akeneo/pim-docs/pull/293.patch","issue_url":"https://api.github.com/repos/akeneo/pim-docs/issues/293","number":293,"state":"open","locked":false,"title":"[TR] Contributor guide","user":{"login":"willy-ahva","id":7206368,"avatar_url":"https://avatars.githubusercontent.com/u/7206368?v=3","gravatar_id":"","url":"https://api.github.com/users/willy-ahva","html_url":"https://github.com/willy-ahva","followers_url":"https://api.github.com/users/willy-ahva/followers","following_url":"https://api.github.com/users/willy-ahva/following{/other_user}","gists_url":"https://api.github.com/users/willy-ahva/gists{/gist_id}","starred_url":"https://api.github.com/users/willy-ahva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willy-ahva/subscriptions","organizations_url":"https://api.github.com/users/willy-ahva/orgs","repos_url":"https://api.github.com/users/willy-ahva/repos","events_url":"https://api.github.com/users/willy-ahva/events{/privacy}","received_events_url":"https://api.github.com/users/willy-ahva/received_events","type":"User","site_admin":false},"body":"Contributor guide for Akeneo PIM project.\r\n\r\nInspired from Sylius guide : http://docs.sylius.org/en/latest/contributing/code/patches.html","created_at":"2016-04-12T15:00:00Z","updated_at":"2016-04-13T15:39:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e17e0bde851e181e678ed648a5f6dee5f5cfe0ce","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/akeneo/pim-docs/pulls/293/commits","review_comments_url":"https://api.github.com/repos/akeneo/pim-docs/pulls/293/comments","review_comment_url":"https://api.github.com/repos/akeneo/pim-docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/akeneo/pim-docs/issues/293/comments","statuses_url":"https://api.github.com/repos/akeneo/pim-docs/statuses/49791afa5944a570dbd70af00109435bf73e7bda","head":{"label":"akeneo:contributionGuide","ref":"contributionGuide","sha":"49791afa5944a570dbd70af00109435bf73e7bda","user":{"login":"akeneo","id":2510186,"avatar_url":"https://avatars.githubusercontent.com/u/2510186?v=3","gravatar_id":"","url":"https://api.github.com/users/akeneo","html_url":"https://github.com/akeneo","followers_url":"https://api.github.com/users/akeneo/followers","following_url":"https://api.github.com/users/akeneo/following{/other_user}","gists_url":"https://api.github.com/users/akeneo/gists{/gist_id}","starred_url":"https://api.github.com/users/akeneo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akeneo/subscriptions","organizations_url":"https://api.github.com/users/akeneo/orgs","repos_url":"https://api.github.com/users/akeneo/repos","events_url":"https://api.github.com/users/akeneo/events{/privacy}","received_events_url":"https://api.github.com/users/akeneo/received_events","type":"Organization","site_admin":false},"repo":{"id":12193604,"name":"pim-docs","full_name":"akeneo/pim-docs","owner":{"login":"akeneo","id":2510186,"avatar_url":"https://avatars.githubusercontent.com/u/2510186?v=3","gravatar_id":"","url":"https://api.github.com/users/akeneo","html_url":"https://github.com/akeneo","followers_url":"https://api.github.com/users/akeneo/followers","following_url":"https://api.github.com/users/akeneo/following{/other_user}","gists_url":"https://api.github.com/users/akeneo/gists{/gist_id}","starred_url":"https://api.github.com/users/akeneo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akeneo/subscriptions","organizations_url":"https://api.github.com/users/akeneo/orgs","repos_url":"https://api.github.com/users/akeneo/repos","events_url":"https://api.github.com/users/akeneo/events{/privacy}","received_events_url":"https://api.github.com/users/akeneo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/akeneo/pim-docs","description":"[Community Documentation Repository] The open source Product Information Management (PIM)","fork":false,"url":"https://api.github.com/repos/akeneo/pim-docs","forks_url":"https://api.github.com/repos/akeneo/pim-docs/forks","keys_url":"https://api.github.com/repos/akeneo/pim-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/akeneo/pim-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/akeneo/pim-docs/teams","hooks_url":"https://api.github.com/repos/akeneo/pim-docs/hooks","issue_events_url":"https://api.github.com/repos/akeneo/pim-docs/issues/events{/number}","events_url":"https://api.github.com/repos/akeneo/pim-docs/events","assignees_url":"https://api.github.com/repos/akeneo/pim-docs/assignees{/user}","branches_url":"https://api.github.com/repos/akeneo/pim-docs/branches{/branch}","tags_url":"https://api.github.com/repos/akeneo/pim-docs/tags","blobs_url":"https://api.github.com/repos/akeneo/pim-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/akeneo/pim-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/akeneo/pim-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/akeneo/pim-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/akeneo/pim-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/akeneo/pim-docs/languages","stargazers_url":"https://api.github.com/repos/akeneo/pim-docs/stargazers","contributors_url":"https://api.github.com/repos/akeneo/pim-docs/contributors","subscribers_url":"https://api.github.com/repos/akeneo/pim-docs/subscribers","subscription_url":"https://api.github.com/repos/akeneo/pim-docs/subscription","commits_url":"https://api.github.com/repos/akeneo/pim-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/akeneo/pim-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/akeneo/pim-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/akeneo/pim-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/akeneo/pim-docs/contents/{+path}","compare_url":"https://api.github.com/repos/akeneo/pim-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/akeneo/pim-docs/merges","archive_url":"https://api.github.com/repos/akeneo/pim-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/akeneo/pim-docs/downloads","issues_url":"https://api.github.com/repos/akeneo/pim-docs/issues{/number}","pulls_url":"https://api.github.com/repos/akeneo/pim-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/akeneo/pim-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/akeneo/pim-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/akeneo/pim-docs/labels{/name}","releases_url":"https://api.github.com/repos/akeneo/pim-docs/releases{/id}","deployments_url":"https://api.github.com/repos/akeneo/pim-docs/deployments","created_at":"2013-08-18T10:17:30Z","updated_at":"2016-03-20T11:04:37Z","pushed_at":"2016-04-13T15:23:14Z","git_url":"git://github.com/akeneo/pim-docs.git","ssh_url":"git@github.com:akeneo/pim-docs.git","clone_url":"https://github.com/akeneo/pim-docs.git","svn_url":"https://github.com/akeneo/pim-docs","homepage":"http://docs.akeneo.com/latest/index.html","size":3371,"stargazers_count":16,"watchers_count":16,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":40,"mirror_url":null,"open_issues_count":9,"forks":40,"open_issues":9,"watchers":16,"default_branch":"master"}},"base":{"label":"akeneo:master","ref":"master","sha":"cc561ff1e9d5162031cc5fe9311c4064677a4206","user":{"login":"akeneo","id":2510186,"avatar_url":"https://avatars.githubusercontent.com/u/2510186?v=3","gravatar_id":"","url":"https://api.github.com/users/akeneo","html_url":"https://github.com/akeneo","followers_url":"https://api.github.com/users/akeneo/followers","following_url":"https://api.github.com/users/akeneo/following{/other_user}","gists_url":"https://api.github.com/users/akeneo/gists{/gist_id}","starred_url":"https://api.github.com/users/akeneo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akeneo/subscriptions","organizations_url":"https://api.github.com/users/akeneo/orgs","repos_url":"https://api.github.com/users/akeneo/repos","events_url":"https://api.github.com/users/akeneo/events{/privacy}","received_events_url":"https://api.github.com/users/akeneo/received_events","type":"Organization","site_admin":false},"repo":{"id":12193604,"name":"pim-docs","full_name":"akeneo/pim-docs","owner":{"login":"akeneo","id":2510186,"avatar_url":"https://avatars.githubusercontent.com/u/2510186?v=3","gravatar_id":"","url":"https://api.github.com/users/akeneo","html_url":"https://github.com/akeneo","followers_url":"https://api.github.com/users/akeneo/followers","following_url":"https://api.github.com/users/akeneo/following{/other_user}","gists_url":"https://api.github.com/users/akeneo/gists{/gist_id}","starred_url":"https://api.github.com/users/akeneo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akeneo/subscriptions","organizations_url":"https://api.github.com/users/akeneo/orgs","repos_url":"https://api.github.com/users/akeneo/repos","events_url":"https://api.github.com/users/akeneo/events{/privacy}","received_events_url":"https://api.github.com/users/akeneo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/akeneo/pim-docs","description":"[Community Documentation Repository] The open source Product Information Management (PIM)","fork":false,"url":"https://api.github.com/repos/akeneo/pim-docs","forks_url":"https://api.github.com/repos/akeneo/pim-docs/forks","keys_url":"https://api.github.com/repos/akeneo/pim-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/akeneo/pim-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/akeneo/pim-docs/teams","hooks_url":"https://api.github.com/repos/akeneo/pim-docs/hooks","issue_events_url":"https://api.github.com/repos/akeneo/pim-docs/issues/events{/number}","events_url":"https://api.github.com/repos/akeneo/pim-docs/events","assignees_url":"https://api.github.com/repos/akeneo/pim-docs/assignees{/user}","branches_url":"https://api.github.com/repos/akeneo/pim-docs/branches{/branch}","tags_url":"https://api.github.com/repos/akeneo/pim-docs/tags","blobs_url":"https://api.github.com/repos/akeneo/pim-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/akeneo/pim-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/akeneo/pim-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/akeneo/pim-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/akeneo/pim-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/akeneo/pim-docs/languages","stargazers_url":"https://api.github.com/repos/akeneo/pim-docs/stargazers","contributors_url":"https://api.github.com/repos/akeneo/pim-docs/contributors","subscribers_url":"https://api.github.com/repos/akeneo/pim-docs/subscribers","subscription_url":"https://api.github.com/repos/akeneo/pim-docs/subscription","commits_url":"https://api.github.com/repos/akeneo/pim-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/akeneo/pim-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/akeneo/pim-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/akeneo/pim-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/akeneo/pim-docs/contents/{+path}","compare_url":"https://api.github.com/repos/akeneo/pim-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/akeneo/pim-docs/merges","archive_url":"https://api.github.com/repos/akeneo/pim-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/akeneo/pim-docs/downloads","issues_url":"https://api.github.com/repos/akeneo/pim-docs/issues{/number}","pulls_url":"https://api.github.com/repos/akeneo/pim-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/akeneo/pim-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/akeneo/pim-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/akeneo/pim-docs/labels{/name}","releases_url":"https://api.github.com/repos/akeneo/pim-docs/releases{/id}","deployments_url":"https://api.github.com/repos/akeneo/pim-docs/deployments","created_at":"2013-08-18T10:17:30Z","updated_at":"2016-03-20T11:04:37Z","pushed_at":"2016-04-13T15:23:14Z","git_url":"git://github.com/akeneo/pim-docs.git","ssh_url":"git@github.com:akeneo/pim-docs.git","clone_url":"https://github.com/akeneo/pim-docs.git","svn_url":"https://github.com/akeneo/pim-docs","homepage":"http://docs.akeneo.com/latest/index.html","size":3371,"stargazers_count":16,"watchers_count":16,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":40,"mirror_url":null,"open_issues_count":9,"forks":40,"open_issues":9,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/akeneo/pim-docs/pulls/293"},"html":{"href":"https://github.com/akeneo/pim-docs/pull/293"},"issue":{"href":"https://api.github.com/repos/akeneo/pim-docs/issues/293"},"comments":{"href":"https://api.github.com/repos/akeneo/pim-docs/issues/293/comments"},"review_comments":{"href":"https://api.github.com/repos/akeneo/pim-docs/pulls/293/comments"},"review_comment":{"href":"https://api.github.com/repos/akeneo/pim-docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/akeneo/pim-docs/pulls/293/commits"},"statuses":{"href":"https://api.github.com/repos/akeneo/pim-docs/statuses/49791afa5944a570dbd70af00109435bf73e7bda"}}}}