by Sam » March 30th, 2012, 7:59 am
Btw, is there a guide on your site that details the exact data flow that happens when installing a patch? I'm not clear on how and when files get deleted. Let me know where it is located if I overlooked it.
We imply the behavior, but we don't have a diagram that explicitly explains how wyBuild compares versions and generates patches. We're going to make this.
In the meantime, here's the Reader's Digest version of how wyBuild compares your versions. Firstly you should add all your files and folders to every version in wyBuild. Then, when you click "Build Updates" this is how wyBuild decides which files to add as a full file, which files to delete, and which files to generate a patch for.
- If a file/folder exists in an old version but doesn't exist in the latest version then wyBuild sees that to mean "delete the file/folder upon installation of the update".
- If a file exists in both the old version and the latest version then wyBuild compares the files byte-by-byte to generate the smallest possible patch.
- If a file exists only in the lates version then wyBuild includes the file as a whole file.
Does that clarify things?
[quote]Btw, is there a guide on your site that details the exact data flow that happens when installing a patch? I'm not clear on how and when files get deleted. Let me know where it is located if I overlooked it.[/quote]
We imply the behavior, but we don't have a diagram that explicitly explains how wyBuild compares versions and generates patches. We're going to make this.
In the meantime, here's the Reader's Digest version of how wyBuild compares your versions. Firstly you should add all your files and folders to every version in wyBuild. Then, when you click "Build Updates" this is how wyBuild decides which files to add as a full file, which files to delete, and which files to generate a patch for.
[list]
[*]If a file/folder exists in an old version but doesn't exist in the latest version then wyBuild sees that to mean "delete the file/folder upon installation of the update".
[*]If a file exists in both the old version and the latest version then wyBuild compares the files byte-by-byte to generate the smallest possible patch.
[*]If a file exists only in the lates version then wyBuild includes the file as a whole file.[/list]
Does that clarify things?