grunt-contrib-copy
grunt-contrib-copy copied to clipboard
Use grunt.file.copy preservePermissions when released
https://github.com/gruntjs/grunt/compare/7c4de95b40c3%5E...a278d5bfc46e
Isn't this the same as https://github.com/gruntjs/grunt-contrib-copy/pull/97?
@unindented It's a new option added to grunt.file.copy to preserve permissions. We implemented our own here and the implementation is a little different.
@shama What exactly is needed for this issue to go through? I might be able to work on this, so would appreciate it if someone could explain what needs to be done.
(copy for others from https://github.com/gruntjs/grunt-contrib-copy/pull/97#issuecomment-27369081 ) Hey @michaellopez backwards compatibility (current and future) is really important to us, so we really need to be careful how we publish this on npm. Grunt core supposed to get this fix but didn't. The fix is postponed to 0.4.3. You can use the temporary fix that @shama merged 2 months ago by doing:
npm install gruntjs/grunt-contrib-copy --save-dev
If you have time, you can really help us by joining the discussion here: https://github.com/gruntjs/grunt/pull/732 and helping us test this fix. (Also https://github.com/gruntjs/grunt/issues/615, but I think #732 is the one that has a link to the fixed branch) Thanks for understanding and your help!
@vladikoff So if I understand this correctly: in order for this issue to be fixed we have to make gruntjs/grunt#732 land in Grunt core? If so I will try and help out there too.
Anyone working on this? I'd call this less a feature and more a necessity, especially for deploy processes.
@dclowd9901 See the mode option of this task: https://github.com/gruntjs/grunt-contrib-copy#mode