{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/camptocamp/docker-mapserver/pulls/1","id":57375911,"html_url":"https://github.com/camptocamp/docker-mapserver/pull/1","diff_url":"https://github.com/camptocamp/docker-mapserver/pull/1.diff","patch_url":"https://github.com/camptocamp/docker-mapserver/pull/1.patch","issue_url":"https://api.github.com/repos/camptocamp/docker-mapserver/issues/1","number":1,"state":"open","locked":false,"title":"Add possibility to have hooks","user":{"login":"pvalsecc","id":1180608,"avatar_url":"https://avatars.githubusercontent.com/u/1180608?v=3","gravatar_id":"","url":"https://api.github.com/users/pvalsecc","html_url":"https://github.com/pvalsecc","followers_url":"https://api.github.com/users/pvalsecc/followers","following_url":"https://api.github.com/users/pvalsecc/following{/other_user}","gists_url":"https://api.github.com/users/pvalsecc/gists{/gist_id}","starred_url":"https://api.github.com/users/pvalsecc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pvalsecc/subscriptions","organizations_url":"https://api.github.com/users/pvalsecc/orgs","repos_url":"https://api.github.com/users/pvalsecc/repos","events_url":"https://api.github.com/users/pvalsecc/events{/privacy}","received_events_url":"https://api.github.com/users/pvalsecc/received_events","type":"User","site_admin":false},"body":"For the moment, we can only have hooks run just before apache starts. It\r\nwill run all those files:\r\n  /etc/mapserver/hooks/at_start/*.sh\r\n\r\nI need that to be able to change my mapfiles at startup to be able to configure the DB connection in my composition.","created_at":"2016-01-27T15:33:40Z","updated_at":"2016-01-27T15:33:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/camptocamp/docker-mapserver/pulls/1/commits","review_comments_url":"https://api.github.com/repos/camptocamp/docker-mapserver/pulls/1/comments","review_comment_url":"https://api.github.com/repos/camptocamp/docker-mapserver/pulls/comments{/number}","comments_url":"https://api.github.com/repos/camptocamp/docker-mapserver/issues/1/comments","statuses_url":"https://api.github.com/repos/camptocamp/docker-mapserver/statuses/d4557f2b755e19b58dbe0a6483ae0da86d1d40fc","head":{"label":"pvalsecc:add_hooks","ref":"add_hooks","sha":"d4557f2b755e19b58dbe0a6483ae0da86d1d40fc","user":{"login":"pvalsecc","id":1180608,"avatar_url":"https://avatars.githubusercontent.com/u/1180608?v=3","gravatar_id":"","url":"https://api.github.com/users/pvalsecc","html_url":"https://github.com/pvalsecc","followers_url":"https://api.github.com/users/pvalsecc/followers","following_url":"https://api.github.com/users/pvalsecc/following{/other_user}","gists_url":"https://api.github.com/users/pvalsecc/gists{/gist_id}","starred_url":"https://api.github.com/users/pvalsecc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pvalsecc/subscriptions","organizations_url":"https://api.github.com/users/pvalsecc/orgs","repos_url":"https://api.github.com/users/pvalsecc/repos","events_url":"https://api.github.com/users/pvalsecc/events{/privacy}","received_events_url":"https://api.github.com/users/pvalsecc/received_events","type":"User","site_admin":false},"repo":{"id":50517134,"name":"docker-mapserver","full_name":"pvalsecc/docker-mapserver","owner":{"login":"pvalsecc","id":1180608,"avatar_url":"https://avatars.githubusercontent.com/u/1180608?v=3","gravatar_id":"","url":"https://api.github.com/users/pvalsecc","html_url":"https://github.com/pvalsecc","followers_url":"https://api.github.com/users/pvalsecc/followers","following_url":"https://api.github.com/users/pvalsecc/following{/other_user}","gists_url":"https://api.github.com/users/pvalsecc/gists{/gist_id}","starred_url":"https://api.github.com/users/pvalsecc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pvalsecc/subscriptions","organizations_url":"https://api.github.com/users/pvalsecc/orgs","repos_url":"https://api.github.com/users/pvalsecc/repos","events_url":"https://api.github.com/users/pvalsecc/events{/privacy}","received_events_url":"https://api.github.com/users/pvalsecc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pvalsecc/docker-mapserver","description":"","fork":true,"url":"https://api.github.com/repos/pvalsecc/docker-mapserver","forks_url":"https://api.github.com/repos/pvalsecc/docker-mapserver/forks","keys_url":"https://api.github.com/repos/pvalsecc/docker-mapserver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pvalsecc/docker-mapserver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pvalsecc/docker-mapserver/teams","hooks_url":"https://api.github.com/repos/pvalsecc/docker-mapserver/hooks","issue_events_url":"https://api.github.com/repos/pvalsecc/docker-mapserver/issues/events{/number}","events_url":"https://api.github.com/repos/pvalsecc/docker-mapserver/events","assignees_url":"https://api.github.com/repos/pvalsecc/docker-mapserver/assignees{/user}","branches_url":"https://api.github.com/repos/pvalsecc/docker-mapserver/branches{/branch}","tags_url":"https://api.github.com/repos/pvalsecc/docker-mapserver/tags","blobs_url":"https://api.github.com/repos/pvalsecc/docker-mapserver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pvalsecc/docker-mapserver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pvalsecc/docker-mapserver/git/refs{/sha}","trees_url":"https://api.github.com/repos/pvalsecc/docker-mapserver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pvalsecc/docker-mapserver/statuses/{sha}","languages_url":"https://api.github.com/repos/pvalsecc/docker-mapserver/languages","stargazers_url":"https://api.github.com/repos/pvalsecc/docker-mapserver/stargazers","contributors_url":"https://api.github.com/repos/pvalsecc/docker-mapserver/contributors","subscribers_url":"https://api.github.com/repos/pvalsecc/docker-mapserver/subscribers","subscription_url":"https://api.github.com/repos/pvalsecc/docker-mapserver/subscription","commits_url":"https://api.github.com/repos/pvalsecc/docker-mapserver/commits{/sha}","git_commits_url":"https://api.github.com/repos/pvalsecc/docker-mapserver/git/commits{/sha}","comments_url":"https://api.github.com/repos/pvalsecc/docker-mapserver/comments{/number}","issue_comment_url":"https://api.github.com/repos/pvalsecc/docker-mapserver/issues/comments{/number}","contents_url":"https://api.github.com/repos/pvalsecc/docker-mapserver/contents/{+path}","compare_url":"https://api.github.com/repos/pvalsecc/docker-mapserver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pvalsecc/docker-mapserver/merges","archive_url":"https://api.github.com/repos/pvalsecc/docker-mapserver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pvalsecc/docker-mapserver/downloads","issues_url":"https://api.github.com/repos/pvalsecc/docker-mapserver/issues{/number}","pulls_url":"https://api.github.com/repos/pvalsecc/docker-mapserver/pulls{/number}","milestones_url":"https://api.github.com/repos/pvalsecc/docker-mapserver/milestones{/number}","notifications_url":"https://api.github.com/repos/pvalsecc/docker-mapserver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pvalsecc/docker-mapserver/labels{/name}","releases_url":"https://api.github.com/repos/pvalsecc/docker-mapserver/releases{/id}","deployments_url":"https://api.github.com/repos/pvalsecc/docker-mapserver/deployments","created_at":"2016-01-27T15:32:16Z","updated_at":"2015-12-02T15:31:00Z","pushed_at":"2016-01-27T15:32:36Z","git_url":"git://github.com/pvalsecc/docker-mapserver.git","ssh_url":"git@github.com:pvalsecc/docker-mapserver.git","clone_url":"https://github.com/pvalsecc/docker-mapserver.git","svn_url":"https://github.com/pvalsecc/docker-mapserver","homepage":null,"size":1,"stargazers_count":0,"watchers_count":0,"language":null,"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":"camptocamp:master","ref":"master","sha":"59545e7676047bf0db9ddd57ad6145e8060adcc8","user":{"login":"camptocamp","id":28109,"avatar_url":"https://avatars.githubusercontent.com/u/28109?v=3","gravatar_id":"","url":"https://api.github.com/users/camptocamp","html_url":"https://github.com/camptocamp","followers_url":"https://api.github.com/users/camptocamp/followers","following_url":"https://api.github.com/users/camptocamp/following{/other_user}","gists_url":"https://api.github.com/users/camptocamp/gists{/gist_id}","starred_url":"https://api.github.com/users/camptocamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camptocamp/subscriptions","organizations_url":"https://api.github.com/users/camptocamp/orgs","repos_url":"https://api.github.com/users/camptocamp/repos","events_url":"https://api.github.com/users/camptocamp/events{/privacy}","received_events_url":"https://api.github.com/users/camptocamp/received_events","type":"Organization","site_admin":false},"repo":{"id":47270140,"name":"docker-mapserver","full_name":"camptocamp/docker-mapserver","owner":{"login":"camptocamp","id":28109,"avatar_url":"https://avatars.githubusercontent.com/u/28109?v=3","gravatar_id":"","url":"https://api.github.com/users/camptocamp","html_url":"https://github.com/camptocamp","followers_url":"https://api.github.com/users/camptocamp/followers","following_url":"https://api.github.com/users/camptocamp/following{/other_user}","gists_url":"https://api.github.com/users/camptocamp/gists{/gist_id}","starred_url":"https://api.github.com/users/camptocamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camptocamp/subscriptions","organizations_url":"https://api.github.com/users/camptocamp/orgs","repos_url":"https://api.github.com/users/camptocamp/repos","events_url":"https://api.github.com/users/camptocamp/events{/privacy}","received_events_url":"https://api.github.com/users/camptocamp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/camptocamp/docker-mapserver","description":"","fork":false,"url":"https://api.github.com/repos/camptocamp/docker-mapserver","forks_url":"https://api.github.com/repos/camptocamp/docker-mapserver/forks","keys_url":"https://api.github.com/repos/camptocamp/docker-mapserver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/camptocamp/docker-mapserver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/camptocamp/docker-mapserver/teams","hooks_url":"https://api.github.com/repos/camptocamp/docker-mapserver/hooks","issue_events_url":"https://api.github.com/repos/camptocamp/docker-mapserver/issues/events{/number}","events_url":"https://api.github.com/repos/camptocamp/docker-mapserver/events","assignees_url":"https://api.github.com/repos/camptocamp/docker-mapserver/assignees{/user}","branches_url":"https://api.github.com/repos/camptocamp/docker-mapserver/branches{/branch}","tags_url":"https://api.github.com/repos/camptocamp/docker-mapserver/tags","blobs_url":"https://api.github.com/repos/camptocamp/docker-mapserver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/camptocamp/docker-mapserver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/camptocamp/docker-mapserver/git/refs{/sha}","trees_url":"https://api.github.com/repos/camptocamp/docker-mapserver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/camptocamp/docker-mapserver/statuses/{sha}","languages_url":"https://api.github.com/repos/camptocamp/docker-mapserver/languages","stargazers_url":"https://api.github.com/repos/camptocamp/docker-mapserver/stargazers","contributors_url":"https://api.github.com/repos/camptocamp/docker-mapserver/contributors","subscribers_url":"https://api.github.com/repos/camptocamp/docker-mapserver/subscribers","subscription_url":"https://api.github.com/repos/camptocamp/docker-mapserver/subscription","commits_url":"https://api.github.com/repos/camptocamp/docker-mapserver/commits{/sha}","git_commits_url":"https://api.github.com/repos/camptocamp/docker-mapserver/git/commits{/sha}","comments_url":"https://api.github.com/repos/camptocamp/docker-mapserver/comments{/number}","issue_comment_url":"https://api.github.com/repos/camptocamp/docker-mapserver/issues/comments{/number}","contents_url":"https://api.github.com/repos/camptocamp/docker-mapserver/contents/{+path}","compare_url":"https://api.github.com/repos/camptocamp/docker-mapserver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/camptocamp/docker-mapserver/merges","archive_url":"https://api.github.com/repos/camptocamp/docker-mapserver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/camptocamp/docker-mapserver/downloads","issues_url":"https://api.github.com/repos/camptocamp/docker-mapserver/issues{/number}","pulls_url":"https://api.github.com/repos/camptocamp/docker-mapserver/pulls{/number}","milestones_url":"https://api.github.com/repos/camptocamp/docker-mapserver/milestones{/number}","notifications_url":"https://api.github.com/repos/camptocamp/docker-mapserver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/camptocamp/docker-mapserver/labels{/name}","releases_url":"https://api.github.com/repos/camptocamp/docker-mapserver/releases{/id}","deployments_url":"https://api.github.com/repos/camptocamp/docker-mapserver/deployments","created_at":"2015-12-02T15:31:00Z","updated_at":"2015-12-02T15:31:00Z","pushed_at":"2016-01-27T15:33:40Z","git_url":"git://github.com/camptocamp/docker-mapserver.git","ssh_url":"git@github.com:camptocamp/docker-mapserver.git","clone_url":"https://github.com/camptocamp/docker-mapserver.git","svn_url":"https://github.com/camptocamp/docker-mapserver","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/camptocamp/docker-mapserver/pulls/1"},"html":{"href":"https://github.com/camptocamp/docker-mapserver/pull/1"},"issue":{"href":"https://api.github.com/repos/camptocamp/docker-mapserver/issues/1"},"comments":{"href":"https://api.github.com/repos/camptocamp/docker-mapserver/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/camptocamp/docker-mapserver/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/camptocamp/docker-mapserver/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/camptocamp/docker-mapserver/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/camptocamp/docker-mapserver/statuses/d4557f2b755e19b58dbe0a6483ae0da86d1d40fc"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":20,"deletions":6,"changed_files":2}}