Moodle

Develop feature for Moodle which enable it to run in a heavy environment including commandline installer,upgrader, profiling systems, etc.

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.8.1
  • Fix Version/s: 2.0
  • Component/s: Unknown
  • Labels:
    None
  • Environment:
    Any environment that support PHP
  • Affected Branches:
    MOODLE_18_STABLE
  • Fixed Branches:
    MOODLE_20_STABLE

Description

Help Moodle run in a heavy environment (either big Moodles or many multiple Moodles).

  • Adapt all the DB installation and upgrade scripts to run from the command line, so fully scripted installations are possible without using the web interface.
  • Develop a profiling system for developers to use when testing their code. Aim to spot and fix performance bottlenecks in Moodle with good reports and suggestions about what developers could do.

Activity

Hide
Matt Gibson added a comment -

Hi Petr,

For this upgrade script automation, would it include a way to upgrade non-core modules and plugins too? Something along the lines of an automated check for a compatible version e.g. 2.0, followed by downloading and copying the file to the right location before the main upgrade process, a bit like the language pack interface works. Or is this a totally separate issue?

Show
Matt Gibson added a comment - Hi Petr, For this upgrade script automation, would it include a way to upgrade non-core modules and plugins too? Something along the lines of an automated check for a compatible version e.g. 2.0, followed by downloading and copying the file to the right location before the main upgrade process, a bit like the language pack interface works. Or is this a totally separate issue?
Hide
Petr Škoda (skodak) added a comment -

not likely especially from command line, I would expect ppl using it to use cvs or something similar

Show
Petr Škoda (skodak) added a comment - not likely especially from command line, I would expect ppl using it to use cvs or something similar
Hide
Petr Škoda (skodak) added a comment -

Hello,
2.0dev now contains improved support for CLI scripts (install, upgrade)- see the admin/cli/ and other cli dirs in plugins. We are going to improve more CLI scripts gradually.
The profiling will be addressed in a separate issue MDL-23754.

Thanks for the issue, closing now because there are several other more detailed issues dealing with this.

Petr Skoda

Show
Petr Škoda (skodak) added a comment - Hello, 2.0dev now contains improved support for CLI scripts (install, upgrade)- see the admin/cli/ and other cli dirs in plugins. We are going to improve more CLI scripts gradually. The profiling will be addressed in a separate issue MDL-23754. Thanks for the issue, closing now because there are several other more detailed issues dealing with this. Petr Skoda

Dates

  • Created:
    Updated:
    Resolved: