[Fusionforge-commits] r7982 - trunk/gforge/plugins/scmcpold/common

Roland Mas lolando at libremir.placard.fr.eu.org
Thu Aug 27 15:39:29 CEST 2009


Author: lolando
Date: 2009-08-27 15:39:29 +0200 (Thu, 27 Aug 2009)
New Revision: 7982

Modified:
   trunk/gforge/plugins/scmcpold/common/CpoldPlugin.class.php
Log:
One more method for cpold

Modified: trunk/gforge/plugins/scmcpold/common/CpoldPlugin.class.php
===================================================================
--- trunk/gforge/plugins/scmcpold/common/CpoldPlugin.class.php	2009-08-27 13:39:20 UTC (rev 7981)
+++ trunk/gforge/plugins/scmcpold/common/CpoldPlugin.class.php	2009-08-27 13:39:29 UTC (rev 7982)
@@ -37,6 +37,10 @@
 		$this->register () ;
 	}
 	
+	function getDefaultServer() {
+		return $this->default_cpold_server ;
+	}
+
 	function getBlurb () {
 		return _('<p>This CPOLD plugin is only intended as a proof of concept.</p>') ;
 	}
@@ -48,7 +52,7 @@
 
 	function getInstructionsForRW ($project) {
 		$b = _('<p><b>Developer CPOLD Access via SSH</b></p><p>Only project developers can access the CPOLD tree via this method. SSH must be installed on your client machine. Substitute <i>developername</i> with the proper values. Enter your site password when prompted.</p>');
-		$b .= '<p><tt>scp -r <i>'._('developername').'</i>@' . $project->getSCMBox() . '/'. $this->cpold_root .'/'. $project->getUnixName().'/ .</tt></p>' ;
+		$b .= '<p><tt>scp -r <i>'._('developername').'</i>@' . $project->getSCMBox() . '/'. $this->cpold_root .':'. $project->getUnixName().'/ .</tt></p>' ;
 		return $b ;
 	}
 




More information about the Fusionforge-commits mailing list