{"action":"created","comment":{"url":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/pulls/comments/44409865","id":44409865,"diff_hunk":"@@ -0,0 +1,272 @@\n+---\n+layout: post\n+author: guilhem_bourgoin\n+title: \"Behat to the Fixture\"\n+excerpt: \"How to use Behat to write Fixtures in Symfony2\"\n+modified: 2015-08-14\n+tags: [behat, symfony2, fixtures]\n+comments: true\n+image:\n+  feature: behat-to-the-fixture.jpg\n+  credit: Alban Pommeret\n+  creditlink: http://reputationvip.io\n+---\n+\n+## What is a fixture ?\n+\n+[DoctrineFixturesBundle documentation](http://symfony.com/doc/current/bundles/DoctrineFixturesBundle/index.html) :\n+\n+>Fixtures are used to load a controlled set of data into a database. This data can be used for testing or could be the initial data required for the application to run smoothly. Symfony2 has no built in way to manage fixtures but Doctrine2 has a library to help you write fixtures.\n+\n+The goal of this article is to propose a new method based on Gherkin language and behat 3 to write and load fixtures on Symfony2.\n+\n+For further information about behat test, refer to this article : [BDD, Behaviour Driven Development](/bdd-behat-driven-development) \n+\n+***\n+\n+## Current ways to write fixtures on Symfony2\n+\n+There are two main ways to write symfony2 fixtures.\n+\n+Write your entities directly in PHP :\n+\n+{% highlight php startinline=true %}\n+class LoadUserAndBookData implements FixtureInterface\n+{\n+    public function load(ObjectManager $manager)\n+    {\n+         $userJames = new User();\n+         $userJames->setName('james');\n+         $userJames->setPassword('pwd');\n+         $manager->persist($userJames);\n+     \n+         $userJohn = new User();\n+         $userJohn->setName('john');\n+         $userJohn->setPassword('pwd'); \n+         $manager->persist($userJohn); \n+     \n+         $book1 = new Book();\n+         $book1->setTitle('Lord of the ring');\n+         $book1->setOwner($userJames); \n+         $manager->persist($book1);\n+     \n+         $book2 = new Book();\n+         $book2->setTitle('Harry Potter 1');\n+         $book2->setOwner($userJohn); \n+         $manager->persist($book2);\n+     \n+         $manager->flush();\n+    }\n+}\n+{% endhighlight %}\n+\n+\n+Or use yml format (with hautelook/alice-bundle) :\n+\n+{% highlight gherkin %}\n+AppBundle\\Entity\\User:\n+    user1: \n+        name: james\n+        password: pwd\n+    user2:\n+        name: john\n+        password: pwd\n+\n+AppBundle\\Entity\\Book:\n+    book1: \n+        title: Lord of the ring\n+        owner: @user1\n+    book2:\n+        title: Harry Potter 1\n+        owner: @user2\n+{% endhighlight %}\n+\n+\n+## Fixtures in Gherkin language\n+\n+I propose here a third way, based on Gherkin language and interpreted by behat :\n+\n+{% highlight gherkin %}\n+Feature: Load data.\n+\n+    Scenario: fixture 1\n+        Given users :\n+            | name  | password |\n+            | james | pwd      |\n+            | john  | pwd      |\n+        Given books :\n+            | title            | user  |\n+            | Lord of the ring | james |\n+            | Harry Potter 1   | john  |\n+\n+{% endhighlight %}\n+\n+Gherkin language is more readable than yml format. Even if you are not a developer, you can write it.\n+\n+\n+## Translate Gherkin language to data\n+\n+If you are already using behat on your projet, \"Given\" steps definitions are certainly already defined in one of your Context.\n+Example of steps corresponding to fixtures above :\n+\n+{% highlight php startinline=true %}\n+/**\n+ * @Given users :\n+ */\n+public function users(TableNode $tableUsers)\n+{\n+    foreach ($tableUsers as $userRow) {\n+        $user = new User();\n+        $user->setName($userRow['name']);\n+        $user->setPassword($userRow['password']);\n+        $this->em->persist($user);\n+    }\n+    $this->em->flush();\n+}\n+\n+/**\n+ * @Given books :\n+ */\n+public function books(TableNode $tableBooks)\n+{\n+    foreach ($tableBooks as $bookRow) {\n+        $book = new Book();\n+        $book->setTitle($bookRow['title']);\n+        $book->setOwner($this->findUserByName($bookRow['owner']));\n+        $this->em->persist($book);\n+    }\n+    $this->em->flush();\n+}\n+\n+{% endhighlight %}\n+\n+## Behat3 settings\n+\n+Behat test use test databases, but fixtures have to use dev database. Create *behat_fixtures.yml* file in the root of your project as below :\n+\n+{% highlight gherkin %}\n+default:\n+    extensions:\n+        Behat\\Symfony2Extension:\n+            kernel:\n+                env: dev\n+    suites:\n+        fixtures:\n+            type: symfony_bundle\n+            bundle: 'AppBundle'\n+            paths:\n+                - src/AppBundle/DataFixtures/\n+            contexts :\n+                - AppBundle\\Features\\Context\\FixturesContext\n+                - ...\n+{% endhighlight %}\n+\n+First you have to define the environment who have to be used : *dev* (default value is *test*) :\n+\n+{% highlight gherkin %}\n+default:\n+    extensions:\n+        Behat\\Symfony2Extension:\n+            kernel:\n+                env: dev\n+{% endhighlight %}\n+\n+Next, specify the folder with fixtures files,  here *src/AppBundle/DataFixtures/* :\n+\n+{% highlight gherkin %}\n+default:\n+    suites:\n+        fixtures:\n+            paths:\n+                - src/AppBundle/DataFixtures/\n+{% endhighlight %}\n+\n+Context class list is the same as behat test. Just add FixturesContext (see below).\n+\n+\n+## Manage data bases before to load fixtures\n+\n+{% highlight php startinline=true %}\n+class FixturesContext implements Context\n+{\n+    /** @BeforeSuite */\n+    public static function before($event)\n+    {\n+        $kernel = new AppKernel(\"dev\", true);\n+        $kernel->boot();\n+    \n+        FixturesContext::checkDatabasesHosts($kernel);\n+    \n+        $application = new Application($kernel);\n+        $application->setAutoExit(false);\n+        FixturesContext::runConsole($application, \"doctrine:schema:drop\", [\"--force\" => true, \"--full-database\" => true]);\n+        FixturesContext::runConsole($application, \"doctrine:schema:create\");\n+        $kernel->shutdown();\n+    }\n+    \n+    private static function runConsole($application, $command, $options = array())\n+    {\n+        $options[\"-e\"] = \"dev\";\n+        $options[\"-q\"] = null;\n+        $options = array_merge($options, array('command' => $command));\n+        return $application->run(new ArrayInput($options));\n+    }\n+}\n+\n+{% endhighlight %}\n+\n+First, check database host is *localhost* (on a vagrant for example), to avoid to clear wrong databases.\n+Next, delete database schema, then re-create the schema from doctrine entities. You can also use a migration script like DoctrineMigration.\n+\n+## Write fixtures\n+\n+Fixtures format is Gherkin language, as behat scenarios. Example :\n+\n+{% highlight gherkin %}\n+Feature: fixtures library\n+\n+    Scenario: fixture writers\n+        Given writers :\n+            | name             | birth date |\n+            | JK Rowling       | 1965-07-31 |\n+            | Dan Brown        |            |\n+            | J. R. R. Tolkien | 1892-01-03 |\n+\n+    Scenario: fixture books\n+        Given literary genres :\n+            | name            |\n+            | science fiction |\n+            | comedy          |\n+        Given books :\n+            | title                 | author     | literary genres | publication year |\n+            | The Lord of the Rings | JK Rowling | science fiction | 1954             |\n+            | Da Vinci Code         | Dan Brown  |                 | 2003             |\n+            | Angels and Demons     | Dan Brown  |                 | 2000             |\n+{% endhighlight %}\n+\n+Put your fixtures files **.feature* on the folder defined in *behat_fixtures.yml* (here *src/AppBundle/DataFixtures/*).","path":"_posts/2015-11-16-behat-to-the-fixture.md","position":247,"original_position":247,"commit_id":"5eefca4ba5d5175491dc8b801aadf7511386dae2","original_commit_id":"5eefca4ba5d5175491dc8b801aadf7511386dae2","user":{"login":"guilhemVB","id":10512949,"avatar_url":"https://avatars.githubusercontent.com/u/10512949?v=3","gravatar_id":"","url":"https://api.github.com/users/guilhemVB","html_url":"https://github.com/guilhemVB","followers_url":"https://api.github.com/users/guilhemVB/followers","following_url":"https://api.github.com/users/guilhemVB/following{/other_user}","gists_url":"https://api.github.com/users/guilhemVB/gists{/gist_id}","starred_url":"https://api.github.com/users/guilhemVB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guilhemVB/subscriptions","organizations_url":"https://api.github.com/users/guilhemVB/orgs","repos_url":"https://api.github.com/users/guilhemVB/repos","events_url":"https://api.github.com/users/guilhemVB/events{/privacy}","received_events_url":"https://api.github.com/users/guilhemVB/received_events","type":"User","site_admin":false},"body":"Nope the result will be `*.feature`","created_at":"2015-11-10T14:14:56Z","updated_at":"2015-11-10T14:14:56Z","html_url":"https://github.com/ReputationVIP/reputationvip.github.io/pull/44#discussion_r44409865","pull_request_url":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/pulls/44","_links":{"self":{"href":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/pulls/comments/44409865"},"html":{"href":"https://github.com/ReputationVIP/reputationvip.github.io/pull/44#discussion_r44409865"},"pull_request":{"href":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/pulls/44"}}},"pull_request":{"url":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/pulls/44","id":50253824,"html_url":"https://github.com/ReputationVIP/reputationvip.github.io/pull/44","diff_url":"https://github.com/ReputationVIP/reputationvip.github.io/pull/44.diff","patch_url":"https://github.com/ReputationVIP/reputationvip.github.io/pull/44.patch","issue_url":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/issues/44","number":44,"state":"open","locked":false,"title":"[WIP] Add behat to the fixture article","user":{"login":"guilhemVB","id":10512949,"avatar_url":"https://avatars.githubusercontent.com/u/10512949?v=3","gravatar_id":"","url":"https://api.github.com/users/guilhemVB","html_url":"https://github.com/guilhemVB","followers_url":"https://api.github.com/users/guilhemVB/followers","following_url":"https://api.github.com/users/guilhemVB/following{/other_user}","gists_url":"https://api.github.com/users/guilhemVB/gists{/gist_id}","starred_url":"https://api.github.com/users/guilhemVB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guilhemVB/subscriptions","organizations_url":"https://api.github.com/users/guilhemVB/orgs","repos_url":"https://api.github.com/users/guilhemVB/repos","events_url":"https://api.github.com/users/guilhemVB/events{/privacy}","received_events_url":"https://api.github.com/users/guilhemVB/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-10T13:33:36Z","updated_at":"2015-11-10T14:14:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ee609db12dd4c7fa849492c4534134a1df0f7516","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/pulls/44/commits","review_comments_url":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/pulls/44/comments","review_comment_url":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/issues/44/comments","statuses_url":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/statuses/5eefca4ba5d5175491dc8b801aadf7511386dae2","head":{"label":"guilhemVB:behat-to-the-fixture","ref":"behat-to-the-fixture","sha":"5eefca4ba5d5175491dc8b801aadf7511386dae2","user":{"login":"guilhemVB","id":10512949,"avatar_url":"https://avatars.githubusercontent.com/u/10512949?v=3","gravatar_id":"","url":"https://api.github.com/users/guilhemVB","html_url":"https://github.com/guilhemVB","followers_url":"https://api.github.com/users/guilhemVB/followers","following_url":"https://api.github.com/users/guilhemVB/following{/other_user}","gists_url":"https://api.github.com/users/guilhemVB/gists{/gist_id}","starred_url":"https://api.github.com/users/guilhemVB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guilhemVB/subscriptions","organizations_url":"https://api.github.com/users/guilhemVB/orgs","repos_url":"https://api.github.com/users/guilhemVB/repos","events_url":"https://api.github.com/users/guilhemVB/events{/privacy}","received_events_url":"https://api.github.com/users/guilhemVB/received_events","type":"User","site_admin":false},"repo":{"id":45912728,"name":"reputationvip.github.io","full_name":"guilhemVB/reputationvip.github.io","owner":{"login":"guilhemVB","id":10512949,"avatar_url":"https://avatars.githubusercontent.com/u/10512949?v=3","gravatar_id":"","url":"https://api.github.com/users/guilhemVB","html_url":"https://github.com/guilhemVB","followers_url":"https://api.github.com/users/guilhemVB/followers","following_url":"https://api.github.com/users/guilhemVB/following{/other_user}","gists_url":"https://api.github.com/users/guilhemVB/gists{/gist_id}","starred_url":"https://api.github.com/users/guilhemVB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guilhemVB/subscriptions","organizations_url":"https://api.github.com/users/guilhemVB/orgs","repos_url":"https://api.github.com/users/guilhemVB/repos","events_url":"https://api.github.com/users/guilhemVB/events{/privacy}","received_events_url":"https://api.github.com/users/guilhemVB/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/guilhemVB/reputationvip.github.io","description":"At ReputationVIP, we aren't just online reputation experts, we are developers too!","fork":true,"url":"https://api.github.com/repos/guilhemVB/reputationvip.github.io","forks_url":"https://api.github.com/repos/guilhemVB/reputationvip.github.io/forks","keys_url":"https://api.github.com/repos/guilhemVB/reputationvip.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guilhemVB/reputationvip.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guilhemVB/reputationvip.github.io/teams","hooks_url":"https://api.github.com/repos/guilhemVB/reputationvip.github.io/hooks","issue_events_url":"https://api.github.com/repos/guilhemVB/reputationvip.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/guilhemVB/reputationvip.github.io/events","assignees_url":"https://api.github.com/repos/guilhemVB/reputationvip.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/guilhemVB/reputationvip.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/guilhemVB/reputationvip.github.io/tags","blobs_url":"https://api.github.com/repos/guilhemVB/reputationvip.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guilhemVB/reputationvip.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guilhemVB/reputationvip.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/guilhemVB/reputationvip.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guilhemVB/reputationvip.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/guilhemVB/reputationvip.github.io/languages","stargazers_url":"https://api.github.com/repos/guilhemVB/reputationvip.github.io/stargazers","contributors_url":"https://api.github.com/repos/guilhemVB/reputationvip.github.io/contributors","subscribers_url":"https://api.github.com/repos/guilhemVB/reputationvip.github.io/subscribers","subscription_url":"https://api.github.com/repos/guilhemVB/reputationvip.github.io/subscription","commits_url":"https://api.github.com/repos/guilhemVB/reputationvip.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/guilhemVB/reputationvip.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/guilhemVB/reputationvip.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/guilhemVB/reputationvip.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/guilhemVB/reputationvip.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/guilhemVB/reputationvip.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guilhemVB/reputationvip.github.io/merges","archive_url":"https://api.github.com/repos/guilhemVB/reputationvip.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guilhemVB/reputationvip.github.io/downloads","issues_url":"https://api.github.com/repos/guilhemVB/reputationvip.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/guilhemVB/reputationvip.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/guilhemVB/reputationvip.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/guilhemVB/reputationvip.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guilhemVB/reputationvip.github.io/labels{/name}","releases_url":"https://api.github.com/repos/guilhemVB/reputationvip.github.io/releases{/id}","created_at":"2015-11-10T13:14:34Z","updated_at":"2015-11-10T13:14:35Z","pushed_at":"2015-11-10T13:32:15Z","git_url":"git://github.com/guilhemVB/reputationvip.github.io.git","ssh_url":"git@github.com:guilhemVB/reputationvip.github.io.git","clone_url":"https://github.com/guilhemVB/reputationvip.github.io.git","svn_url":"https://github.com/guilhemVB/reputationvip.github.io","homepage":"http://reputationvip.io","size":19096,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"ReputationVIP:master","ref":"master","sha":"85b1969d2c6dbc12b38ad3ebe67f88b155d617fb","user":{"login":"ReputationVIP","id":8954778,"avatar_url":"https://avatars.githubusercontent.com/u/8954778?v=3","gravatar_id":"","url":"https://api.github.com/users/ReputationVIP","html_url":"https://github.com/ReputationVIP","followers_url":"https://api.github.com/users/ReputationVIP/followers","following_url":"https://api.github.com/users/ReputationVIP/following{/other_user}","gists_url":"https://api.github.com/users/ReputationVIP/gists{/gist_id}","starred_url":"https://api.github.com/users/ReputationVIP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReputationVIP/subscriptions","organizations_url":"https://api.github.com/users/ReputationVIP/orgs","repos_url":"https://api.github.com/users/ReputationVIP/repos","events_url":"https://api.github.com/users/ReputationVIP/events{/privacy}","received_events_url":"https://api.github.com/users/ReputationVIP/received_events","type":"Organization","site_admin":false},"repo":{"id":30507417,"name":"reputationvip.github.io","full_name":"ReputationVIP/reputationvip.github.io","owner":{"login":"ReputationVIP","id":8954778,"avatar_url":"https://avatars.githubusercontent.com/u/8954778?v=3","gravatar_id":"","url":"https://api.github.com/users/ReputationVIP","html_url":"https://github.com/ReputationVIP","followers_url":"https://api.github.com/users/ReputationVIP/followers","following_url":"https://api.github.com/users/ReputationVIP/following{/other_user}","gists_url":"https://api.github.com/users/ReputationVIP/gists{/gist_id}","starred_url":"https://api.github.com/users/ReputationVIP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReputationVIP/subscriptions","organizations_url":"https://api.github.com/users/ReputationVIP/orgs","repos_url":"https://api.github.com/users/ReputationVIP/repos","events_url":"https://api.github.com/users/ReputationVIP/events{/privacy}","received_events_url":"https://api.github.com/users/ReputationVIP/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ReputationVIP/reputationvip.github.io","description":"At ReputationVIP, we aren't just online reputation experts, we are developers too!","fork":false,"url":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io","forks_url":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/forks","keys_url":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/teams","hooks_url":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/hooks","issue_events_url":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/events","assignees_url":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/tags","blobs_url":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/languages","stargazers_url":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/stargazers","contributors_url":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/contributors","subscribers_url":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/subscribers","subscription_url":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/subscription","commits_url":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/merges","archive_url":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/downloads","issues_url":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/labels{/name}","releases_url":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/releases{/id}","created_at":"2015-02-08T21:56:53Z","updated_at":"2015-10-31T10:53:38Z","pushed_at":"2015-11-10T13:57:19Z","git_url":"git://github.com/ReputationVIP/reputationvip.github.io.git","ssh_url":"git@github.com:ReputationVIP/reputationvip.github.io.git","clone_url":"https://github.com/ReputationVIP/reputationvip.github.io.git","svn_url":"https://github.com/ReputationVIP/reputationvip.github.io","homepage":"http://reputationvip.io","size":19096,"stargazers_count":5,"watchers_count":5,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":8,"mirror_url":null,"open_issues_count":2,"forks":8,"open_issues":2,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/pulls/44"},"html":{"href":"https://github.com/ReputationVIP/reputationvip.github.io/pull/44"},"issue":{"href":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/issues/44"},"comments":{"href":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/issues/44/comments"},"review_comments":{"href":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/pulls/44/comments"},"review_comment":{"href":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/pulls/44/commits"},"statuses":{"href":"https://api.github.com/repos/ReputationVIP/reputationvip.github.io/statuses/5eefca4ba5d5175491dc8b801aadf7511386dae2"}}}}