vscode-azurestorage icon indicating copy to clipboard operation
vscode-azurestorage copied to clipboard

Smart delete/sync on deploy

Open fiveisprime opened this issue 6 years ago • 6 comments

Rather than deleting all files on deploy, could the extension be smarter about what files need to be replaced or even leverage some functionality similar to the az blob sync?

Related: https://twitter.com/kdawg02/status/1136698402744524800

fiveisprime avatar Jun 06 '19 19:06 fiveisprime

I think this is the same as #213

anthonychu avatar Jun 06 '19 20:06 anthonychu

Nice catch, deleted the older one so it gets triaged today

fiveisprime avatar Jun 06 '19 20:06 fiveisprime

Should consider utilizing the multi-platform azcopy or az functionality directly.

StephenWeatherford avatar Jun 06 '19 20:06 StephenWeatherford

azcopy sync should be what we want here. Sync is not currently included in https://www.npmjs.com/package/@azure-tools/azcopy-node though, something we can bring up in the AzCopy wrapper meeting

wwlorey avatar Oct 14 '20 18:10 wwlorey

~~sync is now included in the azcopy-node so this is possible. We can investigate using it to improve deploying static sites.~~

edit: I was wrong

alexweininger avatar Aug 10 '22 22:08 alexweininger

While this would be a good feature, it depends on the @azure-tools/azcopy-node package including the sync command. We could theoretically make this PR ourselves, but putting it in tracking until we plan to take up that work.

nturinski avatar Aug 17 '22 18:08 nturinski