{"action":"opened","number":134,"pull_request":{"url":"https://api.github.com/repos/gengo/goship/pulls/134","id":33915829,"html_url":"https://github.com/gengo/goship/pull/134","diff_url":"https://github.com/gengo/goship/pull/134.diff","patch_url":"https://github.com/gengo/goship/pull/134.patch","issue_url":"https://api.github.com/repos/gengo/goship/issues/134","number":134,"state":"open","locked":false,"title":"(wip) [#92191452] setup plugin infrastructure","user":{"login":"kelvintaywl","id":2164346,"avatar_url":"https://avatars.githubusercontent.com/u/2164346?v=3","gravatar_id":"","url":"https://api.github.com/users/kelvintaywl","html_url":"https://github.com/kelvintaywl","followers_url":"https://api.github.com/users/kelvintaywl/followers","following_url":"https://api.github.com/users/kelvintaywl/following{/other_user}","gists_url":"https://api.github.com/users/kelvintaywl/gists{/gist_id}","starred_url":"https://api.github.com/users/kelvintaywl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kelvintaywl/subscriptions","organizations_url":"https://api.github.com/users/kelvintaywl/orgs","repos_url":"https://api.github.com/users/kelvintaywl/repos","events_url":"https://api.github.com/users/kelvintaywl/events{/privacy}","received_events_url":"https://api.github.com/users/kelvintaywl/received_events","type":"User","site_admin":false},"body":"This PR tries to set up Goship such that we can customize the projects list page (home page) to include more details / actionable columns for each project through plugins. Also, this PR grabs all stylesheets and javascripts from the respective `static/css`, `static/js` folders and inserts them into the templates \r\n\r\n### about plugins\r\n\r\nAn example helloworld plugin is included in this PR. when importing that plugin on `goship.go`, we can see that it is pretty configurable. \r\n\r\n||\r\n| --- |\r\n| ![screen shot 2015-04-22 at 5 46 03 pm](https://cloud.githubusercontent.com/assets/2164346/7288595/1dff62ac-e99f-11e4-8863-0d6516c02f9f.png) |\r\n\r\nMore details can be found on the [README](), but in general, every project has PluginColumns which are customizable. A plugin can add additional columns to the project and render it's own logic / functionality.\r\n\r\n#### notes\r\nA plugin is just required to implement a `Apply` method while the Column instance is required to implement the `RenderHeader` and `RenderDetail` methods.\r\n\r\n### TODO\r\n- [ ] add tests\r\n\r\n","created_at":"2015-04-23T00:58:33Z","updated_at":"2015-04-23T00:58:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"13e329c1fc7955d2e9c293160c1dd2b582a12753","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gengo/goship/pulls/134/commits","review_comments_url":"https://api.github.com/repos/gengo/goship/pulls/134/comments","review_comment_url":"https://api.github.com/repos/gengo/goship/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gengo/goship/issues/134/comments","statuses_url":"https://api.github.com/repos/gengo/goship/statuses/741c0a06553c75d6c5b83a0df7ce38ad277e261a","head":{"label":"gengo:92191452-setup-plugin-infra","ref":"92191452-setup-plugin-infra","sha":"741c0a06553c75d6c5b83a0df7ce38ad277e261a","user":{"login":"gengo","id":1681251,"avatar_url":"https://avatars.githubusercontent.com/u/1681251?v=3","gravatar_id":"","url":"https://api.github.com/users/gengo","html_url":"https://github.com/gengo","followers_url":"https://api.github.com/users/gengo/followers","following_url":"https://api.github.com/users/gengo/following{/other_user}","gists_url":"https://api.github.com/users/gengo/gists{/gist_id}","starred_url":"https://api.github.com/users/gengo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gengo/subscriptions","organizations_url":"https://api.github.com/users/gengo/orgs","repos_url":"https://api.github.com/users/gengo/repos","events_url":"https://api.github.com/users/gengo/events{/privacy}","received_events_url":"https://api.github.com/users/gengo/received_events","type":"Organization","site_admin":false},"repo":{"id":12479555,"name":"goship","full_name":"gengo/goship","owner":{"login":"gengo","id":1681251,"avatar_url":"https://avatars.githubusercontent.com/u/1681251?v=3","gravatar_id":"","url":"https://api.github.com/users/gengo","html_url":"https://github.com/gengo","followers_url":"https://api.github.com/users/gengo/followers","following_url":"https://api.github.com/users/gengo/following{/other_user}","gists_url":"https://api.github.com/users/gengo/gists{/gist_id}","starred_url":"https://api.github.com/users/gengo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gengo/subscriptions","organizations_url":"https://api.github.com/users/gengo/orgs","repos_url":"https://api.github.com/users/gengo/repos","events_url":"https://api.github.com/users/gengo/events{/privacy}","received_events_url":"https://api.github.com/users/gengo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gengo/goship","description":"A simple tool for deploying code to servers.","fork":false,"url":"https://api.github.com/repos/gengo/goship","forks_url":"https://api.github.com/repos/gengo/goship/forks","keys_url":"https://api.github.com/repos/gengo/goship/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gengo/goship/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gengo/goship/teams","hooks_url":"https://api.github.com/repos/gengo/goship/hooks","issue_events_url":"https://api.github.com/repos/gengo/goship/issues/events{/number}","events_url":"https://api.github.com/repos/gengo/goship/events","assignees_url":"https://api.github.com/repos/gengo/goship/assignees{/user}","branches_url":"https://api.github.com/repos/gengo/goship/branches{/branch}","tags_url":"https://api.github.com/repos/gengo/goship/tags","blobs_url":"https://api.github.com/repos/gengo/goship/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gengo/goship/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gengo/goship/git/refs{/sha}","trees_url":"https://api.github.com/repos/gengo/goship/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gengo/goship/statuses/{sha}","languages_url":"https://api.github.com/repos/gengo/goship/languages","stargazers_url":"https://api.github.com/repos/gengo/goship/stargazers","contributors_url":"https://api.github.com/repos/gengo/goship/contributors","subscribers_url":"https://api.github.com/repos/gengo/goship/subscribers","subscription_url":"https://api.github.com/repos/gengo/goship/subscription","commits_url":"https://api.github.com/repos/gengo/goship/commits{/sha}","git_commits_url":"https://api.github.com/repos/gengo/goship/git/commits{/sha}","comments_url":"https://api.github.com/repos/gengo/goship/comments{/number}","issue_comment_url":"https://api.github.com/repos/gengo/goship/issues/comments{/number}","contents_url":"https://api.github.com/repos/gengo/goship/contents/{+path}","compare_url":"https://api.github.com/repos/gengo/goship/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gengo/goship/merges","archive_url":"https://api.github.com/repos/gengo/goship/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gengo/goship/downloads","issues_url":"https://api.github.com/repos/gengo/goship/issues{/number}","pulls_url":"https://api.github.com/repos/gengo/goship/pulls{/number}","milestones_url":"https://api.github.com/repos/gengo/goship/milestones{/number}","notifications_url":"https://api.github.com/repos/gengo/goship/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gengo/goship/labels{/name}","releases_url":"https://api.github.com/repos/gengo/goship/releases{/id}","created_at":"2013-08-30T06:20:15Z","updated_at":"2015-04-22T00:33:19Z","pushed_at":"2015-04-23T00:58:34Z","git_url":"git://github.com/gengo/goship.git","ssh_url":"git@github.com:gengo/goship.git","clone_url":"https://github.com/gengo/goship.git","svn_url":"https://github.com/gengo/goship","homepage":"","size":3585,"stargazers_count":398,"watchers_count":398,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":9,"forks":20,"open_issues":9,"watchers":398,"default_branch":"master"}},"base":{"label":"gengo:master","ref":"master","sha":"843d9e362cab2f34f346bf7359cf3336307eb0fa","user":{"login":"gengo","id":1681251,"avatar_url":"https://avatars.githubusercontent.com/u/1681251?v=3","gravatar_id":"","url":"https://api.github.com/users/gengo","html_url":"https://github.com/gengo","followers_url":"https://api.github.com/users/gengo/followers","following_url":"https://api.github.com/users/gengo/following{/other_user}","gists_url":"https://api.github.com/users/gengo/gists{/gist_id}","starred_url":"https://api.github.com/users/gengo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gengo/subscriptions","organizations_url":"https://api.github.com/users/gengo/orgs","repos_url":"https://api.github.com/users/gengo/repos","events_url":"https://api.github.com/users/gengo/events{/privacy}","received_events_url":"https://api.github.com/users/gengo/received_events","type":"Organization","site_admin":false},"repo":{"id":12479555,"name":"goship","full_name":"gengo/goship","owner":{"login":"gengo","id":1681251,"avatar_url":"https://avatars.githubusercontent.com/u/1681251?v=3","gravatar_id":"","url":"https://api.github.com/users/gengo","html_url":"https://github.com/gengo","followers_url":"https://api.github.com/users/gengo/followers","following_url":"https://api.github.com/users/gengo/following{/other_user}","gists_url":"https://api.github.com/users/gengo/gists{/gist_id}","starred_url":"https://api.github.com/users/gengo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gengo/subscriptions","organizations_url":"https://api.github.com/users/gengo/orgs","repos_url":"https://api.github.com/users/gengo/repos","events_url":"https://api.github.com/users/gengo/events{/privacy}","received_events_url":"https://api.github.com/users/gengo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gengo/goship","description":"A simple tool for deploying code to servers.","fork":false,"url":"https://api.github.com/repos/gengo/goship","forks_url":"https://api.github.com/repos/gengo/goship/forks","keys_url":"https://api.github.com/repos/gengo/goship/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gengo/goship/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gengo/goship/teams","hooks_url":"https://api.github.com/repos/gengo/goship/hooks","issue_events_url":"https://api.github.com/repos/gengo/goship/issues/events{/number}","events_url":"https://api.github.com/repos/gengo/goship/events","assignees_url":"https://api.github.com/repos/gengo/goship/assignees{/user}","branches_url":"https://api.github.com/repos/gengo/goship/branches{/branch}","tags_url":"https://api.github.com/repos/gengo/goship/tags","blobs_url":"https://api.github.com/repos/gengo/goship/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gengo/goship/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gengo/goship/git/refs{/sha}","trees_url":"https://api.github.com/repos/gengo/goship/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gengo/goship/statuses/{sha}","languages_url":"https://api.github.com/repos/gengo/goship/languages","stargazers_url":"https://api.github.com/repos/gengo/goship/stargazers","contributors_url":"https://api.github.com/repos/gengo/goship/contributors","subscribers_url":"https://api.github.com/repos/gengo/goship/subscribers","subscription_url":"https://api.github.com/repos/gengo/goship/subscription","commits_url":"https://api.github.com/repos/gengo/goship/commits{/sha}","git_commits_url":"https://api.github.com/repos/gengo/goship/git/commits{/sha}","comments_url":"https://api.github.com/repos/gengo/goship/comments{/number}","issue_comment_url":"https://api.github.com/repos/gengo/goship/issues/comments{/number}","contents_url":"https://api.github.com/repos/gengo/goship/contents/{+path}","compare_url":"https://api.github.com/repos/gengo/goship/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gengo/goship/merges","archive_url":"https://api.github.com/repos/gengo/goship/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gengo/goship/downloads","issues_url":"https://api.github.com/repos/gengo/goship/issues{/number}","pulls_url":"https://api.github.com/repos/gengo/goship/pulls{/number}","milestones_url":"https://api.github.com/repos/gengo/goship/milestones{/number}","notifications_url":"https://api.github.com/repos/gengo/goship/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gengo/goship/labels{/name}","releases_url":"https://api.github.com/repos/gengo/goship/releases{/id}","created_at":"2013-08-30T06:20:15Z","updated_at":"2015-04-22T00:33:19Z","pushed_at":"2015-04-23T00:58:34Z","git_url":"git://github.com/gengo/goship.git","ssh_url":"git@github.com:gengo/goship.git","clone_url":"https://github.com/gengo/goship.git","svn_url":"https://github.com/gengo/goship","homepage":"","size":3585,"stargazers_count":398,"watchers_count":398,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":9,"forks":20,"open_issues":9,"watchers":398,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gengo/goship/pulls/134"},"html":{"href":"https://github.com/gengo/goship/pull/134"},"issue":{"href":"https://api.github.com/repos/gengo/goship/issues/134"},"comments":{"href":"https://api.github.com/repos/gengo/goship/issues/134/comments"},"review_comments":{"href":"https://api.github.com/repos/gengo/goship/pulls/134/comments"},"review_comment":{"href":"https://api.github.com/repos/gengo/goship/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gengo/goship/pulls/134/commits"},"statuses":{"href":"https://api.github.com/repos/gengo/goship/statuses/741c0a06553c75d6c5b83a0df7ce38ad277e261a"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":5,"additions":279,"deletions":76,"changed_files":12}}