{"action":"closed","number":410,"pull_request":{"url":"https://api.github.com/repos/okfn/okfn.github.com/pulls/410","id":61565336,"html_url":"https://github.com/okfn/okfn.github.com/pull/410","diff_url":"https://github.com/okfn/okfn.github.com/pull/410.diff","patch_url":"https://github.com/okfn/okfn.github.com/pull/410.patch","issue_url":"https://api.github.com/repos/okfn/okfn.github.com/issues/410","number":410,"state":"closed","locked":false,"title":"Reads projects from csv file","user":{"login":"davbre","id":1131391,"avatar_url":"https://avatars.githubusercontent.com/u/1131391?v=3","gravatar_id":"","url":"https://api.github.com/users/davbre","html_url":"https://github.com/davbre","followers_url":"https://api.github.com/users/davbre/followers","following_url":"https://api.github.com/users/davbre/following{/other_user}","gists_url":"https://api.github.com/users/davbre/gists{/gist_id}","starred_url":"https://api.github.com/users/davbre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davbre/subscriptions","organizations_url":"https://api.github.com/users/davbre/orgs","repos_url":"https://api.github.com/users/davbre/repos","events_url":"https://api.github.com/users/davbre/events{/privacy}","received_events_url":"https://api.github.com/users/davbre/received_events","type":"User","site_admin":false},"body":"Relates to [issue274](https://github.com/okfn/okfn.github.com/issues/274#issuecomment-191276446).\r\n\r\nThis PR reads projects from a new \"projects.csv\" file saved in the \"_data\" folder.\r\n\r\nThe \"Add project\" page is now out of sync but I have not updated this in case we go ahead with reading the projects from a google docs spreadsheet.\r\n\r\nNote also that I tried to apply sorting using the isotope js library but couldn't get it to work (previously, more recent projects appeared first). For this reason, I sorted the csv file itself by descending date. So, in its current form new projects should be added at the top of the csv file.","created_at":"2016-03-03T14:21:26Z","updated_at":"2016-03-04T07:37:06Z","closed_at":"2016-03-04T07:37:06Z","merged_at":null,"merge_commit_sha":"3ac71ad5887d7b85c9deb72645343e952529723f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/okfn/okfn.github.com/pulls/410/commits","review_comments_url":"https://api.github.com/repos/okfn/okfn.github.com/pulls/410/comments","review_comment_url":"https://api.github.com/repos/okfn/okfn.github.com/pulls/comments{/number}","comments_url":"https://api.github.com/repos/okfn/okfn.github.com/issues/410/comments","statuses_url":"https://api.github.com/repos/okfn/okfn.github.com/statuses/b3fd7b7d91c0db9efe333c2c4a17b05ff54057ca","head":{"label":"davbre:master","ref":"master","sha":"b3fd7b7d91c0db9efe333c2c4a17b05ff54057ca","user":{"login":"davbre","id":1131391,"avatar_url":"https://avatars.githubusercontent.com/u/1131391?v=3","gravatar_id":"","url":"https://api.github.com/users/davbre","html_url":"https://github.com/davbre","followers_url":"https://api.github.com/users/davbre/followers","following_url":"https://api.github.com/users/davbre/following{/other_user}","gists_url":"https://api.github.com/users/davbre/gists{/gist_id}","starred_url":"https://api.github.com/users/davbre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davbre/subscriptions","organizations_url":"https://api.github.com/users/davbre/orgs","repos_url":"https://api.github.com/users/davbre/repos","events_url":"https://api.github.com/users/davbre/events{/privacy}","received_events_url":"https://api.github.com/users/davbre/received_events","type":"User","site_admin":false},"repo":null},"base":{"label":"okfn:master","ref":"master","sha":"1480ddfcdda7b80ae999e6908087d315cf24fbe3","user":{"login":"okfn","id":304263,"avatar_url":"https://avatars.githubusercontent.com/u/304263?v=3","gravatar_id":"","url":"https://api.github.com/users/okfn","html_url":"https://github.com/okfn","followers_url":"https://api.github.com/users/okfn/followers","following_url":"https://api.github.com/users/okfn/following{/other_user}","gists_url":"https://api.github.com/users/okfn/gists{/gist_id}","starred_url":"https://api.github.com/users/okfn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okfn/subscriptions","organizations_url":"https://api.github.com/users/okfn/orgs","repos_url":"https://api.github.com/users/okfn/repos","events_url":"https://api.github.com/users/okfn/events{/privacy}","received_events_url":"https://api.github.com/users/okfn/received_events","type":"Organization","site_admin":false},"repo":{"id":2950508,"name":"okfn.github.com","full_name":"okfn/okfn.github.com","owner":{"login":"okfn","id":304263,"avatar_url":"https://avatars.githubusercontent.com/u/304263?v=3","gravatar_id":"","url":"https://api.github.com/users/okfn","html_url":"https://github.com/okfn","followers_url":"https://api.github.com/users/okfn/followers","following_url":"https://api.github.com/users/okfn/following{/other_user}","gists_url":"https://api.github.com/users/okfn/gists{/gist_id}","starred_url":"https://api.github.com/users/okfn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okfn/subscriptions","organizations_url":"https://api.github.com/users/okfn/orgs","repos_url":"https://api.github.com/users/okfn/repos","events_url":"https://api.github.com/users/okfn/events{/privacy}","received_events_url":"https://api.github.com/users/okfn/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/okfn/okfn.github.com","description":"Open Knowledge Labs website (and general issue tracker).","fork":false,"url":"https://api.github.com/repos/okfn/okfn.github.com","forks_url":"https://api.github.com/repos/okfn/okfn.github.com/forks","keys_url":"https://api.github.com/repos/okfn/okfn.github.com/keys{/key_id}","collaborators_url":"https://api.github.com/repos/okfn/okfn.github.com/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/okfn/okfn.github.com/teams","hooks_url":"https://api.github.com/repos/okfn/okfn.github.com/hooks","issue_events_url":"https://api.github.com/repos/okfn/okfn.github.com/issues/events{/number}","events_url":"https://api.github.com/repos/okfn/okfn.github.com/events","assignees_url":"https://api.github.com/repos/okfn/okfn.github.com/assignees{/user}","branches_url":"https://api.github.com/repos/okfn/okfn.github.com/branches{/branch}","tags_url":"https://api.github.com/repos/okfn/okfn.github.com/tags","blobs_url":"https://api.github.com/repos/okfn/okfn.github.com/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/okfn/okfn.github.com/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/okfn/okfn.github.com/git/refs{/sha}","trees_url":"https://api.github.com/repos/okfn/okfn.github.com/git/trees{/sha}","statuses_url":"https://api.github.com/repos/okfn/okfn.github.com/statuses/{sha}","languages_url":"https://api.github.com/repos/okfn/okfn.github.com/languages","stargazers_url":"https://api.github.com/repos/okfn/okfn.github.com/stargazers","contributors_url":"https://api.github.com/repos/okfn/okfn.github.com/contributors","subscribers_url":"https://api.github.com/repos/okfn/okfn.github.com/subscribers","subscription_url":"https://api.github.com/repos/okfn/okfn.github.com/subscription","commits_url":"https://api.github.com/repos/okfn/okfn.github.com/commits{/sha}","git_commits_url":"https://api.github.com/repos/okfn/okfn.github.com/git/commits{/sha}","comments_url":"https://api.github.com/repos/okfn/okfn.github.com/comments{/number}","issue_comment_url":"https://api.github.com/repos/okfn/okfn.github.com/issues/comments{/number}","contents_url":"https://api.github.com/repos/okfn/okfn.github.com/contents/{+path}","compare_url":"https://api.github.com/repos/okfn/okfn.github.com/compare/{base}...{head}","merges_url":"https://api.github.com/repos/okfn/okfn.github.com/merges","archive_url":"https://api.github.com/repos/okfn/okfn.github.com/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/okfn/okfn.github.com/downloads","issues_url":"https://api.github.com/repos/okfn/okfn.github.com/issues{/number}","pulls_url":"https://api.github.com/repos/okfn/okfn.github.com/pulls{/number}","milestones_url":"https://api.github.com/repos/okfn/okfn.github.com/milestones{/number}","notifications_url":"https://api.github.com/repos/okfn/okfn.github.com/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/okfn/okfn.github.com/labels{/name}","releases_url":"https://api.github.com/repos/okfn/okfn.github.com/releases{/id}","deployments_url":"https://api.github.com/repos/okfn/okfn.github.com/deployments","created_at":"2011-12-09T22:12:45Z","updated_at":"2016-01-04T14:57:36Z","pushed_at":"2016-03-04T07:15:51Z","git_url":"git://github.com/okfn/okfn.github.com.git","ssh_url":"git@github.com:okfn/okfn.github.com.git","clone_url":"https://github.com/okfn/okfn.github.com.git","svn_url":"https://github.com/okfn/okfn.github.com","homepage":"http://okfnlabs.org","size":21792,"stargazers_count":47,"watchers_count":47,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":45,"mirror_url":null,"open_issues_count":39,"forks":45,"open_issues":39,"watchers":47,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/okfn/okfn.github.com/pulls/410"},"html":{"href":"https://github.com/okfn/okfn.github.com/pull/410"},"issue":{"href":"https://api.github.com/repos/okfn/okfn.github.com/issues/410"},"comments":{"href":"https://api.github.com/repos/okfn/okfn.github.com/issues/410/comments"},"review_comments":{"href":"https://api.github.com/repos/okfn/okfn.github.com/pulls/410/comments"},"review_comment":{"href":"https://api.github.com/repos/okfn/okfn.github.com/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/okfn/okfn.github.com/pulls/410/commits"},"statuses":{"href":"https://api.github.com/repos/okfn/okfn.github.com/statuses/b3fd7b7d91c0db9efe333c2c4a17b05ff54057ca"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":2,"review_comments":0,"commits":4,"additions":465,"deletions":49,"changed_files":48}}