{"action":"opened","number":151,"pull_request":{"url":"https://api.github.com/repos/rsnapshot/rsnapshot/pulls/151","id":85258501,"html_url":"https://github.com/rsnapshot/rsnapshot/pull/151","diff_url":"https://github.com/rsnapshot/rsnapshot/pull/151.diff","patch_url":"https://github.com/rsnapshot/rsnapshot/pull/151.patch","issue_url":"https://api.github.com/repos/rsnapshot/rsnapshot/issues/151","number":151,"state":"open","locked":false,"title":"Add support for providing a dir to include_conf ","user":{"login":"hogarthj","id":3037132,"avatar_url":"https://avatars.githubusercontent.com/u/3037132?v=3","gravatar_id":"","url":"https://api.github.com/users/hogarthj","html_url":"https://github.com/hogarthj","followers_url":"https://api.github.com/users/hogarthj/followers","following_url":"https://api.github.com/users/hogarthj/following{/other_user}","gists_url":"https://api.github.com/users/hogarthj/gists{/gist_id}","starred_url":"https://api.github.com/users/hogarthj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hogarthj/subscriptions","organizations_url":"https://api.github.com/users/hogarthj/orgs","repos_url":"https://api.github.com/users/hogarthj/repos","events_url":"https://api.github.com/users/hogarthj/events{/privacy}","received_events_url":"https://api.github.com/users/hogarthj/received_events","type":"User","site_admin":false},"body":"With this commit a directory can be provided to include_conf (such as /etc/rsnapshot.d) and then each file inside (skipping files ending with .in to make the test situation easier) will be parsed into the config.\r\n\r\nThis then allows a base configuration and for whatever method is desired to drop files into this directory to add backup lines (as I imagine the common use case will be) to provide drop in configuration of targets.\r\n\r\nThis also adds testing for include_conf to ensure it works for no include_conf, with include_conf pointing to a file and include_conf pointing to a directory.","created_at":"2016-09-14T16:13:23Z","updated_at":"2016-09-14T16:13:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7e4e022fb01eb0759c8105dddf2a5090bacc847f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/rsnapshot/rsnapshot/pulls/151/commits","review_comments_url":"https://api.github.com/repos/rsnapshot/rsnapshot/pulls/151/comments","review_comment_url":"https://api.github.com/repos/rsnapshot/rsnapshot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rsnapshot/rsnapshot/issues/151/comments","statuses_url":"https://api.github.com/repos/rsnapshot/rsnapshot/statuses/8e95a175c2748f3256a6dafdc7d597a7d3023b0a","head":{"label":"hogarthj:include_dir","ref":"include_dir","sha":"8e95a175c2748f3256a6dafdc7d597a7d3023b0a","user":{"login":"hogarthj","id":3037132,"avatar_url":"https://avatars.githubusercontent.com/u/3037132?v=3","gravatar_id":"","url":"https://api.github.com/users/hogarthj","html_url":"https://github.com/hogarthj","followers_url":"https://api.github.com/users/hogarthj/followers","following_url":"https://api.github.com/users/hogarthj/following{/other_user}","gists_url":"https://api.github.com/users/hogarthj/gists{/gist_id}","starred_url":"https://api.github.com/users/hogarthj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hogarthj/subscriptions","organizations_url":"https://api.github.com/users/hogarthj/orgs","repos_url":"https://api.github.com/users/hogarthj/repos","events_url":"https://api.github.com/users/hogarthj/events{/privacy}","received_events_url":"https://api.github.com/users/hogarthj/received_events","type":"User","site_admin":false},"repo":{"id":68213743,"name":"rsnapshot","full_name":"hogarthj/rsnapshot","owner":{"login":"hogarthj","id":3037132,"avatar_url":"https://avatars.githubusercontent.com/u/3037132?v=3","gravatar_id":"","url":"https://api.github.com/users/hogarthj","html_url":"https://github.com/hogarthj","followers_url":"https://api.github.com/users/hogarthj/followers","following_url":"https://api.github.com/users/hogarthj/following{/other_user}","gists_url":"https://api.github.com/users/hogarthj/gists{/gist_id}","starred_url":"https://api.github.com/users/hogarthj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hogarthj/subscriptions","organizations_url":"https://api.github.com/users/hogarthj/orgs","repos_url":"https://api.github.com/users/hogarthj/repos","events_url":"https://api.github.com/users/hogarthj/events{/privacy}","received_events_url":"https://api.github.com/users/hogarthj/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hogarthj/rsnapshot","description":"a tool for backing up your data using rsync (if you want to get help, use https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss)","fork":true,"url":"https://api.github.com/repos/hogarthj/rsnapshot","forks_url":"https://api.github.com/repos/hogarthj/rsnapshot/forks","keys_url":"https://api.github.com/repos/hogarthj/rsnapshot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hogarthj/rsnapshot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hogarthj/rsnapshot/teams","hooks_url":"https://api.github.com/repos/hogarthj/rsnapshot/hooks","issue_events_url":"https://api.github.com/repos/hogarthj/rsnapshot/issues/events{/number}","events_url":"https://api.github.com/repos/hogarthj/rsnapshot/events","assignees_url":"https://api.github.com/repos/hogarthj/rsnapshot/assignees{/user}","branches_url":"https://api.github.com/repos/hogarthj/rsnapshot/branches{/branch}","tags_url":"https://api.github.com/repos/hogarthj/rsnapshot/tags","blobs_url":"https://api.github.com/repos/hogarthj/rsnapshot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hogarthj/rsnapshot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hogarthj/rsnapshot/git/refs{/sha}","trees_url":"https://api.github.com/repos/hogarthj/rsnapshot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hogarthj/rsnapshot/statuses/{sha}","languages_url":"https://api.github.com/repos/hogarthj/rsnapshot/languages","stargazers_url":"https://api.github.com/repos/hogarthj/rsnapshot/stargazers","contributors_url":"https://api.github.com/repos/hogarthj/rsnapshot/contributors","subscribers_url":"https://api.github.com/repos/hogarthj/rsnapshot/subscribers","subscription_url":"https://api.github.com/repos/hogarthj/rsnapshot/subscription","commits_url":"https://api.github.com/repos/hogarthj/rsnapshot/commits{/sha}","git_commits_url":"https://api.github.com/repos/hogarthj/rsnapshot/git/commits{/sha}","comments_url":"https://api.github.com/repos/hogarthj/rsnapshot/comments{/number}","issue_comment_url":"https://api.github.com/repos/hogarthj/rsnapshot/issues/comments{/number}","contents_url":"https://api.github.com/repos/hogarthj/rsnapshot/contents/{+path}","compare_url":"https://api.github.com/repos/hogarthj/rsnapshot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hogarthj/rsnapshot/merges","archive_url":"https://api.github.com/repos/hogarthj/rsnapshot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hogarthj/rsnapshot/downloads","issues_url":"https://api.github.com/repos/hogarthj/rsnapshot/issues{/number}","pulls_url":"https://api.github.com/repos/hogarthj/rsnapshot/pulls{/number}","milestones_url":"https://api.github.com/repos/hogarthj/rsnapshot/milestones{/number}","notifications_url":"https://api.github.com/repos/hogarthj/rsnapshot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hogarthj/rsnapshot/labels{/name}","releases_url":"https://api.github.com/repos/hogarthj/rsnapshot/releases{/id}","deployments_url":"https://api.github.com/repos/hogarthj/rsnapshot/deployments","created_at":"2016-09-14T14:32:55Z","updated_at":"2016-09-14T14:32:56Z","pushed_at":"2016-09-14T16:09:22Z","git_url":"git://github.com/hogarthj/rsnapshot.git","ssh_url":"git@github.com:hogarthj/rsnapshot.git","clone_url":"https://github.com/hogarthj/rsnapshot.git","svn_url":"https://github.com/hogarthj/rsnapshot","homepage":"http://rsnapshot.org","size":2758,"stargazers_count":0,"watchers_count":0,"language":"Perl","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":"rsnapshot:master","ref":"master","sha":"9bc5b4bb8a13b62bb6b6aa95229016315c9bdb70","user":{"login":"rsnapshot","id":10962189,"avatar_url":"https://avatars.githubusercontent.com/u/10962189?v=3","gravatar_id":"","url":"https://api.github.com/users/rsnapshot","html_url":"https://github.com/rsnapshot","followers_url":"https://api.github.com/users/rsnapshot/followers","following_url":"https://api.github.com/users/rsnapshot/following{/other_user}","gists_url":"https://api.github.com/users/rsnapshot/gists{/gist_id}","starred_url":"https://api.github.com/users/rsnapshot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsnapshot/subscriptions","organizations_url":"https://api.github.com/users/rsnapshot/orgs","repos_url":"https://api.github.com/users/rsnapshot/repos","events_url":"https://api.github.com/users/rsnapshot/events{/privacy}","received_events_url":"https://api.github.com/users/rsnapshot/received_events","type":"Organization","site_admin":false},"repo":{"id":4130226,"name":"rsnapshot","full_name":"rsnapshot/rsnapshot","owner":{"login":"rsnapshot","id":10962189,"avatar_url":"https://avatars.githubusercontent.com/u/10962189?v=3","gravatar_id":"","url":"https://api.github.com/users/rsnapshot","html_url":"https://github.com/rsnapshot","followers_url":"https://api.github.com/users/rsnapshot/followers","following_url":"https://api.github.com/users/rsnapshot/following{/other_user}","gists_url":"https://api.github.com/users/rsnapshot/gists{/gist_id}","starred_url":"https://api.github.com/users/rsnapshot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsnapshot/subscriptions","organizations_url":"https://api.github.com/users/rsnapshot/orgs","repos_url":"https://api.github.com/users/rsnapshot/repos","events_url":"https://api.github.com/users/rsnapshot/events{/privacy}","received_events_url":"https://api.github.com/users/rsnapshot/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rsnapshot/rsnapshot","description":"a tool for backing up your data using rsync (if you want to get help, use https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss)","fork":false,"url":"https://api.github.com/repos/rsnapshot/rsnapshot","forks_url":"https://api.github.com/repos/rsnapshot/rsnapshot/forks","keys_url":"https://api.github.com/repos/rsnapshot/rsnapshot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rsnapshot/rsnapshot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rsnapshot/rsnapshot/teams","hooks_url":"https://api.github.com/repos/rsnapshot/rsnapshot/hooks","issue_events_url":"https://api.github.com/repos/rsnapshot/rsnapshot/issues/events{/number}","events_url":"https://api.github.com/repos/rsnapshot/rsnapshot/events","assignees_url":"https://api.github.com/repos/rsnapshot/rsnapshot/assignees{/user}","branches_url":"https://api.github.com/repos/rsnapshot/rsnapshot/branches{/branch}","tags_url":"https://api.github.com/repos/rsnapshot/rsnapshot/tags","blobs_url":"https://api.github.com/repos/rsnapshot/rsnapshot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rsnapshot/rsnapshot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rsnapshot/rsnapshot/git/refs{/sha}","trees_url":"https://api.github.com/repos/rsnapshot/rsnapshot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rsnapshot/rsnapshot/statuses/{sha}","languages_url":"https://api.github.com/repos/rsnapshot/rsnapshot/languages","stargazers_url":"https://api.github.com/repos/rsnapshot/rsnapshot/stargazers","contributors_url":"https://api.github.com/repos/rsnapshot/rsnapshot/contributors","subscribers_url":"https://api.github.com/repos/rsnapshot/rsnapshot/subscribers","subscription_url":"https://api.github.com/repos/rsnapshot/rsnapshot/subscription","commits_url":"https://api.github.com/repos/rsnapshot/rsnapshot/commits{/sha}","git_commits_url":"https://api.github.com/repos/rsnapshot/rsnapshot/git/commits{/sha}","comments_url":"https://api.github.com/repos/rsnapshot/rsnapshot/comments{/number}","issue_comment_url":"https://api.github.com/repos/rsnapshot/rsnapshot/issues/comments{/number}","contents_url":"https://api.github.com/repos/rsnapshot/rsnapshot/contents/{+path}","compare_url":"https://api.github.com/repos/rsnapshot/rsnapshot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rsnapshot/rsnapshot/merges","archive_url":"https://api.github.com/repos/rsnapshot/rsnapshot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rsnapshot/rsnapshot/downloads","issues_url":"https://api.github.com/repos/rsnapshot/rsnapshot/issues{/number}","pulls_url":"https://api.github.com/repos/rsnapshot/rsnapshot/pulls{/number}","milestones_url":"https://api.github.com/repos/rsnapshot/rsnapshot/milestones{/number}","notifications_url":"https://api.github.com/repos/rsnapshot/rsnapshot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rsnapshot/rsnapshot/labels{/name}","releases_url":"https://api.github.com/repos/rsnapshot/rsnapshot/releases{/id}","deployments_url":"https://api.github.com/repos/rsnapshot/rsnapshot/deployments","created_at":"2012-04-24T21:57:06Z","updated_at":"2016-09-09T21:54:04Z","pushed_at":"2016-09-14T16:13:24Z","git_url":"git://github.com/rsnapshot/rsnapshot.git","ssh_url":"git@github.com:rsnapshot/rsnapshot.git","clone_url":"https://github.com/rsnapshot/rsnapshot.git","svn_url":"https://github.com/rsnapshot/rsnapshot","homepage":"http://rsnapshot.org","size":2758,"stargazers_count":659,"watchers_count":659,"language":"Perl","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":91,"mirror_url":null,"open_issues_count":33,"forks":91,"open_issues":33,"watchers":659,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rsnapshot/rsnapshot/pulls/151"},"html":{"href":"https://github.com/rsnapshot/rsnapshot/pull/151"},"issue":{"href":"https://api.github.com/repos/rsnapshot/rsnapshot/issues/151"},"comments":{"href":"https://api.github.com/repos/rsnapshot/rsnapshot/issues/151/comments"},"review_comments":{"href":"https://api.github.com/repos/rsnapshot/rsnapshot/pulls/151/comments"},"review_comment":{"href":"https://api.github.com/repos/rsnapshot/rsnapshot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rsnapshot/rsnapshot/pulls/151/commits"},"statuses":{"href":"https://api.github.com/repos/rsnapshot/rsnapshot/statuses/8e95a175c2748f3256a6dafdc7d597a7d3023b0a"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":87,"deletions":0,"changed_files":10}}
{"actor":{"display_login":"hogarthj"}}