SCMPlugin () ; $this->name = 'scmcpold'; $this->text = 'CPOLD'; require_once $gfconfig.'plugins/scmcpold/config.php' ; $this->default_cpold_server = $default_cpold_server ; $this->enabled_by_default = $enabled_by_default ; $this->cpold_root = $cpold_root; $this->register () ; } function getBlurb () { return _('
This CPOLD plugin is only intended as a proof of concept.
') ; } function getInstructionsForAnon ($project) { $b = _('Anonymous CPOLD Access
This project\'s CPOLD repository cannot be anonymously checked out yet.
'); return $b ; } function getInstructionsForRW ($project) { $b = _('Developer CPOLD Access via SSH
Only project developers can access the CPOLD tree via this method. SSH must be installed on your client machine. Substitute developername with the proper values. Enter your site password when prompted.
'); $b .= 'scp -r '._('developername').'@' . $project->getSCMBox() . '/'. $this->cpold_root .'/'. $project->getUnixName().'/ .
' ; return $b ; } } // Local Variables: // mode: php // c-file-style: "bsd" // End: ?>