{"action":"opened","number":11,"pull_request":{"url":"https://api.github.com/repos/jpetazzo/squid-in-a-can/pulls/11","id":28769705,"html_url":"https://github.com/jpetazzo/squid-in-a-can/pull/11","diff_url":"https://github.com/jpetazzo/squid-in-a-can/pull/11.diff","patch_url":"https://github.com/jpetazzo/squid-in-a-can/pull/11.patch","issue_url":"https://api.github.com/repos/jpetazzo/squid-in-a-can/issues/11","number":11,"state":"open","locked":false,"title":"Add the ability to append arbitrary squid directives","user":{"login":"tfoote","id":447804,"avatar_url":"https://avatars.githubusercontent.com/u/447804?v=3","gravatar_id":"","url":"https://api.github.com/users/tfoote","html_url":"https://github.com/tfoote","followers_url":"https://api.github.com/users/tfoote/followers","following_url":"https://api.github.com/users/tfoote/following{/other_user}","gists_url":"https://api.github.com/users/tfoote/gists{/gist_id}","starred_url":"https://api.github.com/users/tfoote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tfoote/subscriptions","organizations_url":"https://api.github.com/users/tfoote/orgs","repos_url":"https://api.github.com/users/tfoote/repos","events_url":"https://api.github.com/users/tfoote/events{/privacy}","received_events_url":"https://api.github.com/users/tfoote/received_events","type":"User","site_admin":false},"body":"Arbitrary directives can be added via SQUID_DIRECTIVES environment variable. And if appending is not enough control ONLY_SQUID_DIRECTIVES enables you to overwrite squid.conf instead of appending. \r\n\r\nThere are a few cleanup commits as well for best practices like collapsing apt-get update and apt-get install onto the same lines to keep them atomic. And removing duplicate conf declarations. \r\n\r\nThis is useful for tuning more cache parameters. We have a use case which needs more control of the cache at: https://github.com/ros-infrastructure/buildfarm_deployment/issues/41","created_at":"2015-02-05T22:56:26Z","updated_at":"2015-02-05T22:56:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jpetazzo/squid-in-a-can/pulls/11/commits","review_comments_url":"https://api.github.com/repos/jpetazzo/squid-in-a-can/pulls/11/comments","review_comment_url":"https://api.github.com/repos/jpetazzo/squid-in-a-can/pulls/comments/{number}","comments_url":"https://api.github.com/repos/jpetazzo/squid-in-a-can/issues/11/comments","statuses_url":"https://api.github.com/repos/jpetazzo/squid-in-a-can/statuses/e45ff4461053e3908b13796afbfa2180871dfbb5","head":{"label":"tfoote:arbitrary_squid_directives","ref":"arbitrary_squid_directives","sha":"e45ff4461053e3908b13796afbfa2180871dfbb5","user":{"login":"tfoote","id":447804,"avatar_url":"https://avatars.githubusercontent.com/u/447804?v=3","gravatar_id":"","url":"https://api.github.com/users/tfoote","html_url":"https://github.com/tfoote","followers_url":"https://api.github.com/users/tfoote/followers","following_url":"https://api.github.com/users/tfoote/following{/other_user}","gists_url":"https://api.github.com/users/tfoote/gists{/gist_id}","starred_url":"https://api.github.com/users/tfoote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tfoote/subscriptions","organizations_url":"https://api.github.com/users/tfoote/orgs","repos_url":"https://api.github.com/users/tfoote/repos","events_url":"https://api.github.com/users/tfoote/events{/privacy}","received_events_url":"https://api.github.com/users/tfoote/received_events","type":"User","site_admin":false},"repo":{"id":22829891,"name":"squid-in-a-can","full_name":"tfoote/squid-in-a-can","owner":{"login":"tfoote","id":447804,"avatar_url":"https://avatars.githubusercontent.com/u/447804?v=3","gravatar_id":"","url":"https://api.github.com/users/tfoote","html_url":"https://github.com/tfoote","followers_url":"https://api.github.com/users/tfoote/followers","following_url":"https://api.github.com/users/tfoote/following{/other_user}","gists_url":"https://api.github.com/users/tfoote/gists{/gist_id}","starred_url":"https://api.github.com/users/tfoote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tfoote/subscriptions","organizations_url":"https://api.github.com/users/tfoote/orgs","repos_url":"https://api.github.com/users/tfoote/repos","events_url":"https://api.github.com/users/tfoote/events{/privacy}","received_events_url":"https://api.github.com/users/tfoote/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tfoote/squid-in-a-can","description":"","fork":true,"url":"https://api.github.com/repos/tfoote/squid-in-a-can","forks_url":"https://api.github.com/repos/tfoote/squid-in-a-can/forks","keys_url":"https://api.github.com/repos/tfoote/squid-in-a-can/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tfoote/squid-in-a-can/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tfoote/squid-in-a-can/teams","hooks_url":"https://api.github.com/repos/tfoote/squid-in-a-can/hooks","issue_events_url":"https://api.github.com/repos/tfoote/squid-in-a-can/issues/events{/number}","events_url":"https://api.github.com/repos/tfoote/squid-in-a-can/events","assignees_url":"https://api.github.com/repos/tfoote/squid-in-a-can/assignees{/user}","branches_url":"https://api.github.com/repos/tfoote/squid-in-a-can/branches{/branch}","tags_url":"https://api.github.com/repos/tfoote/squid-in-a-can/tags","blobs_url":"https://api.github.com/repos/tfoote/squid-in-a-can/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tfoote/squid-in-a-can/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tfoote/squid-in-a-can/git/refs{/sha}","trees_url":"https://api.github.com/repos/tfoote/squid-in-a-can/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tfoote/squid-in-a-can/statuses/{sha}","languages_url":"https://api.github.com/repos/tfoote/squid-in-a-can/languages","stargazers_url":"https://api.github.com/repos/tfoote/squid-in-a-can/stargazers","contributors_url":"https://api.github.com/repos/tfoote/squid-in-a-can/contributors","subscribers_url":"https://api.github.com/repos/tfoote/squid-in-a-can/subscribers","subscription_url":"https://api.github.com/repos/tfoote/squid-in-a-can/subscription","commits_url":"https://api.github.com/repos/tfoote/squid-in-a-can/commits{/sha}","git_commits_url":"https://api.github.com/repos/tfoote/squid-in-a-can/git/commits{/sha}","comments_url":"https://api.github.com/repos/tfoote/squid-in-a-can/comments{/number}","issue_comment_url":"https://api.github.com/repos/tfoote/squid-in-a-can/issues/comments/{number}","contents_url":"https://api.github.com/repos/tfoote/squid-in-a-can/contents/{+path}","compare_url":"https://api.github.com/repos/tfoote/squid-in-a-can/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tfoote/squid-in-a-can/merges","archive_url":"https://api.github.com/repos/tfoote/squid-in-a-can/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tfoote/squid-in-a-can/downloads","issues_url":"https://api.github.com/repos/tfoote/squid-in-a-can/issues{/number}","pulls_url":"https://api.github.com/repos/tfoote/squid-in-a-can/pulls{/number}","milestones_url":"https://api.github.com/repos/tfoote/squid-in-a-can/milestones{/number}","notifications_url":"https://api.github.com/repos/tfoote/squid-in-a-can/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tfoote/squid-in-a-can/labels{/name}","releases_url":"https://api.github.com/repos/tfoote/squid-in-a-can/releases{/id}","created_at":"2014-08-11T06:59:30Z","updated_at":"2014-10-31T17:22:17Z","pushed_at":"2015-02-05T22:51:25Z","git_url":"git://github.com/tfoote/squid-in-a-can.git","ssh_url":"git@github.com:tfoote/squid-in-a-can.git","clone_url":"https://github.com/tfoote/squid-in-a-can.git","svn_url":"https://github.com/tfoote/squid-in-a-can","homepage":null,"size":157,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"jpetazzo:master","ref":"master","sha":"eda3adb319786ec46d815047b1f19a084a3e72db","user":{"login":"jpetazzo","id":171481,"avatar_url":"https://avatars.githubusercontent.com/u/171481?v=3","gravatar_id":"","url":"https://api.github.com/users/jpetazzo","html_url":"https://github.com/jpetazzo","followers_url":"https://api.github.com/users/jpetazzo/followers","following_url":"https://api.github.com/users/jpetazzo/following{/other_user}","gists_url":"https://api.github.com/users/jpetazzo/gists{/gist_id}","starred_url":"https://api.github.com/users/jpetazzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpetazzo/subscriptions","organizations_url":"https://api.github.com/users/jpetazzo/orgs","repos_url":"https://api.github.com/users/jpetazzo/repos","events_url":"https://api.github.com/users/jpetazzo/events{/privacy}","received_events_url":"https://api.github.com/users/jpetazzo/received_events","type":"User","site_admin":false},"repo":{"id":20941957,"name":"squid-in-a-can","full_name":"jpetazzo/squid-in-a-can","owner":{"login":"jpetazzo","id":171481,"avatar_url":"https://avatars.githubusercontent.com/u/171481?v=3","gravatar_id":"","url":"https://api.github.com/users/jpetazzo","html_url":"https://github.com/jpetazzo","followers_url":"https://api.github.com/users/jpetazzo/followers","following_url":"https://api.github.com/users/jpetazzo/following{/other_user}","gists_url":"https://api.github.com/users/jpetazzo/gists{/gist_id}","starred_url":"https://api.github.com/users/jpetazzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpetazzo/subscriptions","organizations_url":"https://api.github.com/users/jpetazzo/orgs","repos_url":"https://api.github.com/users/jpetazzo/repos","events_url":"https://api.github.com/users/jpetazzo/events{/privacy}","received_events_url":"https://api.github.com/users/jpetazzo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jpetazzo/squid-in-a-can","description":"","fork":false,"url":"https://api.github.com/repos/jpetazzo/squid-in-a-can","forks_url":"https://api.github.com/repos/jpetazzo/squid-in-a-can/forks","keys_url":"https://api.github.com/repos/jpetazzo/squid-in-a-can/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jpetazzo/squid-in-a-can/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jpetazzo/squid-in-a-can/teams","hooks_url":"https://api.github.com/repos/jpetazzo/squid-in-a-can/hooks","issue_events_url":"https://api.github.com/repos/jpetazzo/squid-in-a-can/issues/events{/number}","events_url":"https://api.github.com/repos/jpetazzo/squid-in-a-can/events","assignees_url":"https://api.github.com/repos/jpetazzo/squid-in-a-can/assignees{/user}","branches_url":"https://api.github.com/repos/jpetazzo/squid-in-a-can/branches{/branch}","tags_url":"https://api.github.com/repos/jpetazzo/squid-in-a-can/tags","blobs_url":"https://api.github.com/repos/jpetazzo/squid-in-a-can/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jpetazzo/squid-in-a-can/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jpetazzo/squid-in-a-can/git/refs{/sha}","trees_url":"https://api.github.com/repos/jpetazzo/squid-in-a-can/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jpetazzo/squid-in-a-can/statuses/{sha}","languages_url":"https://api.github.com/repos/jpetazzo/squid-in-a-can/languages","stargazers_url":"https://api.github.com/repos/jpetazzo/squid-in-a-can/stargazers","contributors_url":"https://api.github.com/repos/jpetazzo/squid-in-a-can/contributors","subscribers_url":"https://api.github.com/repos/jpetazzo/squid-in-a-can/subscribers","subscription_url":"https://api.github.com/repos/jpetazzo/squid-in-a-can/subscription","commits_url":"https://api.github.com/repos/jpetazzo/squid-in-a-can/commits{/sha}","git_commits_url":"https://api.github.com/repos/jpetazzo/squid-in-a-can/git/commits{/sha}","comments_url":"https://api.github.com/repos/jpetazzo/squid-in-a-can/comments{/number}","issue_comment_url":"https://api.github.com/repos/jpetazzo/squid-in-a-can/issues/comments/{number}","contents_url":"https://api.github.com/repos/jpetazzo/squid-in-a-can/contents/{+path}","compare_url":"https://api.github.com/repos/jpetazzo/squid-in-a-can/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jpetazzo/squid-in-a-can/merges","archive_url":"https://api.github.com/repos/jpetazzo/squid-in-a-can/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jpetazzo/squid-in-a-can/downloads","issues_url":"https://api.github.com/repos/jpetazzo/squid-in-a-can/issues{/number}","pulls_url":"https://api.github.com/repos/jpetazzo/squid-in-a-can/pulls{/number}","milestones_url":"https://api.github.com/repos/jpetazzo/squid-in-a-can/milestones{/number}","notifications_url":"https://api.github.com/repos/jpetazzo/squid-in-a-can/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jpetazzo/squid-in-a-can/labels{/name}","releases_url":"https://api.github.com/repos/jpetazzo/squid-in-a-can/releases{/id}","created_at":"2014-06-17T22:44:35Z","updated_at":"2015-02-05T03:58:22Z","pushed_at":"2015-01-14T02:29:29Z","git_url":"git://github.com/jpetazzo/squid-in-a-can.git","ssh_url":"git@github.com:jpetazzo/squid-in-a-can.git","clone_url":"https://github.com/jpetazzo/squid-in-a-can.git","svn_url":"https://github.com/jpetazzo/squid-in-a-can","homepage":null,"size":162,"stargazers_count":63,"watchers_count":63,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":4,"forks":13,"open_issues":4,"watchers":63,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jpetazzo/squid-in-a-can/pulls/11"},"html":{"href":"https://github.com/jpetazzo/squid-in-a-can/pull/11"},"issue":{"href":"https://api.github.com/repos/jpetazzo/squid-in-a-can/issues/11"},"comments":{"href":"https://api.github.com/repos/jpetazzo/squid-in-a-can/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/jpetazzo/squid-in-a-can/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/jpetazzo/squid-in-a-can/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/jpetazzo/squid-in-a-can/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/jpetazzo/squid-in-a-can/statuses/e45ff4461053e3908b13796afbfa2180871dfbb5"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":5,"additions":34,"deletions":18,"changed_files":5}}