Reports: Core Patchs

report_patches
Maintained by Picture of Valery Fremaux Valery Fremaux
Scans the whole code base and searches marked patches in Moodle code.

Core Patchs 2.2.0 (build 2012062800)

Release notes

Patch Report is a special report dedicated to Moodle integrators that want to
track and maintain core patchs for customers, and facilitate global upgrade of patched
codebases.

The report scans the whole code base for special markers that will tag patch start
and patch end in core code.

It will display all patch reference and locations.

Install
#######

just unzip in the /admin/report directory of your Moodle installation

Settings
########

Patch Start Mark
Patch end mark
File patterns to exclude

How to operate
##############

The Patch Report works :

- if patches are properly tagged with a parsable start and end mark (defaults to "// PATCH : some reason" and "// /PATCH")
- if marks are properly setup as RegExps in settings.

When this setup is fine, go to the report and hit the "scan" button at the end of the page. Note that this scan can take some
...... time.

Patchs will be listed with :

- File name
- Start line
- End line
- Purpose (reason)

And will be sortable by reason (interesting to be consistant here therefore !) or by source file.
Note that contributed code and non-core code will also be scanned.
Moodle 2.2, 2.3

Version information

Version build number
2012062800
Version release name
2.2.0 (build 2012062800)
Maturity
Release candidate
MD5 Sum
1577429640e9aa1b6f5d4438d4a6c993
Supported software
PHP 5.3, Moodle 2.2, Moodle 2.3
  • This is the latest release for Moodle 2.2
  • This is the latest release for Moodle 2.3

Version control information

Version control system (VCS)
GIT
VCS repository URL
VCS branch
master

Default installation instructions for plugins of the type Reports

  1. Make sure you have all the required versions.
  2. Download and unpack the module.
  3. Place the folder (eg "myreport") in the "report" subdirectory.
  4. Visit http://yoursite.com/admin to finish the installation