Results 1 to 3 of 3

Thread: How does Sorcerer do tarball patches?

  1. #1
    Join Date
    Mar 2012
    Beans
    48

    How does Sorcerer do tarball patches?

    Sorcerer is a source-based distribution

    Quoted from the Wikipedia article:
    When a new source is required and an older source was previously downloaded, then Sorcerer will download a tiny patch that transforms the old source tarball into a current source tarball.
    I am just curious how this is possible. Sorcerer's website also mentions that it downloads source code straight from the source.

    I get the impression that somehow a diff is generated over the internet without having to download the whole thing all over again. Having someone generate the diff would be impractical because the version of the old source is unknown. You would have to store diffs for updating 0.1 to 1.0, 0.2 to 1.0, etc.

    So, is something like this (generate a diff of two files, one local, one remote) possible? And how would it be done?

  2. #2
    Join Date
    Dec 2008
    Location
    43° 7' 41" 131° 54' 3"
    Beans
    Hidden!

    Re: How does Sorcerer do tarball patches?

    Here's a link for....what I think....is a terrific insight into this OS. I hope it helps.
    EasyBCD.
    PrintersDatabase
    Boot Info Script: How to
    The post above and the post below suffer from the Rashomon effect!

  3. #3
    Join Date
    Mar 2012
    Beans
    48

    Re: How does Sorcerer do tarball patches?

    The article didn't have the answer I was looking for, but it did mention xdelta, which led me to a comparison of diff algorithms, which led me to this Ph.D. thesis which describes the rsync algorithm (page 49).

    Close enough.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •