Pdc does not retain timestamps of files when copying them from source to pdx

I'm trying to optimize my workflow by speeding up data transfers to device using unix's rsync. See https://devforum.play.date/t/installing-pdx-files-on-hardware-from-the-command-line-with-macos/8750/3

rsync's optimization strategy of only transferring changed files is defeated by all files having their modified timestamps updated to the current time when pdc copies them from the source folder to the pdx. This includes the chunky ones that slows our transfer down, like mp3's and pdv.

Could this be fixed? This could also be used to improve the transfer speed of uploading from the simulator, where the same issue is seen.

3 Likes

@dave sorry to bother, but this one might have flown under the radar.

Even though we are supposed to test on simulator, there is a phase in development where you are going to spend more time on device. Fixing this issue would improve development quality of life massively, I think. In my limited capacity to estimate effort, this would be relatively easy to implement. Eespecially for unmodified files like json and mp3, where the copy function could be replaced by one that retains timestamps. That's why I just wanted to check whether anyone at panic had seen this post.

3 Likes

Sorry, I forgot to follow up on this! The issue's in the tracker, should be an easy fix once we find the time.

2 Likes

I would love this to be fixed! It can get a little tedious waiting about 5 minutes for data transfers, and this would massively speed up dev time.

2 Likes