dpkg (1.18.25) stretch; urgency=medium
[dpkg] / man / es / dpkg-mergechangelogs.man
1 .\" dpkg manual page - dpkg-mergechangelogs(1)
2 .\"
3 .\" Copyright © 2009-2010 Raphaël Hertzog <hertzog@debian.org>
4 .\"
5 .\" This is free software; you can redistribute it and/or modify
6 .\" it under the terms of the GNU General Public License as published by
7 .\" the Free Software Foundation; either version 2 of the License, or
8 .\" (at your option) any later version.
9 .\"
10 .\" This is distributed in the hope that it will be useful,
11 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
12 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 .\" GNU General Public License for more details.
14 .\"
15 .\" You should have received a copy of the GNU General Public License
16 .\" along with this program. If not, see <https://www.gnu.org/licenses/>.
17 .
18 .\"*******************************************************************
19 .\"
20 .\" This file was generated with po4a. Translate the source file.
21 .\"
22 .\"*******************************************************************
23 .TH dpkg\-mergechangelogs 1 %RELEASE_DATE% %VERSION% "Herramientas de dpkg"
24 .nh
25 .SH NOMBRE
26 dpkg\-mergechangelogs \- Fusión a partir de tres versiones («3\-way merge») de
27 ficheros «debian/changelog»
28 .
29 .SH SINOPSIS
30 \fBdpkg\-mergechangelogs\fP [\fIopción\fP...] \fIantiguo\fP \fInuevo\-a\fP \fInuevo\-b\fP
31 [\fIsalida\fP]
32 .
33 .SH DESCRIPCIÓN
34 .P
35 Este programa usa las tres versiones proporcionadas del registro de cambios
36 de Debian para generar un fichero de registro de cambios («changelog»)
37 fusionado. El registro de cambios resultante se guarda en el fichero
38 \fIsalida\fP, o se mostrará por la salida estándar en caso de no introducir tal
39 parámetro.
40 .P
41 Cada entrada se identifica por su número de versión y, asumiendo que no
42 entran en conflicto, se fusionarán en el orden correcto (por orden
43 decreciente del número de versión). Cuando se usa \fB\-\-merge\-prereleases\fP, se
44 omitirá el número de versión tras la última tilde, de forma que «1.0\-1~exp1»
45 y «1.0\-1~exp5» se tomarán como la misma entrada. Cuando la misma versión
46 está disponible en \fInuevo\-a\fP y \fInuevo\-b\fP, se intentará una fusión estándar
47 de las líneas de las tres versiones (sólo si esta disponible el módulo
48 «Algorithm::Merge» — parte del paquete «libalgorithm\-merge\-perl» —, de no
49 ser así, obtendrá un conflicto global en el contenido de la entrada).
50 .
51 .SH OPCIONES
52 .TP
53 \fB\-m\fP, \fB\-\-merge\-prereleases\fP
54 Elimina la parte tras la última virgulilla en el número de versión al
55 realizar una comparación para identificar si dos entradas son la misma o no.
56 .sp
57 Es útil cuando siempre se usa la misma entrada en el registro de cambios,
58 pero aumenta el número de versión regularmente. Por ejemplo, puede tener
59 «2.3\-1~exp1», «2.3\-1~exp2»... hasta la publicación oficial «2.3\-1», teniendo
60 todas la misma entrada en el registro de cambios, pero que ha evolucionado
61 con el tiempo.
62 .TP
63 \fB\-\-help\fP
64 Muestra el modo de uso y termina.
65 .TP
66 \fB\-\-version\fP
67 Muestra la versión y termina.
68 .
69 .SH LIMITACIONES
70 .P
71 Se perderá durante la fusión todo lo que «Dpkg::Changelog» no analice. Esto
72 puede incluir cosas como «modelines» de vim, comentarios donde no deberían
73 estar, etc.
74 .
75 .SH "INTEGRACIÓN CON GIT"
76 .P
77 Si desea utilizar este programa para fusionar ficheros de registro de
78 cambios de Debian en un repositorio git primero tendrá que registrar un
79 nuevo «merge driver» en \fB.git/config\fP o \fB~/.gitconfig\fP:
80 .P
81 [merge "dpkg\-mergechangelogs"]
82 name = debian/changelog merge driver
83 driver = dpkg\-mergechangelogs \-m %O %A %B %A
84 .P
85 Después tendrá que definir el «merge attribute» para el fichero
86 «debian/changelog» bien en \fB.gitattributes\fP en el mismo repositorio, o en
87 \&\fB.git/info/attributes\fP:
88 .P
89 debian/changelog merge=dpkg\-mergechangelogs
90 .SH TRADUCTOR
91 Rudy Godoy <rudy@kernel\-panik.org>,
92 Rubén Porras <nahoo@inicia.es>,
93 Bruno Barrera C. <bruno.barrera@igloo.cl>,
94 Carlos Izquierdo <gheesh@ertis.net>,
95 Esteban Manchado y
96 NOK.
97 Debian L10n Spanish <debian\-l10n\-spanish@lists.debian.org>.
98 .br
99 Revisiones por Santiago Vila <sanvila@unex.es>,
100 Javier Fernández\-Sanguino, Rubén Porras,
101 Luis Uribe y Omar Campagne.