Examina todas tus revisiones de código con ViewVC
Para los programadores de grandes proyectos es fundamental un sistema de control de versiones para gestionar el código, pero trabajar con ficheros en un proyecto grande a partir de uno de esos programas de líneas de comandos se puede hacer tedioso para algunas personas. O peor incluso, los resultados de los comandos carecen de resaltados para ver las diferencias entre ficheros y revisiones. ViewVC es un navegador manejable de visionado de códigos que permite a los usuarios examinar el árbol de código fuente gestionado por CVS o SVN, ver los cambios, comparar revisiones a nivel de fichero o de línea y realizar otras operaciones — Casi cualquier cosa excepto permitir a los usuarios descargar los archivos o actualizarlos.
Puedes instalar ViewVC desde los repositorios de Ubuntu, Gentoo, Fedora y otras distribuciones. Si no hay un paquete disponible para tu distribución puedes descargar el código fuente. Necesitaras también instalar Apache2, Subversion o CVS, lib-apache2-mod-python, GNU diff, MySQL y para auqellos que usen CVS, CvsGraph.
En ubuntu, ViewVC se instala en /usr/lib/viewvc/ y el ejecutable principal está en /usr/lib/cgi-bin/. Para hacer que apache reconozca ViewVC, debes añadir la siguiente línea a /etc/apache2/httpd.conf:
ScriptAlias /viewvc/ /usr/lib/cgi-bin/
También deberas editar /etc/viewvc/viewvc.conf y cambiar las siguientes líneas cambiando la información que está resaltada:
svn_roots = repo1: /ruta/a/repositorio/svn #for Subversion,
repo2: /ruta/a/repositorio/otro
cvs_roots = cvs: /home/cvsroot #for CVS
address = < a href="mailto:youremail@yourservice.com" > youremail at yourservice dot com < /a >
A menos que vayas a usar SVN y CVS, comenta la línea del sistema de control de versiones que no vayas a udar. Finalmente, ejecuta el siguiente comando para reiniciar el servidor apache:
sudo /etc/init.d/apache2 restart
Para empezar a navegar sobre los repositorios configurados, abre un navegador web y escribe http://localhost/viewvc/viewvc.cgi. A partir de aquí todo es intuitivo, así que os dejo que experimentéis vosotros, pero no me quiero ir sin dejar un par de capturas de pantalla:
Visto en: http://www.linux.com/feature/154147
For programmers on big projects, a version control system for managing source code is vital, but working on files in a large project from one of these programs’ command-line interfaces is cumbersome. Worse, the results of the commands lack highlighting to show the differences between files and revisions. ViewVC is a handy browser-based code viewer that allows users to browse a source code tree managed by either CVS or Subversion, look at changes, compare revisions at the file or line level, and perform other operations — just about anything except allow users to check out or commit files.
You can install ViewVC from a repository in Ubuntu, Gentoo, Fedora, and other distributions. If there is not a package available for your distro you can download the source code. You’ll also need to install Apache2, Subversion or CVS, lib-apache2-mod-python, GNU diff, MySQL and for those using CVS, CvsGraph.
In Ubuntu, ViewVC is installed in /usr/lib/viewvc/ and the main executable is in /usr/lib/cgi-bin/. In order to make Apache recognize ViewVC, you must add the following line to /etc/apache2/httpd.conf:
ScriptAlias /viewvc/ /usr/lib/cgi-bin/
You must also edit /etc/viewvc/viewvc.conf and change the following lines by adding the highlighted information:
svn_roots = path1: /path/to/svn/repository #for Subversion,
path2: /path/to/svn/other
cvs_roots = cvs: /home/cvsroot #for CVS
address = < a href="mailto:youremail@yourservice.com" > youremail at yourservice dot com < /a >
Unless you are going to use both Subversion and CVS, comment out the line for the service that you are not using with a #. Finally, run the command sudo /etc/init.d/apache2 restart to restart Apache.
To begin browsing the repo that you configured above, open a Web browser and type enter http://localhost/viewvc/viewvc.cgi. From here everything is intuitive, soI leave you experiments with the interface, but I don’t want to go without leaving a couple of screenshots:
Look at: http://www.linux.com/feature/154147
loading...






loading...
como cambio el logo ??????????