sábado, 11 de octubre de 2008

scm: Crear un repositorio en Google Code

Crear un directorio temporal y alli otro con el nombre del repositorio. Ejecute los siguientes comandos:
$> mkdir tmpdir
$> cd tmpdir
$> mkdir Project

Luego importar el repositorio a SVN en Google Code:
$>svn import Project https://project.googlecode.com/svn -m "Model for the Project" --username [google-username]

Podra observar el siguiente mensaje de advertencia:

Error validating server certificate for 'https://project.googlecode.com:443':
- The certificate is not issued by a trusted authority. Use the fingerprint to validate the certificate manually!
Certificate information:
- Hostname: googlecode.com
- Valid: from Wed, 28 May 2008 18:48:13 GMT until Mon, 21 Jun 2010 16:09:43 GMT
- Issuer: Certification Services Division, Thawte Consulting cc, Cape Town, Western Cape, ZA
- Fingerprint: b1:3a:d5:38:56:27:52:9f:ba:6c:70:1e:a9:ab:4a:1a:8b:da:ff:ec

Tendra la opcion de aceptar o no el certificado:

(R)eject, accept (t)emporarily or accept (p)ermanently?

Si obtiene el siguiente error, vuelva a intentar ejecutar el comando:

tsvn: PROPFIND request failed on '/svn'
svn: PROPFIND of '/svn': Could not read status line: Secure connection truncated (https://project.googlecode.com)

Frente a un resultado exitoso, en el cual se concreta el agregado del repositorio a SVN, podra observar el siguiente mensaje:

Adding C:\tmpdir\Project
Committed revision 2.

Vinculos:

No hay comentarios.: