← Back to team overview

mahara-contributors team mailing list archive

[Bug 605986] [NEW] Mahara does not install when codebase driven through CVS

 

Public bug reported:

The plugin detection in lib/ugrade.php does not filter properly eventual
CVS dirs that may come in the codebase when driving mahara in a CVS
handled project.

This affects essentially Windows installations.

Could be solved in check_upgrades() function adding two CVS traps in
both physical dir explorations

Example :

            while (false !== ($dir = readdir($dirhandle))) {
                if (strpos($dir, '.') === 0) {
                    continue;
                }
                if ($dir == 'CVS') {
                    continue;
                }
                if (!is_dir(get_config('docroot') . $plugin . '/' . $dir)) {
                    continue;
                }


(Mysql / Windows / all versions )

Not essential, but might bother some integrators.....

Cheers.

** Affects: mahara
     Importance: Undecided
         Status: New


** Tags: cvs

-- 
Mahara does not install when codebase driven through CVS
https://bugs.launchpad.net/bugs/605986
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.

Status in Mahara ePortfolio: New

Bug description:
The plugin detection in lib/ugrade.php does not filter properly eventual CVS dirs that may come in the codebase when driving mahara in a CVS handled project. 

This affects essentially Windows installations. 

Could be solved in check_upgrades() function adding two CVS traps in both physical dir explorations

Example : 

            while (false !== ($dir = readdir($dirhandle))) {
                if (strpos($dir, '.') === 0) {
                    continue;
                }
                if ($dir == 'CVS') {
                    continue;
                }
                if (!is_dir(get_config('docroot') . $plugin . '/' . $dir)) {
                    continue;
                }


(Mysql / Windows / all versions )

Not essential, but might bother some integrators.....

Cheers.





Follow ups

References