• 
      

    Automatically call evolve during extension installation

    Review Request #1674 — Created June 18, 2010 and discarded

    Information

    Djblets
    extensions

    Reviewers

    This review relies on:
    http://reviews.reviewboard.org/r/1648/
    http://reviews.reviewboard.org/r/1633/
    
    If an extension has been updated, and the table schema has changed, we want to run django-evolution to migrate the database forward.
    
    As stated above, for this patch, I'm relying on revision 3 of http://reviews.reviewboard.org/r/1633/ .  It's still not clear how django-evolution should be changed to support this type of programmatic invocation.  This is my first go at it - let me know if you have any ideas.
    Manual.  Works just fine.
    chipx86
    1. 
        
    2. djblets/extensions/base.py (Diff revision 1)
       
       
       
      In order to prevent any possibility of collision with the django_evolution package, I'd prefer to just name this "evolution".
    3. 
        
    mike_conley
    david
    1. Just one small comment:
    2. djblets/extensions/base.py (Diff revision 2)
       
       
      Looks to me like it's not a TODO anymore.
    3. 
        
    mike_conley
    Review request changed
    Change Summary:
    Thanks for the review!  Removed TODO.
    mike_conley
    1. Patch available here: http://github.com/mikeconley/djblets/commits/rr1674_automatically_call_evolve
    2.