moodle/admin/tool/qeupgradehelper
2013-11-05 02:36:00 +01:00
..
cli MDL-32443 queupgradehelper cli: fix path & whitespace 2012-04-16 13:22:53 +08:00
db MDL-30610 remove outdated admin tool upgrade code 2011-12-23 10:38:12 +01:00
lang/en MDL-32039 qeupgradehelper: fix typos in the lang strings 2012-03-29 21:20:04 +01:00
afterupgradelib.php
convertquiz.php MDL-34455 Libraries: Replaced deprecated get_context_instance() 2012-07-23 14:33:02 +08:00
cronsetup.php MDL-34455 Libraries: Replaced deprecated get_context_instance() 2012-07-23 14:33:02 +08:00
cronsetup_form.php MDL-38851 Administration: Fixed setType in admin section 2013-04-19 15:18:33 +08:00
extracttestcase.php MDL-34455 Libraries: Replaced deprecated get_context_instance() 2012-07-23 14:33:02 +08:00
extracttestcase_form.php MDL-40220 use new core_component::get_plugin_list() 2013-07-16 22:36:11 +02:00
index.php MDL-34455 Libraries: Replaced deprecated get_context_instance() 2012-07-23 14:33:02 +08:00
lib.php
listpreupgrade.php MDL-34455 Libraries: Replaced deprecated get_context_instance() 2012-07-23 14:33:02 +08:00
listtodo.php MDL-34455 Libraries: Replaced deprecated get_context_instance() 2012-07-23 14:33:02 +08:00
listupgraded.php MDL-34455 Libraries: Replaced deprecated get_context_instance() 2012-07-23 14:33:02 +08:00
locallib.php MDL-42105 questions: let attempts have a max fraction > 1. 2013-10-04 17:52:19 +01:00
partialupgrade-example.php
README.txt MDL-32443 qeupgradehelper: Add cli tool to execute qeupgrade helper 2012-04-16 13:16:17 +08:00
renderer.php
resetquiz.php MDL-34455 Libraries: Replaced deprecated get_context_instance() 2012-07-23 14:33:02 +08:00
settings.php
styles.css
version.php MDL-42701 Bump all versions near 2.6 release 2013-11-05 02:36:00 +01:00

This plugin can help upgrade site with a large number of question attempts from
Moodle 2.0 to 2.1.

With a lot of question attempts, doing the whole conversion on upgrade is very
slow. The plugin can help with that in various ways.


1. It provides a report of how much data there is to upgrade.

2. It can extract test-cases from the database. This can help you report bugs
in the upgrade process to the developers.

3. You can set up cron to complete the conversion of quiz attempts, if you have
configured a partial upgrade.


If this plugin is present during upgrade:

4. then only a subset of attempts are upgraded. Read the instructions in the
partialupgrade-example.php script.


If this plugin is present in a Moodle 2.1 site after upgrade:

5. If not all attempts have been upgraded in a 2.1 site, then this plugin
displays a list of how many quizzes still need to be upgraded

6. ... and can be used to complete the upgrade manually ...

7. or this plugin has a cron script that can be used to finish the upgrade
automatically after the main upgrade has finished.

8. It can also reset any attempts that were upgraded (provided they have not
subsequently been modified) so you can re-upgrade them. This may allow you to
recover from a buggy upgrade.

9. Finally, you can still use the extract test-cases script to help report bugs.


Manual upgrades can be processed via the web interface or the command line tool
cliupgrade.php. To run cliupgrade.php, use a command similar to:
sudo -u www-data /usr/bin/php admin/tool/qeupgradehelper/cli/convert.php -h
The -h flag will show the options for running the tool.