File: dpkg-mergechangelogs.1

package info (click to toggle)
dpkg 1.17.12
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 39,500 kB
  • ctags: 4,699
  • sloc: ansic: 30,021; perl: 18,661; sh: 14,600; cpp: 4,676; makefile: 1,165; lex: 227; sed: 16
file content (100 lines) | stat: -rw-r--r-- 4,109 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
.\" dpkg manual page - dpkg-mergechangelogs(1)
.\"
.\" Copyright © 2009-2010 Raphaël Hertzog <hertzog@debian.org>
.\"
.\" This is free software; you can redistribute it and/or modify
.\" it under the terms of the GNU General Public License as published by
.\" the Free Software Foundation; either version 2 of the License, or
.\" (at your option) any later version.
.\"
.\" This is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public License
.\" along with this program.  If not, see <https://www.gnu.org/licenses/>.
.
.\"*******************************************************************
.\"
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.TH dpkg\-mergechangelogs 1 "14 de agosto del 2011" "Proyecto Debian" "Herramientas de dpkg"
.SH NOMBRE
dpkg\-mergechangelogs \- Fusin a partir de tres versiones (3\-way merge) de
ficheros debian/changelog
.
.SH SINOPSIS
\fBdpkg\-mergechangelogs\fP [\fIopcin\fP...] \fIantiguo\fP \fInuevo\-a\fP \fInuevo\-b\fP
[\fIsalida\fP]
.
.SH DESCRIPCIN
.P
Este programa usa las tres versiones proporcionadas del registro de cambios
de Debian para generar un fichero de registro de cambios (changelog)
fusionado. El registro de cambios resultante se guarda en el fichero
\fIsalida\fP, o se mostrar por la salida estndar en caso de no introducir tal
parmetro.
.P
Cada entrada se identifica por su nmero de versin y, asumiendo que no
entran en conflicto, se fusionarn en el orden correcto (por orden
decreciente del nmero de versin). Cuando se usa \fB\-\-merge\-prereleases\fP, se
omitir el nmero de versin tras la ltima tilde, de forma que 1.0\-1~exp1
y 1.0\-1~exp5 se tomarn como la misma entrada. Cuando la misma versin
est disponible en \fInuevo\-a\fP y \fInuevo\-b\fP, se intentar una fusin estndar
de las lneas de las tres versiones (slo si esta disponible el mdulo
Algorithm::Merge \[em] parte del paquete libalgorithm\-merge\-perl \[em],
de no ser as, obtendr un conflicto global en el contenido de la entrada).
.
.SH OPCIONES
.TP 
\fB\-\-merge\-prereleases\fP, \fB\-m\fP
Elimina la parte tras la ltima virgulilla en el nmero de versin al
realizar una comparacin para identificar si dos entradas son la misma o no.
.sp
Es til cuando siempre se usa la misma entrada en el registro de cambios,
pero aumenta el nmero de versin regularmente. Por ejemplo, puede tener
2.3\-1~exp1, 2.3\-1~exp2... hasta la publicacin oficial 2.3\-1, teniendo
todas la misma entrada en el registro de cambios, pero que ha evolucionado
con el tiempo.
.TP 
\fB\-\-help\fP
Muestra el modo de uso y termina.
.TP 
\fB\-\-version\fP
Muestra la versin y termina.
.
.SH LIMITACIONES
.P
Se perder durante la fusin todo lo que Dpkg::Changelog no analice. Esto
puede incluir cosas como modelines de vim, comentarios donde no deberan
estar, etc.
.
.SH "INTEGRACIN CON GIT"
.P
Si desea utilizar este programa para fusionar ficheros de registro de
cambios de Debian en un repositorio git primero tendr que registrar un
nuevo merge driver en \fB.git/config\fP o \fB~/.gitconfig\fP:
.P
 [merge "dpkg\-mergechangelogs"]
     name = debian/changelog merge driver
     driver = dpkg\-mergechangelogs \-m %O %A %B %A
.P
Despus tendr que definir el merge attribute para el fichero
debian/changelog bien en \fB.gitattributes\fP en el mismo repositorio, o en
\&\fB.git/info/attributes\fP:
.P
 debian/changelog merge=dpkg\-mergechangelogs
.SH TRADUCTOR
Rudy Godoy <rudy@kernel\-panik.org>,
Rubn Porras <nahoo@inicia.es>,
Bruno Barrera C. <bruno.barrera@igloo.cl>,
Carlos Izquierdo <gheesh@ertis.net>,
Esteban Manchado y
NOK.
Debian L10n Spanish <debian\-l10n\-spanish@lists.debian.org>.
.br
Revisiones por Santiago Vila <sanvila@unex.es>,
Javier Fernndez\-Sanguino, Rubn Porras,
Luis Uribe y Omar Campagne.