{"action":"opened","number":41,"pull_request":{"url":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/pulls/41","id":74864987,"html_url":"https://github.com/kevinohara80/grunt-ant-sfdc/pull/41","diff_url":"https://github.com/kevinohara80/grunt-ant-sfdc/pull/41.diff","patch_url":"https://github.com/kevinohara80/grunt-ant-sfdc/pull/41.patch","issue_url":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/issues/41","number":41,"state":"open","locked":false,"title":"Fix antdestroy task incorrectly generating xml files","user":{"login":"nathanKramer","id":4732403,"avatar_url":"https://avatars.githubusercontent.com/u/4732403?v=3","gravatar_id":"","url":"https://api.github.com/users/nathanKramer","html_url":"https://github.com/nathanKramer","followers_url":"https://api.github.com/users/nathanKramer/followers","following_url":"https://api.github.com/users/nathanKramer/following{/other_user}","gists_url":"https://api.github.com/users/nathanKramer/gists{/gist_id}","starred_url":"https://api.github.com/users/nathanKramer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathanKramer/subscriptions","organizations_url":"https://api.github.com/users/nathanKramer/orgs","repos_url":"https://api.github.com/users/nathanKramer/repos","events_url":"https://api.github.com/users/nathanKramer/events{/privacy}","received_events_url":"https://api.github.com/users/nathanKramer/received_events","type":"User","site_admin":false},"body":"The calls to `buildPackageXml` incorrectly passed the apiVersion as the second parameter, rather than the third parameter.\r\nThe generated `package.xml` also should have been empty, otherwise SFDC does a redundant deploy of those files before deleting them.\r\n\r\nI have also added support for `ignoreWarnings`, which improves the behaviour of `antdestroy`, so that subsequent destructive deployments can list metadata that has already been deleted in the target org without the deploy failing.\r\nThis is helpful for when destructive changes are checked in to version control or are otherwise being incremented on.","created_at":"2016-06-22T21:57:58Z","updated_at":"2016-06-22T21:57:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/pulls/41/commits","review_comments_url":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/pulls/41/comments","review_comment_url":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/issues/41/comments","statuses_url":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/statuses/c578f2354b1347b6ccfcd4130296d910e2d6d674","head":{"label":"nathanKramer:fix/antdestroy-task-incorrectly-generating-xml-files","ref":"fix/antdestroy-task-incorrectly-generating-xml-files","sha":"c578f2354b1347b6ccfcd4130296d910e2d6d674","user":{"login":"nathanKramer","id":4732403,"avatar_url":"https://avatars.githubusercontent.com/u/4732403?v=3","gravatar_id":"","url":"https://api.github.com/users/nathanKramer","html_url":"https://github.com/nathanKramer","followers_url":"https://api.github.com/users/nathanKramer/followers","following_url":"https://api.github.com/users/nathanKramer/following{/other_user}","gists_url":"https://api.github.com/users/nathanKramer/gists{/gist_id}","starred_url":"https://api.github.com/users/nathanKramer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathanKramer/subscriptions","organizations_url":"https://api.github.com/users/nathanKramer/orgs","repos_url":"https://api.github.com/users/nathanKramer/repos","events_url":"https://api.github.com/users/nathanKramer/events{/privacy}","received_events_url":"https://api.github.com/users/nathanKramer/received_events","type":"User","site_admin":false},"repo":{"id":61752681,"name":"grunt-ant-sfdc","full_name":"nathanKramer/grunt-ant-sfdc","owner":{"login":"nathanKramer","id":4732403,"avatar_url":"https://avatars.githubusercontent.com/u/4732403?v=3","gravatar_id":"","url":"https://api.github.com/users/nathanKramer","html_url":"https://github.com/nathanKramer","followers_url":"https://api.github.com/users/nathanKramer/followers","following_url":"https://api.github.com/users/nathanKramer/following{/other_user}","gists_url":"https://api.github.com/users/nathanKramer/gists{/gist_id}","starred_url":"https://api.github.com/users/nathanKramer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathanKramer/subscriptions","organizations_url":"https://api.github.com/users/nathanKramer/orgs","repos_url":"https://api.github.com/users/nathanKramer/repos","events_url":"https://api.github.com/users/nathanKramer/events{/privacy}","received_events_url":"https://api.github.com/users/nathanKramer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nathanKramer/grunt-ant-sfdc","description":"Add salesforce and force.com ANT tasks to your grunt builds","fork":true,"url":"https://api.github.com/repos/nathanKramer/grunt-ant-sfdc","forks_url":"https://api.github.com/repos/nathanKramer/grunt-ant-sfdc/forks","keys_url":"https://api.github.com/repos/nathanKramer/grunt-ant-sfdc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nathanKramer/grunt-ant-sfdc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nathanKramer/grunt-ant-sfdc/teams","hooks_url":"https://api.github.com/repos/nathanKramer/grunt-ant-sfdc/hooks","issue_events_url":"https://api.github.com/repos/nathanKramer/grunt-ant-sfdc/issues/events{/number}","events_url":"https://api.github.com/repos/nathanKramer/grunt-ant-sfdc/events","assignees_url":"https://api.github.com/repos/nathanKramer/grunt-ant-sfdc/assignees{/user}","branches_url":"https://api.github.com/repos/nathanKramer/grunt-ant-sfdc/branches{/branch}","tags_url":"https://api.github.com/repos/nathanKramer/grunt-ant-sfdc/tags","blobs_url":"https://api.github.com/repos/nathanKramer/grunt-ant-sfdc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nathanKramer/grunt-ant-sfdc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nathanKramer/grunt-ant-sfdc/git/refs{/sha}","trees_url":"https://api.github.com/repos/nathanKramer/grunt-ant-sfdc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nathanKramer/grunt-ant-sfdc/statuses/{sha}","languages_url":"https://api.github.com/repos/nathanKramer/grunt-ant-sfdc/languages","stargazers_url":"https://api.github.com/repos/nathanKramer/grunt-ant-sfdc/stargazers","contributors_url":"https://api.github.com/repos/nathanKramer/grunt-ant-sfdc/contributors","subscribers_url":"https://api.github.com/repos/nathanKramer/grunt-ant-sfdc/subscribers","subscription_url":"https://api.github.com/repos/nathanKramer/grunt-ant-sfdc/subscription","commits_url":"https://api.github.com/repos/nathanKramer/grunt-ant-sfdc/commits{/sha}","git_commits_url":"https://api.github.com/repos/nathanKramer/grunt-ant-sfdc/git/commits{/sha}","comments_url":"https://api.github.com/repos/nathanKramer/grunt-ant-sfdc/comments{/number}","issue_comment_url":"https://api.github.com/repos/nathanKramer/grunt-ant-sfdc/issues/comments{/number}","contents_url":"https://api.github.com/repos/nathanKramer/grunt-ant-sfdc/contents/{+path}","compare_url":"https://api.github.com/repos/nathanKramer/grunt-ant-sfdc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nathanKramer/grunt-ant-sfdc/merges","archive_url":"https://api.github.com/repos/nathanKramer/grunt-ant-sfdc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nathanKramer/grunt-ant-sfdc/downloads","issues_url":"https://api.github.com/repos/nathanKramer/grunt-ant-sfdc/issues{/number}","pulls_url":"https://api.github.com/repos/nathanKramer/grunt-ant-sfdc/pulls{/number}","milestones_url":"https://api.github.com/repos/nathanKramer/grunt-ant-sfdc/milestones{/number}","notifications_url":"https://api.github.com/repos/nathanKramer/grunt-ant-sfdc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nathanKramer/grunt-ant-sfdc/labels{/name}","releases_url":"https://api.github.com/repos/nathanKramer/grunt-ant-sfdc/releases{/id}","deployments_url":"https://api.github.com/repos/nathanKramer/grunt-ant-sfdc/deployments","created_at":"2016-06-22T21:28:19Z","updated_at":"2016-06-22T21:28:20Z","pushed_at":"2016-06-22T21:53:28Z","git_url":"git://github.com/nathanKramer/grunt-ant-sfdc.git","ssh_url":"git@github.com:nathanKramer/grunt-ant-sfdc.git","clone_url":"https://github.com/nathanKramer/grunt-ant-sfdc.git","svn_url":"https://github.com/nathanKramer/grunt-ant-sfdc","homepage":"","size":6859,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"kevinohara80:master","ref":"master","sha":"e70090325f169e7dea8b06000277c845b350efa2","user":{"login":"kevinohara80","id":565312,"avatar_url":"https://avatars.githubusercontent.com/u/565312?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinohara80","html_url":"https://github.com/kevinohara80","followers_url":"https://api.github.com/users/kevinohara80/followers","following_url":"https://api.github.com/users/kevinohara80/following{/other_user}","gists_url":"https://api.github.com/users/kevinohara80/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinohara80/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinohara80/subscriptions","organizations_url":"https://api.github.com/users/kevinohara80/orgs","repos_url":"https://api.github.com/users/kevinohara80/repos","events_url":"https://api.github.com/users/kevinohara80/events{/privacy}","received_events_url":"https://api.github.com/users/kevinohara80/received_events","type":"User","site_admin":false},"repo":{"id":8315517,"name":"grunt-ant-sfdc","full_name":"kevinohara80/grunt-ant-sfdc","owner":{"login":"kevinohara80","id":565312,"avatar_url":"https://avatars.githubusercontent.com/u/565312?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinohara80","html_url":"https://github.com/kevinohara80","followers_url":"https://api.github.com/users/kevinohara80/followers","following_url":"https://api.github.com/users/kevinohara80/following{/other_user}","gists_url":"https://api.github.com/users/kevinohara80/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinohara80/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinohara80/subscriptions","organizations_url":"https://api.github.com/users/kevinohara80/orgs","repos_url":"https://api.github.com/users/kevinohara80/repos","events_url":"https://api.github.com/users/kevinohara80/events{/privacy}","received_events_url":"https://api.github.com/users/kevinohara80/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kevinohara80/grunt-ant-sfdc","description":"Add salesforce and force.com ANT tasks to your grunt builds","fork":false,"url":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc","forks_url":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/forks","keys_url":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/teams","hooks_url":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/hooks","issue_events_url":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/issues/events{/number}","events_url":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/events","assignees_url":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/assignees{/user}","branches_url":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/branches{/branch}","tags_url":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/tags","blobs_url":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/git/refs{/sha}","trees_url":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/statuses/{sha}","languages_url":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/languages","stargazers_url":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/stargazers","contributors_url":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/contributors","subscribers_url":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/subscribers","subscription_url":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/subscription","commits_url":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/commits{/sha}","git_commits_url":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/git/commits{/sha}","comments_url":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/comments{/number}","issue_comment_url":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/issues/comments{/number}","contents_url":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/contents/{+path}","compare_url":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/merges","archive_url":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/downloads","issues_url":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/issues{/number}","pulls_url":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/pulls{/number}","milestones_url":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/milestones{/number}","notifications_url":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/labels{/name}","releases_url":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/releases{/id}","deployments_url":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/deployments","created_at":"2013-02-20T15:11:25Z","updated_at":"2016-06-02T22:47:52Z","pushed_at":"2016-06-22T21:57:58Z","git_url":"git://github.com/kevinohara80/grunt-ant-sfdc.git","ssh_url":"git@github.com:kevinohara80/grunt-ant-sfdc.git","clone_url":"https://github.com/kevinohara80/grunt-ant-sfdc.git","svn_url":"https://github.com/kevinohara80/grunt-ant-sfdc","homepage":"","size":6859,"stargazers_count":42,"watchers_count":42,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":31,"mirror_url":null,"open_issues_count":7,"forks":31,"open_issues":7,"watchers":42,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/pulls/41"},"html":{"href":"https://github.com/kevinohara80/grunt-ant-sfdc/pull/41"},"issue":{"href":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/issues/41"},"comments":{"href":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/issues/41/comments"},"review_comments":{"href":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/pulls/41/comments"},"review_comment":{"href":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/pulls/41/commits"},"statuses":{"href":"https://api.github.com/repos/kevinohara80/grunt-ant-sfdc/statuses/c578f2354b1347b6ccfcd4130296d910e2d6d674"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":7,"deletions":5,"changed_files":2}}
{"actor":{"display_login":"nathanKramer"}}