hgbook

changeset 465:aa6036a9688e

translated up to almost the end of the "integration with bugzilla" section. upgraded project status
author Javier Rojas <jerojasro@devnull.li>
date Wed Dec 24 08:06:54 2008 -0500 (2008-12-24)
parents 951bf84ca8e2
children e0da346e4681
files es/Leame.1st es/hook.tex
line diff
     1.1 --- a/es/Leame.1st	Tue Dec 23 18:57:35 2008 -0500
     1.2 +++ b/es/Leame.1st	Wed Dec 24 08:06:54 2008 -0500
     1.3 @@ -105,7 +105,7 @@
     1.4  || intro.tex       || Igor Támara   ||	  100%	  || 08/11/2008	||  09/11/2008 ||
     1.5  || collab.tex      || Igor Támara   ||    100%    || 10/11/2008 ||  06/12/2008 ||
     1.6  || filenames.tex   || Javier Rojas  ||     72%    || 27/11/2008 ||             ||
     1.7 -|| hook.tex        || Javier Rojas  ||     26%    || 01/12/2008 ||             ||
     1.8 +|| hook.tex        || Javier Rojas  ||     48%    || 01/12/2008 ||             ||
     1.9  || mq.tex          || Igor Támara   ||    100%    || 06/12/2008 ||  13/12/2008 ||
    1.10  || hgext.tex       || Igor Támara   ||    100%    || 13/12/2008 ||  16/12/2008 ||
    1.11  || template.tex    || Igor Támara   ||            ||            ||             ||
     2.1 --- a/es/hook.tex	Tue Dec 23 18:57:35 2008 -0500
     2.2 +++ b/es/hook.tex	Wed Dec 24 08:06:54 2008 -0500
     2.3 @@ -671,30 +671,32 @@
     2.4    fuentes/sensitivo/** = practicante
     2.5  \end{codesample2}
     2.6  
     2.7 -\subsubsection{Testing and troubleshooting}
     2.8 -
     2.9 -If you want to test the \hgext{acl} hook, run it with Mercurial's
    2.10 -debugging output enabled.  Since you'll probably be running it on a
    2.11 -server where it's not convenient (or sometimes possible) to pass in
    2.12 -the \hggopt{--debug} option, don't forget that you can enable
    2.13 -debugging output in your \hgrc:
    2.14 +\subsubsection{Pruebas y resolución de problemas}
    2.15 +
    2.16 +Si usted desea probar el gancho \hgext{acl}, ejecútelo habilitando la
    2.17 +opción de salida de depuración habilitada. Ya que usted probablemente
    2.18 +lo estará ejecutando en un servidor donde no es conveniente (o incluso
    2.19 +posible) pasar la opción \hggopt{--debug}, no olvide que usted puede
    2.20 +habilitar la salida de depuración en su \hgrc:
    2.21  \begin{codesample2}
    2.22    [ui]
    2.23    debug = true
    2.24  \end{codesample2}
    2.25 -With this enabled, the \hgext{acl} hook will print enough information
    2.26 -to let you figure out why it is allowing or forbidding pushes from
    2.27 -specific users.
    2.28 -
    2.29 -\subsection{\hgext{bugzilla}---integration with Bugzilla}
    2.30 -
    2.31 -The \hgext{bugzilla} extension adds a comment to a Bugzilla bug
    2.32 -whenever it finds a reference to that bug ID in a commit comment.  You
    2.33 -can install this hook on a shared server, so that any time a remote
    2.34 -user pushes changes to this server, the hook gets run.  
    2.35 -
    2.36 -It adds a comment to the bug that looks like this (you can configure
    2.37 -the contents of the comment---see below):
    2.38 +Con esto habilitado, el gancho \hgext{acl} imprimirá suficiente
    2.39 +información para permitirle saber porqué está permitiendo o denegando
    2.40 +la operación de empujar a usuarios específicos.
    2.41 +
    2.42 +\subsection{\hgext{bugzilla}---integración con Bugzilla}
    2.43 +
    2.44 +La extensión \hgext{bugzilla} añade un comentario a un fallo Bugzilla
    2.45 +siempre que encuentre una referencia al ID de dicho fallo en un
    2.46 +mensaje de consignación. Usted puede instalar este gancho en un
    2.47 +servidor compartido, para que cada vez que un usuario remoto empuje
    2.48 +cambios al servidor, el gancho sea ejecutado.
    2.49 +
    2.50 +Se añade un comentario al fallo que se ve así (usted puede configurar
    2.51 +los contenidos del comentario---vea más abajo):
    2.52 +%TODO traducir?
    2.53  \begin{codesample2}
    2.54    Changeset aad8b264143a, made by Joe User <joe.user@domain.com> in
    2.55    the frobnitz repository, refers to this bug.
    2.56 @@ -705,23 +707,25 @@
    2.57    Changeset description:
    2.58          Fix bug 10483 by guarding against some NULL pointers
    2.59  \end{codesample2}
    2.60 -The value of this hook is that it automates the process of updating a
    2.61 -bug any time a changeset refers to it.  If you configure the hook
    2.62 -properly, it makes it easy for people to browse straight from a
    2.63 -Bugzilla bug to a changeset that refers to that bug.
    2.64 -
    2.65 -You can use the code in this hook as a starting point for some more
    2.66 -exotic Bugzilla integration recipes.  Here are a few possibilities:
    2.67 -\begin{itemize}
    2.68 -\item Require that every changeset pushed to the server have a valid
    2.69 -  bug~ID in its commit comment.  In this case, you'd want to configure
    2.70 -  the hook as a \hook{pretxncommit} hook.  This would allow the hook
    2.71 -  to reject changes that didn't contain bug IDs.
    2.72 -\item Allow incoming changesets to automatically modify the
    2.73 -  \emph{state} of a bug, as well as simply adding a comment.  For
    2.74 -  example, the hook could recognise the string ``fixed bug 31337'' as
    2.75 -  indicating that it should update the state of bug 31337 to
    2.76 -  ``requires testing''.
    2.77 +El valor de este gancho se encuentra en que automatiza el proceso de
    2.78 +actualizar un fallo cuando un conjunto de cambios se refiera a él. Si
    2.79 +usted configura este gancho adecuadamente, hará fácil para la gente
    2.80 +navegar directamente desde un fallo Bugzilla a un conjunto de cambios
    2.81 +que se refiere a ese fallo.
    2.82 +
    2.83 +Usted puede usar el código de este gancho como un punto de partida
    2.84 +para otras recetas de integración con Bugzilla aún más exóticas. Acá
    2.85 +hay algunas posibilidades:
    2.86 +\begin{itemize}
    2.87 +\item Requerir que cada conjunto de cambios tenga un ID de fallo en su
    2.88 +  mensaje de consignación. En este caso, usted querrá configurar el
    2.89 +  gancho como uno de tipo \hook{pretxncommit}.  Esto le permitirá al
    2.90 +  gancho rechazar cambios que no contiene IDs de fallos.
    2.91 +\item Permitir a los conjuntos de cambios entrantes modificar
    2.92 +  automáticamente el \emph{estado} de un fallo, así como simplemente
    2.93 +  añadir un comentario. Por ejemplo, el gancho podría reconocer la
    2.94 +  cadena ``corregido fallo 31337'' como la señal de que debería
    2.95 +  actualizar el estado del fallo 31337 a ``requiere pruebas''.
    2.96  \end{itemize}
    2.97  
    2.98  \subsubsection{Configuring the \hook{bugzilla} hook}