Archived

This forum has been archived. Please start a new discussion on GitHub.

why does icepatch2calc generate so many .bz2 files

when using icepatch2 server, first we must using icepatch2calc to generate the .sum file , but why does icepatch2calc copy each patching file to a new .bz2 file?

thanks!

Comments

  • matthew
    matthew NL, Canada
    The bz2 files are the cached compressed versions of the files.

    Can you please also update your project description "IceStorm" is not a project.
  • Ok, that says icepatch2 does not transfer the original files but the bz2 files?

    thanks!

    And, my personnal information updated..
  • What's more , in the patch interface discription: "The PatcherFeedback object is notified about the progress of each file and, as in the preparation stage, may abort the patch if necessary."

    Q: What does "if necessary" mean exactly?
  • matthew
    matthew NL, Canada
    walli wrote: »
    Ok, that says icepatch2 does not transfer the original files but the bz2 files?

    That is correct, the compressed files are transferred to save bandwidth. The files are pre-compressed to save CPU.
    What's more , in the patch interface discription: "The PatcherFeedback object is notified about the progress of each file and, as in the preparation stage, may abort the patch if necessary."

    Q: What does "if necessary" mean exactly?

    This means if you want the client to abort patching, you can do so by returning false from most of the methods of the patcher feedback interface.
  • ok, got it. Thank you, Matthew, very much.

    another Q: Does the Patcher :: patch method uncompressed files itself? or the client programmer is asked to do that?
  • benoit
    benoit Rennes, France
    Hi,

    You don't need to uncompress the files, it's taken care of by the Patcher class.

    Cheers,
    Benoit.