[svnbook commit] r1322 - trunk/src/es/book
dbrouard
svnbook-dev at red-bean.com
Mon May 23 03:31:36 CDT 2005
Author: dbrouard
Date: Mon May 23 03:31:34 2005
New Revision: 1322
Modified:
trunk/src/es/book/ch05.xml
Log:
Book Spanish. Translated five paragraphs.
Modified: trunk/src/es/book/ch05.xml
==============================================================================
--- trunk/src/es/book/ch05.xml (original)
+++ trunk/src/es/book/ch05.xml Mon May 23 03:31:34 2005
@@ -510,71 +510,72 @@
<varlistentry>
<term><filename>pre-revprop-change</filename></term>
<listitem>
- <para>Because Subversion's revision properties are not
- versioned, making modifications to such a property (for
- example, the <literal>svn:log</literal> commit message
- property) will overwrite the previous value of that
- property forever. Since data can be potentially lost
- here, Subversion supplies this hook (and its
- counterpart, <filename>post-revprop-change</filename>)
- so that repository administrators can keep records of
- changes to these items using some external means if
- they so desire. As a precaution against losing
- unversioned property data, Subversion clients will not
- be allowed to remotely modify revision properties at all
- unless this hook is implemented for your repository.</para>
-
- <para>This hook runs just before such a modification is
- made to the repository. The repository passes four
- arguments to this hook: the path to the repository, the
- revision on which the to-be-modified property exists, the
- authenticated username of the person making the change,
- and the name of the property itself.</para>
+ <para>Al no ser versionadas las propiedades de revisión de Subversion,
+ hacer modificaciones a una de ellas ( como por ejemplo,
+ el mensaje de commit <literal>svn:log</literal> )
+ sobreescribirá el valor previo de esa propiedad para siempre.
+ Como hay datos aquí que potencialmente se pueden perder,
+ Subversion provee este hook ( y su contrapartida,
+ <filename>post-revprop-change</filename>) de tal manera
+ que los administradores de repositorios puedan mantener
+ con métodos externos si así lo desean, registros de los
+ cambios de dichas propiedades. Como precaución contra
+ la pérdidad de datos de propiedades no versionadas,
+ no se permite a los clientes Subversion modificarlos
+ del todo remotamente a no ser que este hook se implemente
+ para su repositorio.</para>
+
+ <para>Este hook se ejecuta justo antes de que una modificación
+ de este tipo se haga en el repositorio. El repositorio pasa
+ cuatro argumentos al hook: la ruta al repositorio, la revisión
+ en la cual la propiedad que se va a modificar existe,
+ el nombre autenticado de usuario de la persona que va a hacer
+ el cambio, y el nombre mismo de la propiedad.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><filename>post-revprop-change</filename></term>
<listitem>
- <para>As mentioned earlier, this hook is the counterpart
- of the <filename>pre-revprop-change</filename> hook. In
- fact, for the sake of paranoia this script will not run
- unless the <filename>pre-revprop-change</filename> hook
- exists. When both of these hooks are present, the
- <filename>post-revprop-change</filename> hook runs just
- after a revision property has been changed, and is
- typically used to send an email containing the new value
- of the changed property. The repository passes four
- arguments to this hook: the path to the repository, the
- revision on which the property exists, the authenticated
- username of the person making the change, and the name of
- the property itself.</para>
-
- <para>The Subversion distribution includes a
- <command>propchange-email.pl</command> script (located
- in the <filename>tools/hook-scripts/</filename>
- directory of the Subversion source tree) that can be
- used to send email with (and/or append to a log file)
- the details of a revision property change. This mail
- contains the revision and name of the changed property,
- the user who made the change, and the new property
- value.</para>
+ <para>Como se ha mencionado antes, este hook es la contrapartida
+ del hook <filename>pre-revprop-change</filename>. De hecho,
+ por paranoia, este script no se ejecutará a no ser que el
+ hook <filename>pre-revprop-change</filename> exista.
+ Cuando ambos están presentes, el hook <filename>post-revprop-change</filename>
+ se ejecuta justo después de que una propiedad de revisión
+ haya sido modificad, y se usa típicamente para enviar un
+ correo electrónico con el nuevo valor de la propiedad
+ cambiada. El repositorio pasa cuatro argumentos al hook:
+ la ruta al repositorio, la revisión en la cual la propiedad
+ existe, el nombre autenticado de usuario de la persona
+ que va a hacer el cambio y el nombre mismo de la propiedad.</para>
+
+ <para>La distribución de Subversion incluye el script
+ <command>propchange-email.pl</command> script
+ (localizado en el directorio <filename>tools/hook-scripts/</filename>
+ del árbol de fuentes de Subversion ) que puede ser usado
+ para enviar un correo electrónico con ( y/o añadido a un
+ fichero de log ) los detalles de un cambio en una propiedad
+ de revisión. Este correo electrónico contiene la revisión
+ y nombre de la propiedad modificada, el usuario que hizo el cambio,
+ y el nuevo valor.</para>
</listitem>
</varlistentry>
</variablelist>
- <para>Subversion will attempt to execute hooks as the same user
- who owns the process which is accessing the Subversion
- repository. In most cases, the repository is being accessed
- via Apache HTTP server and mod_dav_svn, so this user is the
- same user that Apache runs as. The hooks themselves will need
- to be configured with OS-level permissions that allow that
- user to execute them. Also, this means that any file or
- programs (including the Subversion repository itself) accessed
- directly or indirectly by the hook will be accessed as the
- same user. In other words, be alert to potential
- permission-related problems that could prevent the hook from
- performing the tasks you've written it to perform.</para>
+ <para>Subversión tratará de ejecutar los hooks como el mismo
+ usuario que posee el proces que está accediendo al repositorio
+ Subversion. En la mayoría de los casos, el repositorio se
+ accede a través del servidor HTTP Apache y mod_dav_svn, así que
+ este usuario es el mismo que el usuario con el que se ejecuta
+ Apache. Los mismos hooks necesitarán ser configurados con permisos
+ a nivel de sistema operativo que les permitan ser ejecutados
+ por dicho usuario. Asimismo, esto significa que cualquier fichero
+ o programas ( incluyendo el repositorio mismo ) al que acceda
+ directa o indirectamente el hook, será a través del mismo usuario.
+ En otras palabras, esté alerta a problemas potenciales relacionados
+ con permisos que impidan al hook realizar las tareas para las cuales
+ lo haya escrito.</para>
</sect2>
More information about the svnbook-dev
mailing list