----- Original Message ----- > From: "顾政" <[email protected]> > To: [email protected] > Sent: Monday, January 18, 2016 11:10:54 PM > Subject: [Autotest] [Help] how to upgrade autotest > > Hi all, > I set up my autotest server environment nearly a year ago, so I want to > upgrade it to upstream or latest stable release, is there any easy way to > go? rather than re-install + migrate database? >
You probably have a version >= 0.15.0, in which the server is already implemented with Django + South: https://www.redhat.com/archives/virt-test-devel/2013-March/msg00212.html If that's the case, after you update the code itself, you can update the database schema by using South's appropriate command. Unfortunately South's documentation is now gone (it merged into Django itself), but IIRC, it's just a matter of running: $ ./frontentd/autotest-manage-rpc-server migrate If you're using the Web Frontend, then you'll also need to compile the new client: $ ./utils/compile_gwt_clients.py Hope that helps. > Looking forward to your response.:) > > Thanks, > Gu > > _______________________________________________ > Autotest-kernel mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/autotest-kernel _______________________________________________ Autotest-kernel mailing list [email protected] https://www.redhat.com/mailman/listinfo/autotest-kernel
