• 
      

    Mark dumpdb and loaddb as deprecated.

    Review Request #11592 — Created April 12, 2021 and submitted

    Information

    Review Board
    release-3.0.x

    Reviewers

    The dumpdb and loaddb commands have reached their limit in terms of
    usefulness. While they could be helpful in limited situations, they
    won't be compatible with Review Board 4.0+, primarily because the data
    generated (by Django) won't at all be compatible with Django > 1.6.

    In practice, there have always been issues with dumping data on one
    version of Review Board and loading it on another, due to the
    possibilities of database schema changes, which these tools cannot
    address. Because of this, along with other hard-to-solve problems that
    manifested under Review Board 4.0, we're going to be removing these
    tools entirely, suggesting that people instead use the database's native
    tools for moving databases.

    Power Pack will soon be providing a more future-proof way of handling
    database dumps, so we have a successor coming soon.

    This change marks these tools as deprecated in the help output, and
    explains the situation when running either tool.

    Ran both commands, ensuring they work and display the appropriate notice.

    Summary ID
    Mark dumpdb and loaddb as deprecated.
    The `dumpdb` and `loaddb` commands have reached their limit in terms of usefulness. While they could be helpful in limited situations, they won't be compatible with Review Board 4.0+, primarily because the data generated (by Django) won't at all be compatible with Django > 1.6. In practice, there have always been issues with dumping data on one version of Review Board and loading it on another, due to the possibilities of database schema changes, which these tools cannot address. Because of this, along with other hard-to-solve problems that manifested under Review Board 4.0, we're going to be removing these tools entirely, suggesting that people instead use the database's native tools for moving databases. Power Pack will soon be providing a more future-proof way of handling database dumps, so we have a successor coming soon. This change marks these tools as deprecated in the help output, and explains the situation when running either tool.
    40792f02dbd71700678c32585698edcd947c91c9
    david
    1. Ship It!
    2. 
        
    chipx86
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-3.0.x (75f1d06)