{"action":"created","comment":{"url":"https://api.github.com/repos/opf/openproject/pulls/comments/34346476","id":34346476,"diff_hunk":"@@ -0,0 +1,362 @@\n+#-- copyright\n+# OpenProject is a project management system.\n+# Copyright (C) 2012-2015 the OpenProject Foundation (OPF)\n+#\n+# This program is free software; you can redistribute it and/or\n+# modify it under the terms of the GNU General Public License version 3.\n+#\n+# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:\n+# Copyright (C) 2006-2013 Jean-Philippe Lang\n+# Copyright (C) 2010-2013 the ChiliProject Team\n+#\n+# This program is free software; you can redistribute it and/or\n+# modify it under the terms of the GNU General Public License\n+# as published by the Free Software Foundation; either version 2\n+# of the License, or (at your option) any later version.\n+#\n+# This program is distributed in the hope that it will be useful,\n+# but WITHOUT ANY WARRANTY; without even the implied warranty of\n+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n+# GNU General Public License for more details.\n+#\n+# You should have received a copy of the GNU General Public License\n+# along with this program; if not, write to the Free Software\n+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.\n+#\n+# See doc/COPYRIGHT.rdoc for more details.\n+#++\n+\n+require 'spec_helper'\n+\n+describe Repository::Git, type: :model do\n+  let(:encoding) { 'UTF-8'}\n+  let(:instance) { FactoryGirl.build(:repository_git, path_encoding: encoding) }\n+  let(:adapter)  { instance.scm }\n+  let(:config)   { {} }\n+\n+  before do\n+    allow(Setting).to receive(:enabled_scm).and_return(['Git'])\n+    allow(instance).to receive(:scm).and_return(adapter)\n+    allow(adapter).to receive(:config).and_return(config)\n+  end\n+\n+  describe 'managed git' do\n+    let(:managed_path) { '/tmp/managed_git' }\n+    it 'is not manageable unless configured explicitly' do\n+      expect(instance.manageable?).to be false\n+    end\n+\n+    context 'with managed config' do\n+      let(:config) { { manages: managed_path } }\n+      let(:project) { FactoryGirl.build :project }\n+      let(:identifier) { \"#{project.identifier}.git\" }\n+\n+      it 'is manageable' do\n+        expect(instance.manageable?).to be true\n+      end\n+\n+      context 'and associated project' do\n+        before do\n+          instance.project = project\n+        end\n+\n+        it 'outputs valid managed paths' do\n+          expect(instance.repository_identifier).to eq(identifier)\n+          path = File.join(managed_path, identifier)\n+          expect(instance.managed_repository_path).to eq(path)\n+          expect(instance.managed_repository_url).to eq(path)\n+        end\n+      end\n+\n+      context 'and associated project with parent' do\n+        let(:parent) { FactoryGirl.build :project }\n+        let(:project) { FactoryGirl.build :project, parent: parent }\n+\n+        before do\n+          instance.project = project\n+        end\n+\n+        it 'outputs the correct hierarchy path' do\n+          expect(instance.managed_repository_path)\n+            .to eq(File.join(managed_path, parent.identifier, identifier))\n+        end\n+      end\n+    end\n+  end\n+\n+  describe 'with an actual repository' do\n+    with_filesystem_repository('git', 'git') do |repo_dir|\n+      let(:url)      { repo_dir }\n+      let(:instance) { FactoryGirl.create(:repository_git, path_encoding: encoding, url: url) }\n+\n+      before do\n+        instance.fetch_changesets\n+        instance.reload\n+      end\n+\n+      it 'should be available' do\n+        expect(instance.scm).to be_available\n+      end\n+\n+      it 'should fetch changesets from scratch' do\n+        expect(instance.changesets.count).to eq(21)\n+        expect(instance.changes.count).to eq(33)\n+\n+        commit = instance.changesets.reorder('committed_on ASC').first\n+        expect(commit.comments).to eq(\"Initial import.\\nThe repository contains 3 files.\")\n+        expect(commit.committer).to eq('jsmith <jsmith@foo.bar>')\n+        # assert_equal User.find_by_login('jsmith'), commit.user\n+        # TODO: add a commit with commit time <> author time to the test repository\n+        expect(commit.committed_on).to eq('2007-12-14 09:22:52')\n+        expect(commit.commit_date).to eq('2007-12-14'.to_date)\n+        expect(commit.revision).to eq('7234cb2750b63f47bff735edc50a1c0a433c2518')\n+        expect(commit.scmid).to eq('7234cb2750b63f47bff735edc50a1c0a433c2518')\n+        expect(commit.changes.count).to eq(3)\n+\n+        change = commit.changes.sort_by(&:path).first\n+        expect(change.path).to eq('README')\n+        expect(change.action).to eq('A')\n+      end\n+\n+      it 'should fetch changesets incremental' do\n+        # Remove the 3 latest changesets\n+        instance.changesets.find(:all, order: 'committed_on DESC', limit: 8).each(&:destroy)\n+        instance.reload\n+        expect(instance.changesets.count).to eq(13)\n+\n+        rev_a_commit = instance.changesets.order('committed_on DESC').first\n+        expect(rev_a_commit.revision).to eq('4f26664364207fa8b1af9f8722647ab2d4ac5d43')\n+        expect(rev_a_commit.scmid).to eq('4f26664364207fa8b1af9f8722647ab2d4ac5d43')\n+        # Mon Jul 5 22:34:26 2010 +0200\n+        committed_on = Time.gm(2010, 7, 5, 20, 34, 26)\n+        expect(rev_a_commit.committed_on).to eq(committed_on)\n+        latest_rev = instance.latest_changeset\n+        expect(instance.latest_changeset.committed_on).to eq(committed_on)\n+\n+        instance.fetch_changesets\n+        expect(instance.changesets.count).to eq(21)\n+      end\n+\n+      describe '.latest_changesets' do\n+        it 'should fetch changesets with limits' do\n+          changesets = instance.latest_changesets('', nil, 2)\n+          expect(changesets.size).to eq(2)\n+        end\n+\n+        it 'should fetch changesets with paths' do\n+          changesets = instance.latest_changesets('images', nil)\n+          expect(changesets.map(&:revision))\n+            .to eq([\n+                  'deff712f05a90d96edbd70facc47d944be5897e3',\n+                  '899a15dba03a3b350b89c3f537e4bbe02a03cdc9',\n+                  '7234cb2750b63f47bff735edc50a1c0a433c2518'\n+                ])\n+\n+          changesets = instance.latest_changesets('README', nil)\n+          expect(changesets.map(&:revision))\n+            .to eq([\n+                  '32ae898b720c2f7eec2723d5bdd558b4cb2d3ddf',\n+                  '4a07fe31bffcf2888791f3e6cbc9c4545cefe3e8',\n+                  '713f4944648826f558cf548222f813dabe7cbb04',\n+                  '61b685fbe55ab05b5ac68402d5720c1a6ac973d1',\n+                  '899a15dba03a3b350b89c3f537e4bbe02a03cdc9',\n+                  '7234cb2750b63f47bff735edc50a1c0a433c2518'\n+                ])\n+        end\n+        \n+        it 'should fetch changesets with path, revision and limit' do\n+          changesets = instance.latest_changesets('images', '899a15dba')\n+          expect(changesets.map(&:revision))\n+            .to eq([\n+                  '899a15dba03a3b350b89c3f537e4bbe02a03cdc9',\n+                  '7234cb2750b63f47bff735edc50a1c0a433c2518'\n+                ])\n+\n+          changesets = instance.latest_changesets('images', '899a15dba', 1)\n+          expect(changesets.map(&:revision))\n+            .to eq(['899a15dba03a3b350b89c3f537e4bbe02a03cdc9'])\n+\n+          changesets = instance.latest_changesets('README', '899a15dba')\n+          expect(changesets.map(&:revision))\n+            .to eq([\n+                  '899a15dba03a3b350b89c3f537e4bbe02a03cdc9',\n+                  '7234cb2750b63f47bff735edc50a1c0a433c2518'\n+                  ])\n+\n+          changesets = instance.latest_changesets('README', '899a15dba', 1)\n+          expect(changesets.map(&:revision))\n+            .to eq(['899a15dba03a3b350b89c3f537e4bbe02a03cdc9'])\n+        end\n+\n+        it 'should fetch changesets with tag' do\n+          changesets = instance.latest_changesets('images', 'tag01.annotated')\n+          expect(changesets.map(&:revision))\n+            .to eq([\n+                  '899a15dba03a3b350b89c3f537e4bbe02a03cdc9',\n+                  '7234cb2750b63f47bff735edc50a1c0a433c2518'\n+                  ])\n+\n+          changesets = instance.latest_changesets('README', '899a15dba', 1)\n+          expect(changesets.map(&:revision))\n+            .to eq(['899a15dba03a3b350b89c3f537e4bbe02a03cdc9'])\n+\n+          changesets = instance.latest_changesets('README', 'tag01.annotated')\n+          expect(changesets.map(&:revision))\n+            .to eq([\n+                  '899a15dba03a3b350b89c3f537e4bbe02a03cdc9',\n+                  '7234cb2750b63f47bff735edc50a1c0a433c2518'\n+                  ])\n+\n+          changesets = instance.latest_changesets('README', 'tag01.annotated', 1)\n+          expect(changesets.map(&:revision))\n+            .to eq(['899a15dba03a3b350b89c3f537e4bbe02a03cdc9'])\n+        end\n+\n+        it 'should fetch changesets with path, branch, and limit' do\n+          changesets = instance.latest_changesets('images', 'test_branch')\n+          expect(changesets.map(&:revision))\n+            .to eq([\n+                  '899a15dba03a3b350b89c3f537e4bbe02a03cdc9',\n+                  '7234cb2750b63f47bff735edc50a1c0a433c2518'\n+                  ])","path":"spec/models/repository/git_spec.rb","position":221,"original_position":221,"commit_id":"51fd9a168f97aa9f9d2b3daeaf6f121617bda224","original_commit_id":"51fd9a168f97aa9f9d2b3daeaf6f121617bda224","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Indent the right bracket the same as the start of the line where the left bracket is.","created_at":"2015-07-10T11:21:43Z","updated_at":"2015-07-10T11:21:43Z","html_url":"https://github.com/opf/openproject/pull/3196#discussion_r34346476","pull_request_url":"https://api.github.com/repos/opf/openproject/pulls/3196","_links":{"self":{"href":"https://api.github.com/repos/opf/openproject/pulls/comments/34346476"},"html":{"href":"https://github.com/opf/openproject/pull/3196#discussion_r34346476"},"pull_request":{"href":"https://api.github.com/repos/opf/openproject/pulls/3196"}}},"pull_request":{"url":"https://api.github.com/repos/opf/openproject/pulls/3196","id":38787540,"html_url":"https://github.com/opf/openproject/pull/3196","diff_url":"https://github.com/opf/openproject/pull/3196.diff","patch_url":"https://github.com/opf/openproject/pull/3196.patch","issue_url":"https://api.github.com/repos/opf/openproject/issues/3196","number":3196,"state":"open","locked":false,"title":"Repository Management","user":{"login":"oliverguenther","id":459462,"avatar_url":"https://avatars.githubusercontent.com/u/459462?v=3","gravatar_id":"","url":"https://api.github.com/users/oliverguenther","html_url":"https://github.com/oliverguenther","followers_url":"https://api.github.com/users/oliverguenther/followers","following_url":"https://api.github.com/users/oliverguenther/following{/other_user}","gists_url":"https://api.github.com/users/oliverguenther/gists{/gist_id}","starred_url":"https://api.github.com/users/oliverguenther/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliverguenther/subscriptions","organizations_url":"https://api.github.com/users/oliverguenther/orgs","repos_url":"https://api.github.com/users/oliverguenther/repos","events_url":"https://api.github.com/users/oliverguenther/events{/privacy}","received_events_url":"https://api.github.com/users/oliverguenther/received_events","type":"User","site_admin":false},"body":"This PR begins the push towards management of repository lifetime\r\nfrom within OpenProject.\r\n\r\nWhat this currently provides is the following:\r\n\r\n  - A mixin `ManageableRepository`, included by `Repository::{Git,\r\n      Subversion}` to provide an interface to repo management\r\n  - Two services and delayed_job workers for creating (`CreateManagedRepositoryService`) and\r\n  deleting (`DeleteRepositoryService`)\r\n  - Customized rendering of subforms in the repository settings for\r\n  arbitrary SCM vendors.\r\n\r\nTODOS:\r\n  - [x] Provide sane ground to work on ( cf. PR #3149 )\r\n  - [x] Rework SCM settings form (`{scm}_tags` is currently HTML generated\r\n        from within a Helper.)\r\n  - [x] Ease integration of arbitrary SCM vendors\r\n  - [x] Display meaningful error / warning when user looks at bare\r\n  repository (currently outputs 500, as Git HEAD / svn revision is not\r\n          available)\r\n  - [x] I18n\r\n  - [ ] Specs (in progress)\r\n    - [x] Fix legacy specs\r\n  - [ ] Decide what to do with `Filesystem` adapter.\r\n\r\nOpen Questions:\r\n\r\n  - **Configuration**: Currently replaces the existing options in\r\n  `configuration.yml`.\r\n  - **Implementation specifics**:\r\n    - Sub-projects repositories reside in a hierarchy below their parents\r\n    - How should the delayed_job react upon failure? (esp. creation of\r\n            repositories)\r\n\r\nRelevant work package: https://community.openproject.org/work_packages/20416\r\nMerge dependent on PR #3149","created_at":"2015-06-29T15:46:05Z","updated_at":"2015-07-10T11:21:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"44cab2bd8f9a6f9e5cc957e5e67e181a4a20b57d","assignee":{"login":"oliverguenther","id":459462,"avatar_url":"https://avatars.githubusercontent.com/u/459462?v=3","gravatar_id":"","url":"https://api.github.com/users/oliverguenther","html_url":"https://github.com/oliverguenther","followers_url":"https://api.github.com/users/oliverguenther/followers","following_url":"https://api.github.com/users/oliverguenther/following{/other_user}","gists_url":"https://api.github.com/users/oliverguenther/gists{/gist_id}","starred_url":"https://api.github.com/users/oliverguenther/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliverguenther/subscriptions","organizations_url":"https://api.github.com/users/oliverguenther/orgs","repos_url":"https://api.github.com/users/oliverguenther/repos","events_url":"https://api.github.com/users/oliverguenther/events{/privacy}","received_events_url":"https://api.github.com/users/oliverguenther/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/opf/openproject/milestones/3","html_url":"https://github.com/opf/openproject/milestones/4.3","labels_url":"https://api.github.com/repos/opf/openproject/milestones/3/labels","id":1104474,"number":3,"title":"4.3","description":"","creator":{"login":"myabc","id":755,"avatar_url":"https://avatars.githubusercontent.com/u/755?v=3","gravatar_id":"","url":"https://api.github.com/users/myabc","html_url":"https://github.com/myabc","followers_url":"https://api.github.com/users/myabc/followers","following_url":"https://api.github.com/users/myabc/following{/other_user}","gists_url":"https://api.github.com/users/myabc/gists{/gist_id}","starred_url":"https://api.github.com/users/myabc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myabc/subscriptions","organizations_url":"https://api.github.com/users/myabc/orgs","repos_url":"https://api.github.com/users/myabc/repos","events_url":"https://api.github.com/users/myabc/events{/privacy}","received_events_url":"https://api.github.com/users/myabc/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":2,"state":"open","created_at":"2015-05-11T10:04:28Z","updated_at":"2015-07-08T09:31:01Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/opf/openproject/pulls/3196/commits","review_comments_url":"https://api.github.com/repos/opf/openproject/pulls/3196/comments","review_comment_url":"https://api.github.com/repos/opf/openproject/pulls/comments{/number}","comments_url":"https://api.github.com/repos/opf/openproject/issues/3196/comments","statuses_url":"https://api.github.com/repos/opf/openproject/statuses/51fd9a168f97aa9f9d2b3daeaf6f121617bda224","head":{"label":"oliverguenther:feature/repository_management","ref":"feature/repository_management","sha":"51fd9a168f97aa9f9d2b3daeaf6f121617bda224","user":{"login":"oliverguenther","id":459462,"avatar_url":"https://avatars.githubusercontent.com/u/459462?v=3","gravatar_id":"","url":"https://api.github.com/users/oliverguenther","html_url":"https://github.com/oliverguenther","followers_url":"https://api.github.com/users/oliverguenther/followers","following_url":"https://api.github.com/users/oliverguenther/following{/other_user}","gists_url":"https://api.github.com/users/oliverguenther/gists{/gist_id}","starred_url":"https://api.github.com/users/oliverguenther/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliverguenther/subscriptions","organizations_url":"https://api.github.com/users/oliverguenther/orgs","repos_url":"https://api.github.com/users/oliverguenther/repos","events_url":"https://api.github.com/users/oliverguenther/events{/privacy}","received_events_url":"https://api.github.com/users/oliverguenther/received_events","type":"User","site_admin":false},"repo":{"id":33988921,"name":"openproject","full_name":"oliverguenther/openproject","owner":{"login":"oliverguenther","id":459462,"avatar_url":"https://avatars.githubusercontent.com/u/459462?v=3","gravatar_id":"","url":"https://api.github.com/users/oliverguenther","html_url":"https://github.com/oliverguenther","followers_url":"https://api.github.com/users/oliverguenther/followers","following_url":"https://api.github.com/users/oliverguenther/following{/other_user}","gists_url":"https://api.github.com/users/oliverguenther/gists{/gist_id}","starred_url":"https://api.github.com/users/oliverguenther/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliverguenther/subscriptions","organizations_url":"https://api.github.com/users/oliverguenther/orgs","repos_url":"https://api.github.com/users/oliverguenther/repos","events_url":"https://api.github.com/users/oliverguenther/events{/privacy}","received_events_url":"https://api.github.com/users/oliverguenther/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/oliverguenther/openproject","description":"OpenProject is a web-based project management system built on Ruby on Rails","fork":true,"url":"https://api.github.com/repos/oliverguenther/openproject","forks_url":"https://api.github.com/repos/oliverguenther/openproject/forks","keys_url":"https://api.github.com/repos/oliverguenther/openproject/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oliverguenther/openproject/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oliverguenther/openproject/teams","hooks_url":"https://api.github.com/repos/oliverguenther/openproject/hooks","issue_events_url":"https://api.github.com/repos/oliverguenther/openproject/issues/events{/number}","events_url":"https://api.github.com/repos/oliverguenther/openproject/events","assignees_url":"https://api.github.com/repos/oliverguenther/openproject/assignees{/user}","branches_url":"https://api.github.com/repos/oliverguenther/openproject/branches{/branch}","tags_url":"https://api.github.com/repos/oliverguenther/openproject/tags","blobs_url":"https://api.github.com/repos/oliverguenther/openproject/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oliverguenther/openproject/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oliverguenther/openproject/git/refs{/sha}","trees_url":"https://api.github.com/repos/oliverguenther/openproject/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oliverguenther/openproject/statuses/{sha}","languages_url":"https://api.github.com/repos/oliverguenther/openproject/languages","stargazers_url":"https://api.github.com/repos/oliverguenther/openproject/stargazers","contributors_url":"https://api.github.com/repos/oliverguenther/openproject/contributors","subscribers_url":"https://api.github.com/repos/oliverguenther/openproject/subscribers","subscription_url":"https://api.github.com/repos/oliverguenther/openproject/subscription","commits_url":"https://api.github.com/repos/oliverguenther/openproject/commits{/sha}","git_commits_url":"https://api.github.com/repos/oliverguenther/openproject/git/commits{/sha}","comments_url":"https://api.github.com/repos/oliverguenther/openproject/comments{/number}","issue_comment_url":"https://api.github.com/repos/oliverguenther/openproject/issues/comments{/number}","contents_url":"https://api.github.com/repos/oliverguenther/openproject/contents/{+path}","compare_url":"https://api.github.com/repos/oliverguenther/openproject/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oliverguenther/openproject/merges","archive_url":"https://api.github.com/repos/oliverguenther/openproject/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oliverguenther/openproject/downloads","issues_url":"https://api.github.com/repos/oliverguenther/openproject/issues{/number}","pulls_url":"https://api.github.com/repos/oliverguenther/openproject/pulls{/number}","milestones_url":"https://api.github.com/repos/oliverguenther/openproject/milestones{/number}","notifications_url":"https://api.github.com/repos/oliverguenther/openproject/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oliverguenther/openproject/labels{/name}","releases_url":"https://api.github.com/repos/oliverguenther/openproject/releases{/id}","created_at":"2015-04-15T11:02:49Z","updated_at":"2015-04-15T11:02:57Z","pushed_at":"2015-07-10T11:21:26Z","git_url":"git://github.com/oliverguenther/openproject.git","ssh_url":"git@github.com:oliverguenther/openproject.git","clone_url":"https://github.com/oliverguenther/openproject.git","svn_url":"https://github.com/oliverguenther/openproject","homepage":"https://www.openproject.org","size":65430,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"dev"}},"base":{"label":"opf:release/4.3","ref":"release/4.3","sha":"24819743be48bc22c841a35d533b9fa084486c65","user":{"login":"opf","id":1756674,"avatar_url":"https://avatars.githubusercontent.com/u/1756674?v=3","gravatar_id":"","url":"https://api.github.com/users/opf","html_url":"https://github.com/opf","followers_url":"https://api.github.com/users/opf/followers","following_url":"https://api.github.com/users/opf/following{/other_user}","gists_url":"https://api.github.com/users/opf/gists{/gist_id}","starred_url":"https://api.github.com/users/opf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opf/subscriptions","organizations_url":"https://api.github.com/users/opf/orgs","repos_url":"https://api.github.com/users/opf/repos","events_url":"https://api.github.com/users/opf/events{/privacy}","received_events_url":"https://api.github.com/users/opf/received_events","type":"Organization","site_admin":false},"repo":{"id":6899875,"name":"openproject","full_name":"opf/openproject","owner":{"login":"opf","id":1756674,"avatar_url":"https://avatars.githubusercontent.com/u/1756674?v=3","gravatar_id":"","url":"https://api.github.com/users/opf","html_url":"https://github.com/opf","followers_url":"https://api.github.com/users/opf/followers","following_url":"https://api.github.com/users/opf/following{/other_user}","gists_url":"https://api.github.com/users/opf/gists{/gist_id}","starred_url":"https://api.github.com/users/opf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opf/subscriptions","organizations_url":"https://api.github.com/users/opf/orgs","repos_url":"https://api.github.com/users/opf/repos","events_url":"https://api.github.com/users/opf/events{/privacy}","received_events_url":"https://api.github.com/users/opf/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/opf/openproject","description":"OpenProject is a web-based project management system built on Ruby on Rails","fork":false,"url":"https://api.github.com/repos/opf/openproject","forks_url":"https://api.github.com/repos/opf/openproject/forks","keys_url":"https://api.github.com/repos/opf/openproject/keys{/key_id}","collaborators_url":"https://api.github.com/repos/opf/openproject/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/opf/openproject/teams","hooks_url":"https://api.github.com/repos/opf/openproject/hooks","issue_events_url":"https://api.github.com/repos/opf/openproject/issues/events{/number}","events_url":"https://api.github.com/repos/opf/openproject/events","assignees_url":"https://api.github.com/repos/opf/openproject/assignees{/user}","branches_url":"https://api.github.com/repos/opf/openproject/branches{/branch}","tags_url":"https://api.github.com/repos/opf/openproject/tags","blobs_url":"https://api.github.com/repos/opf/openproject/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/opf/openproject/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/opf/openproject/git/refs{/sha}","trees_url":"https://api.github.com/repos/opf/openproject/git/trees{/sha}","statuses_url":"https://api.github.com/repos/opf/openproject/statuses/{sha}","languages_url":"https://api.github.com/repos/opf/openproject/languages","stargazers_url":"https://api.github.com/repos/opf/openproject/stargazers","contributors_url":"https://api.github.com/repos/opf/openproject/contributors","subscribers_url":"https://api.github.com/repos/opf/openproject/subscribers","subscription_url":"https://api.github.com/repos/opf/openproject/subscription","commits_url":"https://api.github.com/repos/opf/openproject/commits{/sha}","git_commits_url":"https://api.github.com/repos/opf/openproject/git/commits{/sha}","comments_url":"https://api.github.com/repos/opf/openproject/comments{/number}","issue_comment_url":"https://api.github.com/repos/opf/openproject/issues/comments{/number}","contents_url":"https://api.github.com/repos/opf/openproject/contents/{+path}","compare_url":"https://api.github.com/repos/opf/openproject/compare/{base}...{head}","merges_url":"https://api.github.com/repos/opf/openproject/merges","archive_url":"https://api.github.com/repos/opf/openproject/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/opf/openproject/downloads","issues_url":"https://api.github.com/repos/opf/openproject/issues{/number}","pulls_url":"https://api.github.com/repos/opf/openproject/pulls{/number}","milestones_url":"https://api.github.com/repos/opf/openproject/milestones{/number}","notifications_url":"https://api.github.com/repos/opf/openproject/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/opf/openproject/labels{/name}","releases_url":"https://api.github.com/repos/opf/openproject/releases{/id}","created_at":"2012-11-28T09:59:11Z","updated_at":"2015-07-09T10:22:22Z","pushed_at":"2015-07-10T11:21:27Z","git_url":"git://github.com/opf/openproject.git","ssh_url":"git@github.com:opf/openproject.git","clone_url":"https://github.com/opf/openproject.git","svn_url":"https://github.com/opf/openproject","homepage":"https://www.openproject.org","size":202879,"stargazers_count":664,"watchers_count":664,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":285,"mirror_url":null,"open_issues_count":43,"forks":285,"open_issues":43,"watchers":664,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/opf/openproject/pulls/3196"},"html":{"href":"https://github.com/opf/openproject/pull/3196"},"issue":{"href":"https://api.github.com/repos/opf/openproject/issues/3196"},"comments":{"href":"https://api.github.com/repos/opf/openproject/issues/3196/comments"},"review_comments":{"href":"https://api.github.com/repos/opf/openproject/pulls/3196/comments"},"review_comment":{"href":"https://api.github.com/repos/opf/openproject/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/opf/openproject/pulls/3196/commits"},"statuses":{"href":"https://api.github.com/repos/opf/openproject/statuses/51fd9a168f97aa9f9d2b3daeaf6f121617bda224"}}}}