grunt-cloudfiles icon indicating copy to clipboard operation
grunt-cloudfiles copied to clipboard

upload.dest setting causes all uploads to be considered (NEW)

Open azhang opened this issue 11 years ago • 6 comments

when upload.dest = '/', it works as expected and only new files are uploaded. I changed it to upload.dest='assets/', and now it uploads every file as (NEW).

azhang avatar Nov 05 '13 21:11 azhang

I definitely need to get some tests in around this code. It's on my list of things to do, hopefully it happens here soon.

My first hunch is to try putting in a leading slash so upload.dest='/assets/' , it didn't use to require it, but last time I used this was before we moved to pkgcloud.

I'll see what I can dig up.

rtgibbons avatar Nov 12 '13 05:11 rtgibbons

I just tried '/assets/' and unfortunately, everything still says (NEW).

azhang avatar Nov 12 '13 18:11 azhang

Fun, I didn't see anything obvious in the code, and I know this use to work. I'll try to dig into in the next day or two.

rtgibbons avatar Nov 12 '13 19:11 rtgibbons

Thanks so much! I'l look into it as well.

azhang avatar Nov 13 '13 20:11 azhang

Thanks to you @rtgibbons, this issue helped me to quickly understand why everything was always uploading as (NEW). Is there any update on this issue? Should I try to help you guys?

nrako avatar Dec 12 '13 15:12 nrako

any help is appreciated. My time is sped so thin right now at work, i haven't had time to work on these outstanding issues.

Any help that is accompanied any type of unit tests would be even cooler.

rtgibbons avatar Dec 12 '13 23:12 rtgibbons