{"action":"created","issue":{"url":"https://api.github.com/repos/OctopusDeploy/Issues/issues/1907","repository_url":"https://api.github.com/repos/OctopusDeploy/Issues","labels_url":"https://api.github.com/repos/OctopusDeploy/Issues/issues/1907/labels{/name}","comments_url":"https://api.github.com/repos/OctopusDeploy/Issues/issues/1907/comments","events_url":"https://api.github.com/repos/OctopusDeploy/Issues/issues/1907/events","html_url":"https://github.com/OctopusDeploy/Issues/issues/1907","id":101219190,"node_id":"MDU6SXNzdWUxMDEyMTkxOTA=","number":1907,"title":"Investigate using FileShare.Read when opening packages","user":{"login":"IanMercer","id":347540,"node_id":"MDQ6VXNlcjM0NzU0MA==","avatar_url":"https://avatars0.githubusercontent.com/u/347540?v=4","gravatar_id":"","url":"https://api.github.com/users/IanMercer","html_url":"https://github.com/IanMercer","followers_url":"https://api.github.com/users/IanMercer/followers","following_url":"https://api.github.com/users/IanMercer/following{/other_user}","gists_url":"https://api.github.com/users/IanMercer/gists{/gist_id}","starred_url":"https://api.github.com/users/IanMercer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IanMercer/subscriptions","organizations_url":"https://api.github.com/users/IanMercer/orgs","repos_url":"https://api.github.com/users/IanMercer/repos","events_url":"https://api.github.com/users/IanMercer/events{/privacy}","received_events_url":"https://api.github.com/users/IanMercer/received_events","type":"User","site_admin":false},"labels":[{"id":248358801,"node_id":"MDU6TGFiZWwyNDgzNTg4MDE=","url":"https://api.github.com/repos/OctopusDeploy/Issues/labels/feature/tentacle","name":"feature/tentacle","color":"0052cc","default":false},{"id":62440877,"node_id":"MDU6TGFiZWw2MjQ0MDg3Nw==","url":"https://api.github.com/repos/OctopusDeploy/Issues/labels/kind/enhancement","name":"kind/enhancement","color":"009800","default":false}],"state":"closed","locked":false,"assignee":{"login":"IanMercer","id":347540,"node_id":"MDQ6VXNlcjM0NzU0MA==","avatar_url":"https://avatars0.githubusercontent.com/u/347540?v=4","gravatar_id":"","url":"https://api.github.com/users/IanMercer","html_url":"https://github.com/IanMercer","followers_url":"https://api.github.com/users/IanMercer/followers","following_url":"https://api.github.com/users/IanMercer/following{/other_user}","gists_url":"https://api.github.com/users/IanMercer/gists{/gist_id}","starred_url":"https://api.github.com/users/IanMercer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IanMercer/subscriptions","organizations_url":"https://api.github.com/users/IanMercer/orgs","repos_url":"https://api.github.com/users/IanMercer/repos","events_url":"https://api.github.com/users/IanMercer/events{/privacy}","received_events_url":"https://api.github.com/users/IanMercer/received_events","type":"User","site_admin":false},"assignees":[{"login":"IanMercer","id":347540,"node_id":"MDQ6VXNlcjM0NzU0MA==","avatar_url":"https://avatars0.githubusercontent.com/u/347540?v=4","gravatar_id":"","url":"https://api.github.com/users/IanMercer","html_url":"https://github.com/IanMercer","followers_url":"https://api.github.com/users/IanMercer/followers","following_url":"https://api.github.com/users/IanMercer/following{/other_user}","gists_url":"https://api.github.com/users/IanMercer/gists{/gist_id}","starred_url":"https://api.github.com/users/IanMercer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IanMercer/subscriptions","organizations_url":"https://api.github.com/users/IanMercer/orgs","repos_url":"https://api.github.com/users/IanMercer/repos","events_url":"https://api.github.com/users/IanMercer/events{/privacy}","received_events_url":"https://api.github.com/users/IanMercer/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/OctopusDeploy/Issues/milestones/76","html_url":"https://github.com/OctopusDeploy/Issues/milestone/76","labels_url":"https://api.github.com/repos/OctopusDeploy/Issues/milestones/76/labels","id":1257542,"node_id":"MDk6TWlsZXN0b25lMTI1NzU0Mg==","number":76,"title":"3.0.16","description":"http://octopusdeploy.com/downloads/3.0.16","creator":{"login":"michaelnoonan","id":1627582,"node_id":"MDQ6VXNlcjE2Mjc1ODI=","avatar_url":"https://avatars1.githubusercontent.com/u/1627582?v=4","gravatar_id":"","url":"https://api.github.com/users/michaelnoonan","html_url":"https://github.com/michaelnoonan","followers_url":"https://api.github.com/users/michaelnoonan/followers","following_url":"https://api.github.com/users/michaelnoonan/following{/other_user}","gists_url":"https://api.github.com/users/michaelnoonan/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelnoonan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelnoonan/subscriptions","organizations_url":"https://api.github.com/users/michaelnoonan/orgs","repos_url":"https://api.github.com/users/michaelnoonan/repos","events_url":"https://api.github.com/users/michaelnoonan/events{/privacy}","received_events_url":"https://api.github.com/users/michaelnoonan/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":4,"state":"closed","created_at":"2015-08-17T05:46:24Z","updated_at":"2015-08-18T05:31:23Z","due_on":null,"closed_at":"2015-08-18T05:31:23Z"},"comments":2,"created_at":"2015-08-15T23:30:47Z","updated_at":"2018-11-26T21:09:17Z","closed_at":"2015-08-18T00:37:28Z","author_association":"NONE","body":"Currently we open packages without specifying the `FileShare` mode. The default is none which means that if another process (i.e. anti-virus scanner) has already opened the file the call to `Package.Open` will fail. We have had reports of deployments failing because of this, specifically in `Tentacle.Commands.ExtractCommand`.\n\nIf instead we did `using (var package = Package.Open(packageFile, FileMode.Open, FileAccess.Read, FileShare.Read))` the call might succeed despite AV software.\n"},"comment":{"url":"https://api.github.com/repos/OctopusDeploy/Issues/issues/comments/441798689","html_url":"https://github.com/OctopusDeploy/Issues/issues/1907#issuecomment-441798689","issue_url":"https://api.github.com/repos/OctopusDeploy/Issues/issues/1907","id":441798689,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTc5ODY4OQ==","user":{"login":"lock[bot]","id":33595554,"node_id":"MDM6Qm90MzM1OTU1NTQ=","avatar_url":"https://avatars1.githubusercontent.com/in/6672?v=4","gravatar_id":"","url":"https://api.github.com/users/lock%5Bbot%5D","html_url":"https://github.com/apps/lock","followers_url":"https://api.github.com/users/lock%5Bbot%5D/followers","following_url":"https://api.github.com/users/lock%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/lock%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/lock%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lock%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/lock%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/lock%5Bbot%5D/repos","events_url":"https://api.github.com/users/lock%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/lock%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-11-26T21:09:17Z","updated_at":"2018-11-26T21:09:17Z","author_association":"NONE","body":"This thread has been automatically locked since there has not been any recent activity after it was closed. If you think you've found a related issue, please contact our [support team](https://octopus.com/support) so we can triage your issue, and make sure it's handled appropriately.\n"}}
{"actor":{"display_login":"lock"}}