Menu

#31 Convert Database to Diffable Format

open
nobody
None
5
2004-03-16
2004-03-16
Luke-Jr
No

This patch modifies LambdaMOO (patched with db_options) to
convert a normal database file to a readable, diff-able format.
An example use would be to compare changes made between an
old and new core to patch an existing MOO based on the old one.
The convertor will *only* write to files ending with .moo, to
prevent accidental overwriting of the real database (which will
usually end with .db or .db.new).

Discussion

  • Luke-Jr

    Luke-Jr - 2004-03-16

    Logged In: YES
    user_id=25634

    The patch is missing the one new file. Will add soon. (I deleted the
    development dir after making the patch, so I may need to rewrite it)

     
  • Luke-Jr

    Luke-Jr - 2004-03-17

    diff_database_conversion for LambdaMOO 1.8.1 w/ db_options

     
  • Luke-Jr

    Luke-Jr - 2004-03-17

    Logged In: YES
    user_id=25634

    Fixed and made a new patch including the missing file (which I had to
    rewrite).
    I also added a bit not in the original:
    - Output is more diff-friendly, using player names when possible and
    reducing objid references (since obj #s often change in core releases)
    - diff-db script to automaticly convert two databases and run diff on
    them. Syntax: diff-db one.db two.db [diff-options]
    - diff-db will remove object_size properties since they will often change
    without anyone caring

     
  • Luke-Jr

    Luke-Jr - 2004-03-17

    diff_database_conversion for GammaMOO 1.8.1g2 w/ db_options

     
  • Luke-Jr

    Luke-Jr - 2004-03-17

    Logged In: YES
    user_id=25634

    Another version of the patch. This one is designed for GammaMOO, but
    might apply to other patched-up MOOs. Either way, both of them
    together should be a good reference for someone wanting to port it to
    their patched server.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.