{"action":"created","comment":{"url":"https://api.github.com/repos/JammyStuff/obs-service-repack/pulls/comments/49320594","id":49320594,"diff_hunk":"@@ -109,4 +113,13 @@ foreach my $file (@{$opt{with}}) {\n     rename($file, \"$file.list.chroot\");\n }\n \n+# disable package-lists based on names passed via --without\n+foreach my $file (@{$opt{without}}) {\n+    my $file_with_ext = join('/', \"$newdir/config/package-lists\", \"$file.list.chroot\");\n+    next if ! -e \"$file_with_ext\";\n+\n+    print STDOUT \"Disabling $file_with_ext\\n\";\n+    rename($file_with_ext, $file);","path":"repack","position":39,"original_position":39,"commit_id":"499458c1366c258bb7b0e9f3cdd89d61247664f5","original_commit_id":"499458c1366c258bb7b0e9f3cdd89d61247664f5","user":{"login":"JammyStuff","id":843061,"avatar_url":"https://avatars.githubusercontent.com/u/843061?v=3","gravatar_id":"","url":"https://api.github.com/users/JammyStuff","html_url":"https://github.com/JammyStuff","followers_url":"https://api.github.com/users/JammyStuff/followers","following_url":"https://api.github.com/users/JammyStuff/following{/other_user}","gists_url":"https://api.github.com/users/JammyStuff/gists{/gist_id}","starred_url":"https://api.github.com/users/JammyStuff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JammyStuff/subscriptions","organizations_url":"https://api.github.com/users/JammyStuff/orgs","repos_url":"https://api.github.com/users/JammyStuff/repos","events_url":"https://api.github.com/users/JammyStuff/events{/privacy}","received_events_url":"https://api.github.com/users/JammyStuff/received_events","type":"User","site_admin":false},"body":"$file isn't a full path here, right? Will the rename actually put the renamed file in the correct place?","created_at":"2016-01-11T13:32:12Z","updated_at":"2016-01-11T13:32:12Z","html_url":"https://github.com/JammyStuff/obs-service-repack/pull/5#discussion_r49320594","pull_request_url":"https://api.github.com/repos/JammyStuff/obs-service-repack/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/JammyStuff/obs-service-repack/pulls/comments/49320594"},"html":{"href":"https://github.com/JammyStuff/obs-service-repack/pull/5#discussion_r49320594"},"pull_request":{"href":"https://api.github.com/repos/JammyStuff/obs-service-repack/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/JammyStuff/obs-service-repack/pulls/5","id":55615823,"html_url":"https://github.com/JammyStuff/obs-service-repack/pull/5","diff_url":"https://github.com/JammyStuff/obs-service-repack/pull/5.diff","patch_url":"https://github.com/JammyStuff/obs-service-repack/pull/5.patch","issue_url":"https://api.github.com/repos/JammyStuff/obs-service-repack/issues/5","number":5,"state":"open","locked":false,"title":"Add without parameter and some tidying up.","user":{"login":"DStape","id":7023894,"avatar_url":"https://avatars.githubusercontent.com/u/7023894?v=3","gravatar_id":"","url":"https://api.github.com/users/DStape","html_url":"https://github.com/DStape","followers_url":"https://api.github.com/users/DStape/followers","following_url":"https://api.github.com/users/DStape/following{/other_user}","gists_url":"https://api.github.com/users/DStape/gists{/gist_id}","starred_url":"https://api.github.com/users/DStape/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DStape/subscriptions","organizations_url":"https://api.github.com/users/DStape/orgs","repos_url":"https://api.github.com/users/DStape/repos","events_url":"https://api.github.com/users/DStape/events{/privacy}","received_events_url":"https://api.github.com/users/DStape/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-01-11T12:21:19Z","updated_at":"2016-01-11T13:32:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4bd62ad1446d70d3e5bf017f599733d1039250b3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/JammyStuff/obs-service-repack/pulls/5/commits","review_comments_url":"https://api.github.com/repos/JammyStuff/obs-service-repack/pulls/5/comments","review_comment_url":"https://api.github.com/repos/JammyStuff/obs-service-repack/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JammyStuff/obs-service-repack/issues/5/comments","statuses_url":"https://api.github.com/repos/JammyStuff/obs-service-repack/statuses/499458c1366c258bb7b0e9f3cdd89d61247664f5","head":{"label":"DStape:master","ref":"master","sha":"499458c1366c258bb7b0e9f3cdd89d61247664f5","user":{"login":"DStape","id":7023894,"avatar_url":"https://avatars.githubusercontent.com/u/7023894?v=3","gravatar_id":"","url":"https://api.github.com/users/DStape","html_url":"https://github.com/DStape","followers_url":"https://api.github.com/users/DStape/followers","following_url":"https://api.github.com/users/DStape/following{/other_user}","gists_url":"https://api.github.com/users/DStape/gists{/gist_id}","starred_url":"https://api.github.com/users/DStape/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DStape/subscriptions","organizations_url":"https://api.github.com/users/DStape/orgs","repos_url":"https://api.github.com/users/DStape/repos","events_url":"https://api.github.com/users/DStape/events{/privacy}","received_events_url":"https://api.github.com/users/DStape/received_events","type":"User","site_admin":false},"repo":{"id":49420158,"name":"obs-service-repack","full_name":"DStape/obs-service-repack","owner":{"login":"DStape","id":7023894,"avatar_url":"https://avatars.githubusercontent.com/u/7023894?v=3","gravatar_id":"","url":"https://api.github.com/users/DStape","html_url":"https://github.com/DStape","followers_url":"https://api.github.com/users/DStape/followers","following_url":"https://api.github.com/users/DStape/following{/other_user}","gists_url":"https://api.github.com/users/DStape/gists{/gist_id}","starred_url":"https://api.github.com/users/DStape/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DStape/subscriptions","organizations_url":"https://api.github.com/users/DStape/orgs","repos_url":"https://api.github.com/users/DStape/repos","events_url":"https://api.github.com/users/DStape/events{/privacy}","received_events_url":"https://api.github.com/users/DStape/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DStape/obs-service-repack","description":"","fork":true,"url":"https://api.github.com/repos/DStape/obs-service-repack","forks_url":"https://api.github.com/repos/DStape/obs-service-repack/forks","keys_url":"https://api.github.com/repos/DStape/obs-service-repack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DStape/obs-service-repack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DStape/obs-service-repack/teams","hooks_url":"https://api.github.com/repos/DStape/obs-service-repack/hooks","issue_events_url":"https://api.github.com/repos/DStape/obs-service-repack/issues/events{/number}","events_url":"https://api.github.com/repos/DStape/obs-service-repack/events","assignees_url":"https://api.github.com/repos/DStape/obs-service-repack/assignees{/user}","branches_url":"https://api.github.com/repos/DStape/obs-service-repack/branches{/branch}","tags_url":"https://api.github.com/repos/DStape/obs-service-repack/tags","blobs_url":"https://api.github.com/repos/DStape/obs-service-repack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DStape/obs-service-repack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DStape/obs-service-repack/git/refs{/sha}","trees_url":"https://api.github.com/repos/DStape/obs-service-repack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DStape/obs-service-repack/statuses/{sha}","languages_url":"https://api.github.com/repos/DStape/obs-service-repack/languages","stargazers_url":"https://api.github.com/repos/DStape/obs-service-repack/stargazers","contributors_url":"https://api.github.com/repos/DStape/obs-service-repack/contributors","subscribers_url":"https://api.github.com/repos/DStape/obs-service-repack/subscribers","subscription_url":"https://api.github.com/repos/DStape/obs-service-repack/subscription","commits_url":"https://api.github.com/repos/DStape/obs-service-repack/commits{/sha}","git_commits_url":"https://api.github.com/repos/DStape/obs-service-repack/git/commits{/sha}","comments_url":"https://api.github.com/repos/DStape/obs-service-repack/comments{/number}","issue_comment_url":"https://api.github.com/repos/DStape/obs-service-repack/issues/comments{/number}","contents_url":"https://api.github.com/repos/DStape/obs-service-repack/contents/{+path}","compare_url":"https://api.github.com/repos/DStape/obs-service-repack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DStape/obs-service-repack/merges","archive_url":"https://api.github.com/repos/DStape/obs-service-repack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DStape/obs-service-repack/downloads","issues_url":"https://api.github.com/repos/DStape/obs-service-repack/issues{/number}","pulls_url":"https://api.github.com/repos/DStape/obs-service-repack/pulls{/number}","milestones_url":"https://api.github.com/repos/DStape/obs-service-repack/milestones{/number}","notifications_url":"https://api.github.com/repos/DStape/obs-service-repack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DStape/obs-service-repack/labels{/name}","releases_url":"https://api.github.com/repos/DStape/obs-service-repack/releases{/id}","created_at":"2016-01-11T10:57:08Z","updated_at":"2016-01-11T10:57:09Z","pushed_at":"2016-01-11T12:18:30Z","git_url":"git://github.com/DStape/obs-service-repack.git","ssh_url":"git@github.com:DStape/obs-service-repack.git","clone_url":"https://github.com/DStape/obs-service-repack.git","svn_url":"https://github.com/DStape/obs-service-repack","homepage":null,"size":7,"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":"JammyStuff:master","ref":"master","sha":"40acb957d5f3c7e71bdc9f4724c3f661dd7eed32","user":{"login":"JammyStuff","id":843061,"avatar_url":"https://avatars.githubusercontent.com/u/843061?v=3","gravatar_id":"","url":"https://api.github.com/users/JammyStuff","html_url":"https://github.com/JammyStuff","followers_url":"https://api.github.com/users/JammyStuff/followers","following_url":"https://api.github.com/users/JammyStuff/following{/other_user}","gists_url":"https://api.github.com/users/JammyStuff/gists{/gist_id}","starred_url":"https://api.github.com/users/JammyStuff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JammyStuff/subscriptions","organizations_url":"https://api.github.com/users/JammyStuff/orgs","repos_url":"https://api.github.com/users/JammyStuff/repos","events_url":"https://api.github.com/users/JammyStuff/events{/privacy}","received_events_url":"https://api.github.com/users/JammyStuff/received_events","type":"User","site_admin":false},"repo":{"id":43008903,"name":"obs-service-repack","full_name":"JammyStuff/obs-service-repack","owner":{"login":"JammyStuff","id":843061,"avatar_url":"https://avatars.githubusercontent.com/u/843061?v=3","gravatar_id":"","url":"https://api.github.com/users/JammyStuff","html_url":"https://github.com/JammyStuff","followers_url":"https://api.github.com/users/JammyStuff/followers","following_url":"https://api.github.com/users/JammyStuff/following{/other_user}","gists_url":"https://api.github.com/users/JammyStuff/gists{/gist_id}","starred_url":"https://api.github.com/users/JammyStuff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JammyStuff/subscriptions","organizations_url":"https://api.github.com/users/JammyStuff/orgs","repos_url":"https://api.github.com/users/JammyStuff/repos","events_url":"https://api.github.com/users/JammyStuff/events{/privacy}","received_events_url":"https://api.github.com/users/JammyStuff/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JammyStuff/obs-service-repack","description":"","fork":false,"url":"https://api.github.com/repos/JammyStuff/obs-service-repack","forks_url":"https://api.github.com/repos/JammyStuff/obs-service-repack/forks","keys_url":"https://api.github.com/repos/JammyStuff/obs-service-repack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JammyStuff/obs-service-repack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JammyStuff/obs-service-repack/teams","hooks_url":"https://api.github.com/repos/JammyStuff/obs-service-repack/hooks","issue_events_url":"https://api.github.com/repos/JammyStuff/obs-service-repack/issues/events{/number}","events_url":"https://api.github.com/repos/JammyStuff/obs-service-repack/events","assignees_url":"https://api.github.com/repos/JammyStuff/obs-service-repack/assignees{/user}","branches_url":"https://api.github.com/repos/JammyStuff/obs-service-repack/branches{/branch}","tags_url":"https://api.github.com/repos/JammyStuff/obs-service-repack/tags","blobs_url":"https://api.github.com/repos/JammyStuff/obs-service-repack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JammyStuff/obs-service-repack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JammyStuff/obs-service-repack/git/refs{/sha}","trees_url":"https://api.github.com/repos/JammyStuff/obs-service-repack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JammyStuff/obs-service-repack/statuses/{sha}","languages_url":"https://api.github.com/repos/JammyStuff/obs-service-repack/languages","stargazers_url":"https://api.github.com/repos/JammyStuff/obs-service-repack/stargazers","contributors_url":"https://api.github.com/repos/JammyStuff/obs-service-repack/contributors","subscribers_url":"https://api.github.com/repos/JammyStuff/obs-service-repack/subscribers","subscription_url":"https://api.github.com/repos/JammyStuff/obs-service-repack/subscription","commits_url":"https://api.github.com/repos/JammyStuff/obs-service-repack/commits{/sha}","git_commits_url":"https://api.github.com/repos/JammyStuff/obs-service-repack/git/commits{/sha}","comments_url":"https://api.github.com/repos/JammyStuff/obs-service-repack/comments{/number}","issue_comment_url":"https://api.github.com/repos/JammyStuff/obs-service-repack/issues/comments{/number}","contents_url":"https://api.github.com/repos/JammyStuff/obs-service-repack/contents/{+path}","compare_url":"https://api.github.com/repos/JammyStuff/obs-service-repack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JammyStuff/obs-service-repack/merges","archive_url":"https://api.github.com/repos/JammyStuff/obs-service-repack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JammyStuff/obs-service-repack/downloads","issues_url":"https://api.github.com/repos/JammyStuff/obs-service-repack/issues{/number}","pulls_url":"https://api.github.com/repos/JammyStuff/obs-service-repack/pulls{/number}","milestones_url":"https://api.github.com/repos/JammyStuff/obs-service-repack/milestones{/number}","notifications_url":"https://api.github.com/repos/JammyStuff/obs-service-repack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JammyStuff/obs-service-repack/labels{/name}","releases_url":"https://api.github.com/repos/JammyStuff/obs-service-repack/releases{/id}","created_at":"2015-09-23T15:16:21Z","updated_at":"2015-12-10T11:59:03Z","pushed_at":"2016-01-11T12:21:20Z","git_url":"git://github.com/JammyStuff/obs-service-repack.git","ssh_url":"git@github.com:JammyStuff/obs-service-repack.git","clone_url":"https://github.com/JammyStuff/obs-service-repack.git","svn_url":"https://github.com/JammyStuff/obs-service-repack","homepage":null,"size":6,"stargazers_count":0,"watchers_count":0,"language":"Perl","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JammyStuff/obs-service-repack/pulls/5"},"html":{"href":"https://github.com/JammyStuff/obs-service-repack/pull/5"},"issue":{"href":"https://api.github.com/repos/JammyStuff/obs-service-repack/issues/5"},"comments":{"href":"https://api.github.com/repos/JammyStuff/obs-service-repack/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/JammyStuff/obs-service-repack/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/JammyStuff/obs-service-repack/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JammyStuff/obs-service-repack/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/JammyStuff/obs-service-repack/statuses/499458c1366c258bb7b0e9f3cdd89d61247664f5"}}}}