How does wyUpdate decide which files have changed

Hi, I was wondering what criteria wyBuild uses to compare previous builds in order to create its update patch files? Does it compare versions, date modified or binaries? The reason I am asking this is that I want to know if files that are included in an app (i.e. project dependencies) and have been rebuilt as part of the build process, but the files themselves haven't changed, would be included in the update file that wyBuild creates. I suspect that wyBuild will be smart enough to compare the binaries and see that the file itself hasn't changed but my manager is concerned that this is not the case. As the .wyu files cannot be easily examined it's difficult to know for sure. We are using wyUpdate to deploy application updates to public sector clients over a private network where bandwidth and network traffic need to be kept to a minimum. Initial tests using a small number of clients has been very successful but once we go live we will be deploying to several thousand clients and there is a concern that this might cause some problems for the network if the update files are unnecessarily large.

I hope this isn't too dumb a question.

Thanks

This question is often asked. So often in fact that we're putting together a help article right now that explains it. This way we can just link to an article that explains it clearly all in one place. I'll link to it when we've finished it. It should be done by the end of today.

The short answer is that wyBuild compares the whole file. It completely ignores file times.

Hi Sam, any progress on the article that you were going to write about how wyBuild does the build/file comparrison?

Thanks.

No, not yet. Here's a quick version of what happens. Let's say your have 2 version and these are the files they contain:

Version 1:File AFile BFile C

Version 2:File AFile CFile D

When wyBuild creates your patches "File A" is compared and a patch is generated if there are changes (ditto for "File C"). "File B" is marked for deletion when your user installs the update. And "File D" is added as a full file.