Jump to content

Windows/Build/subversion

From KDE Community Wiki
Revision as of 11:28, 24 March 2008 by *>Marktaff (Initial Article)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This article details how a developer can set up the Subversion command line client svn and PuTTY on MS Windows to enable write access to the KDE Subversion Repository, using your existing SSH credentials from *nix.

Install PuTTY

  • Install PuTTY
  • Put PuTTY in $PATH

Enable Existing Key

  • Transfer existing ~\.ssh\id_dsa to Windows
  • Load into PuTTY Key Generator
  • Save Private Key

Enable Pagent

  • Start Pagent
  • Add Pagent to Startup group
  • Add Key to Pagent

Configure Subversion PuTTY Tunnel

  • Open C:\Documents and Settings\<username>\Application Data\Subversion\config
  • In [Tunnels] section, add line:

putty = plink -ssh -C -i c:\path\to\id_dsa.ppk -agent <svnaccountname>@svn.kde.org

Repository Access

  • The repository can now be accessed by using the svn+putty:// tunnel, e.g.

C:\KDE4> svn co svn+putty://svn.kde.org/home/kde/trunk/kdesupport/emerge