hgbook
diff es/collab.tex @ 440:aeda195f54a6
Finally finished translating collab and taking mq and hgext
author | Igor TAmara <igor@tamarapatino.org> |
---|---|
date | Sat Dec 06 01:01:39 2008 -0500 (2008-12-06) |
parents | 22391f67dc26 |
children | 6ad83df399b7 |
line diff
1.1 --- a/es/collab.tex Sat Dec 06 00:14:38 2008 -0500 1.2 +++ b/es/collab.tex Sat Dec 06 01:01:39 2008 -0500 1.3 @@ -962,92 +962,95 @@ 1.4 permite a los usuarios remotos emplear \hgcmd{pull} y \hgcmd{clone} 1.5 sobre el repositorio~HTTP. Si se coloca \texttt{no} o 1.6 \texttt{false}, solamente la porción de los procesos 1.7 - ``human-oriented'' se habilita de la interfaz web. 1.8 -\item[\rcitem{web}{contact}] String. A free-form (but preferably 1.9 - brief) string identifying the person or group in charge of the 1.10 - repository. This often contains the name and email address of a 1.11 - person or mailing list. It often makes sense to place this entry in 1.12 - a repository's own \sfilename{.hg/hgrc} file, but it can make sense 1.13 - to use in a global \hgrc\ if every repository has a single 1.14 - maintainer. 1.15 -\item[\rcitem{web}{maxchanges}] Integer. The default maximum number 1.16 - of changesets to display in a single page of output. 1.17 -\item[\rcitem{web}{maxfiles}] Integer. The default maximum number 1.18 - of modified files to display in a single page of output. 1.19 -\item[\rcitem{web}{stripes}] Integer. If the web interface displays 1.20 - alternating ``stripes'' to make it easier to visually align rows 1.21 - when you are looking at a table, this number controls the number of 1.22 - rows in each stripe. 1.23 -\item[\rcitem{web}{style}] Controls the template Mercurial uses to 1.24 - display the web interface. Mercurial ships with two web templates, 1.25 - named \texttt{default} and \texttt{gitweb} (the latter is much more 1.26 - visually attractive). You can also specify a custom template of 1.27 - your own; see chapter~\ref{chap:template} for details. Here, you 1.28 - can see how to enable the \texttt{gitweb} style. 1.29 + ``orientados-a-humanos'' se habilita de la interfaz web. 1.30 +\item[\rcitem{web}{contact}] Cadena. Una cadena en forma libre(pero 1.31 + preferiblemente corta) que identifica a la persona o grupo a cargo 1.32 + del repositorio. Usualmente contiene el nombre y la dirección de 1.33 + correo electrónico de una persona o de una lista de correo. Aveces 1.34 + tiene sentido colocar esta opción en el fichero \sfilename{.hg/hgrc} 1.35 + del repositorio, pero en otras oportunidades en el \hgrc\ global si 1.36 + todos los repositorios tienen un único mantenedor. 1.37 +\item[\rcitem{web}{maxchanges}] Entero. La cantidad máxima de 1.38 + conjuntos de cambios a mostrar de forma predeterminada en cada página. 1.39 +\item[\rcitem{web}{maxfiles}] Entero. La cantidad máxima 1.40 + predeterminada de ficheros modificados a desplegar en una página. 1.41 +\item[\rcitem{web}{stripes}] Entero. Si la interfaz web despliega 1.42 + ``franjas'' para facilitar la visualización alineada de filas cuando 1.43 + se ve una tabla, este valor controla la cantidad de filas en cada 1.44 + franja. 1.45 +\item[\rcitem{web}{style}] Controla la plantilla que Mercurial usa para 1.46 + desplegar la interfaz web. Mercurial viene con dos plantillas web, 1.47 + llamadas \texttt{default} y \texttt{gitweb} (La primera es 1.48 + visualmente más atractiva). Puede especificar una plantilla propia; 1.49 + consulte el capítulo~\ref{chap:template}. A continuación mostramos 1.50 + cómo habilitar el estilo \texttt{gitweb}. 1.51 \begin{codesample4} 1.52 [web] 1.53 style = gitweb 1.54 \end{codesample4} 1.55 -\item[\rcitem{web}{templates}] Path. The directory in which to search 1.56 - for template files. By default, Mercurial searches in the directory 1.57 - in which it was installed. 1.58 +\item[\rcitem{web}{templates}] Ruta. Directorio en el que se buscarán 1.59 + los archivos plantilla. De forma predeterminada, busca en el 1.60 + directorio en el cual fue instalado. 1.61 \end{itemize} 1.62 -If you are using \sfilename{hgwebdir.cgi}, you can place a few 1.63 -configuration items in a \rcsection{web} section of the 1.64 -\sfilename{hgweb.config} file instead of a \hgrc\ file, for 1.65 -convenience. These items are \rcitem{web}{motd} and 1.66 +Si usa \sfilename{hgwebdir.cgi}, puede añadir otras opciones de 1.67 +configuración en una sección \section{web} del fichero 1.68 +\sfilename{hgweb.config} en lugar del fichero \hgrc\, si lo considera 1.69 +más conveniente. Estas opciones son \rcitem{web}{motd} y 1.70 \rcitem{web}{style}. 1.71 1.72 -\subsubsection{Options specific to an individual repository} 1.73 - 1.74 -A few \rcsection{web} configuration items ought to be placed in a 1.75 -repository's local \sfilename{.hg/hgrc}, rather than a user's or 1.76 -global \hgrc. 1.77 +\subsubsection{Opciones específicas para repositorios individuales} 1.78 + 1.79 +Ciertas opciones de configuración de \rcsection{web} deben estar 1.80 +ubicadas en el \sfilename{.hg/hgrc} de un repositorio en lugar del 1.81 +fichero del usuario o el \hgrc global. 1.82 \begin{itemize} 1.83 -\item[\rcitem{web}{description}] String. A free-form (but preferably 1.84 - brief) string that describes the contents or purpose of the 1.85 - repository. 1.86 -\item[\rcitem{web}{name}] String. The name to use for the repository 1.87 - in the web interface. This overrides the default name, which is the 1.88 - last component of the repository's path. 1.89 +\item[\rcitem{web}{description}] Cadena. Una cadena de forma 1.90 + libre(preferiblemente corta) que describa los contenidos o el 1.91 + propósito del repositorio. 1.92 +\item[\rcitem{web}{name}] Cadena. El nombre para visualizar en la 1.93 + interfaz web del repositorio. Sustituye el nombre predeterminado, el 1.94 + cual es el último componente de la ruta del repositorio. 1.95 \end{itemize} 1.96 1.97 -\subsubsection{Options specific to the \hgcmd{serve} command} 1.98 - 1.99 -Some of the items in the \rcsection{web} section of a \hgrc\ file are 1.100 -only for use with the \hgcmd{serve} command. 1.101 +\subsubsection{Opciones específicas a la orden \hgcmd{serve}} 1.102 + 1.103 +Algunas opciones en la sección \rcsection{web} de un fichero \hgrc\ 1.104 +son de uso exclusivo para la orden \hgcmd{serve}. 1.105 \begin{itemize} 1.106 -\item[\rcitem{web}{accesslog}] Path. The name of a file into which to 1.107 - write an access log. By default, the \hgcmd{serve} command writes 1.108 - this information to standard output, not to a file. Log entries are 1.109 - written in the standard ``combined'' file format used by almost all 1.110 - web servers. 1.111 -\item[\rcitem{web}{address}] String. The local address on which the 1.112 - server should listen for incoming connections. By default, the 1.113 - server listens on all addresses. 1.114 -\item[\rcitem{web}{errorlog}] Path. The name of a file into which to 1.115 - write an error log. By default, the \hgcmd{serve} command writes this 1.116 - information to standard error, not to a file. 1.117 -\item[\rcitem{web}{ipv6}] Boolean. Whether to use the IPv6 protocol. 1.118 - By default, IPv6 is not used. 1.119 -\item[\rcitem{web}{port}] Integer. The TCP~port number on which the 1.120 - server should listen. The default port number used is~8000. 1.121 +\item[\rcitem{web}{accesslog}] Ruta. El nombre del fichero en el cual 1.122 + se escribe la bitácora de acceso. En principio, la orden 1.123 + \hgcmd{serve} escribe esta información a la salida estándar, no a un 1.124 + fichero. Las líneas de la bitácora se escriben en un formato de 1.125 + fichero ``combinado'' estándar, usado por casi todos los servidores 1.126 + web. 1.127 +\item[\rcitem{web}{address}] Cadena. La dirección local en la cual el 1.128 + servidor debe escuchar peticiones entrantes. En principio, el 1.129 + servidor escucha en todas las direcciones. 1.130 +\item[\rcitem{web}{errorlog}] Ruta. El nombre de un fichero en el 1.131 + cual escribir la bitácora de error. En principio, la orden 1.132 + \hgcmd{serve} escribe esta información en la salida de error 1.133 + estándar, no a un fichero. 1.134 +\item[\rcitem{web}{ipv6}] Booleano. Si se usa o no el protocolo 1.135 + IPv6. En principio, IPv6 no se usa. 1.136 +\item[\rcitem{web}{port}] Entero. El número del puerto~TCP en el cuál 1.137 + el servidor escuchará. El puerto predeterminado es el~8000. 1.138 \end{itemize} 1.139 1.140 -\subsubsection{Choosing the right \hgrc\ file to add \rcsection{web} 1.141 - items to} 1.142 - 1.143 -It is important to remember that a web server like Apache or 1.144 -\texttt{lighttpd} will run under a user~ID that is different to yours. 1.145 -CGI scripts run by your server, such as \sfilename{hgweb.cgi}, will 1.146 -usually also run under that user~ID. 1.147 - 1.148 -If you add \rcsection{web} items to your own personal \hgrc\ file, CGI 1.149 -scripts won't read that \hgrc\ file. Those settings will thus only 1.150 -affect the behaviour of the \hgcmd{serve} command when you run it. To 1.151 -cause CGI scripts to see your settings, either create a \hgrc\ file in 1.152 -the home directory of the user ID that runs your web server, or add 1.153 -those settings to a system-wide \hgrc\ file. 1.154 +\subsubsection{Elegir el fichero \hgrc\ correcto para las 1.155 + configuraciones de \rcsection{web}} 1.156 + 1.157 +Es importante recordar que un servidor web como Apache o 1.158 +\texttt{lighttpd} se ejecutarán bajo el usuario~ID que generalmente no 1.159 +es el suyo Los guiones CGI ejecutados por su servidor, tales como 1.160 +\sfilename{hgweb.cgi}, se ejecutarán también con el usuario~ID. 1.161 + 1.162 +Si añade opciones \rcsection{web} a su fichero personal \hgrc\, Los 1.163 +guiones CGI no leerán tal fichero \hgrc\. Tales configuraciones 1.164 +solamente afectarán el comportamiento de la orden \hgcmd{serve} cuando 1.165 +usted lo ejecuta. Para logar que los guiones CGI vean sus 1.166 +configuraciones, o bien cree un fichero \hgrc\ en el directorio hogar 1.167 +del usuario ID que ejecuta su servidor web, o añada tales 1.168 +configuraciones al fichero global \hgrc\. 1.169 1.170 1.171 %%% Local Variables: