File: comigrate.1

package info (click to toggle)
coinst 1.9.3-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,904 kB
  • sloc: ml: 15,760; javascript: 10,468; makefile: 143; ansic: 52
file content (352 lines) | stat: -rw-r--r-- 9,014 bytes parent folder | download | duplicates (3)
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
.TH COMIGRATE 1

.SH NAME
comigrate \- managing package migrations from Debian
.IR unstable " to " testing

.SH SYNOPSIS
.B comigrate
.RI [\| options \|]
.RB [\| \-\^\-heidi
.IR file \]
.RB [\| \-\^\-hints
.IR file \]
.br
.B comigrate
.RI [\| options \|]
.B \-\^\-update
.br
.B comigrate
.RI [\| options \|]
.BI \-\^\-migrate " package"
.br
.B comigrate
.RI [\| options \|]
.B \-\^\-equivocal
.br
.B comigrate
.RI [\| options \|]
.BI \-\^\-excuses " file"
.RB [\| \-\^\-svg \|]
.br
.B comigrate
.RI [\| options \|]
.BI \-\^\-explain " dir"

.SH DESCRIPTION
.B comigrate
is a tool designed to manage the migration of packages
from Debian
.IR unstable " to " testing .
It can be used in different ways. First,
it can compute which packages can migrate into testing; it can output
either an
.I HeidiResult
file listing the updated contents of
testing, or a set of hints that can be fed to
.I Britney
to help it perform the migration. Second, it can output detailed
reports of what prevents packages from migrating. Last, it can be used
to interactively troubleshoot the migration of a given package.

Unless an alternative command is given,
.B comigrate
will perform package migration and output the corresponding
.I HeidiResult
file at the location indicated in the configuration file.

.SH OPTIONS
.SS Commands

The default behavior of
.B comigrate
is to compute which packages can migrate from
.IR unstable " to " testing .
This behavior can be overriden by the options below.

.TP
.B \-\^\-equivocal
Output the set of packages that can migrate without making any package
non-installable but that will make it impossible to install some set
of packages together (package co-installability would no be preserved).
This makes it possible to find the packages that would be allowed to
migrate when using the
.B \-\^\-inst
option (preserving only package installability), but that could
nonetheless be problematic.

.TP
.BI \-\^\-excuses " file"
Write to this HTML file a detailed explanation of why some packages cannot
migrate. With the
.B \-\^\-svg
option, an SVG graph is also included for each installability or
co-installability issue (set of packages that one would not be able to
install together anymore) that prevents the migration. The
.B dot
tool is required to produce these graphs.

.TP
.BI \-\^\-explain " dir"
This command is designed to produce a report that can be published over
HTTP. An HTML file is created for each package that cannot
migrate, providing a detailed explanation of why this package cannot
migrate. A file listing
co-installability issues (that is, set of
packages that can no longer be installed together) that would result
from forthcoming migrations is also created. The
.B \-\^\-popcon
option can be used to specify popcon data to use for the report.
The
.B dot
tool is required for this command.

.TP
.BI \-\^\-migrate " package"
Compute whether it is possible to migrate this source package. If this
is indeed possible, a corresponding
.I Britney
hint is outputted, by default on the standard output (this can be
overridden with the
.B \-\^\-hints
option).

.TP
.B \-\^\-update
Initialize or update the data directory.

.SS Common Options

.TP
.BI \-\^\-arches " lst"
Comma-separated list of architectures to consider (default to all).

.TP
.BI \-c " file" "\fR,\fP \-\^\-config " file
Use this Britney configuration file.


.SS Package Migration Options

.TP
.B \-\^\-all-hints
Show all hints.  By default, hints consisting of a single package are
omitted when outputting hints.

.TP
.BI \-\^\-break " sets"
Override the default migration constraint that set of packages that
could be install together can still be installed together after
migration (package co-installability).  This option allows to specify
that some precise set of packages can become non co-installable (or,
in the case of a single package, that this package can become non
installable). This is crucial to allow the migration of packages that
are no longer compatible. The argument
.I sets
is a comma-separated list of sets of packages. Each set is either a
list of binary package names separated by a vertical bar symbol |, or
a wildcard\~_ standing for any package.
We explain this option through examples.
You can write
.BI \-\^\-break " libjpeg62-dev"
to state that package
.I libjpeg62-dev
does not have to remain installable.
But it is usually better to indicate that the package should remain
installable but that it is fine if it is no longer installable with
some other packages:
.B \-\^\-break
.IR libjpeg62-dev,_ .
You can be even more precise and specify that two given packages can
become incompatible, but no other incompatibility should be
introduced:
.B \-\^\-break
.IR parallel,moreutils .
Finally, you can use the vertical bar symbol to factorize several sets
of packages:
.B \-\^\-break
.I 'unoconv,python-uno|docvert-libreoffice'
means that package
.I unoconv
does not have to remain installable together with
.I python-uno
nor
.IR docvert-libreoffice .

.TP
.BI \-\^\-heidi " HeidiResult"
Write the result of package migration to file
.IR HeidiResult .
When
.I HeidiResult
is
.BR \- ,
write to standard output.
The option only make sense when no specific command is given.

.TP
.BI \-\^\-hints " file"
Output hints to this file. When
.I file
is
.BR \- ,
write to standard output.
This disable the ouput of the
.I HeidiResult
file, unless an explicit
.B \-\^\-heidi
option is provided as well.

.TP
.B \-\^\-inst
When computing possible migration, only preserves single package
installability. This is similar to what
.I Britney
does. The default is to ensure the stronger requirement that
set of packages that could be install together can still be installed
together after migration (that is, package co-installability).

.TP
.BI \-\^\-offset " n"
Move
.I n
days into the future. This is convenient to see what packages will be
able to migrate in a few days.

.TP
.BI \-\^\-remove " pkg"
Compute package migration as if the source package
.I pkg
and its associated binary packages had been removed from
.IR unstable .
This is a convenient way to migrate an important package when its
migration is prevented by packages of low importance.
Together with the
.B \-\^\-migrate
command, this option can help finding out all issues preventing the
migration of a given package.

.SS Command-Specific Options

.TP
.B \-\^\-svg
Include conflict graphs (in SVG format) in excuse output. This option
only makes sense together with the
.B \-\^\-excuses
option.

.TP
.BI \-\^\-popcon " file"
Use popcon data from this file. This option only makes sense together
with the
.B \-\^\-explain
option.

.TP
.BI \-\^\-source " url"
Download package information from the given url. This option only
makes sense together with the
.B \-\^\-update
option.

.SS Miscellaneous Options
.TP
.BI \-\^\-debug " name"
Activate debug option
.IR name .
Use
.B \-\^\-debug help
to list available debug options.
.TP
.BR \-help ", " \-\^\-help
Print a usage message  briefly  summarizing  the command-line options.
.TP
.BI \-\^\-input " dir"
Select the directory containing Britney data.
.TP
.B \-\^\-no\-cache
Disable on-disk caching.
.TP
.BI \-\^\-proc  " n"
Provide number of processors.  Use 1 to disable concurrency.
Defaults to use all processors.

.SS Ignored Options
These two
.I Britney
options are currently ignored and are present only for compatibility.
.TP
.B \-\^\-control\-files
Currently ignored.
.TP
.B \-v
Currently ignored.

.SH EXAMPLES

To get started, you need to use a
.I Britney
configuration file
.IR britney.conf .
The files specifies in particular the location of migration data
(control files, hint files, ...). These data can then be downloaded
(or updated) with the command below.

   comigrate -c britney.conf --update

Running
.B comigrate
without option will make it behave like
.IR Britney :
it will compute the set of packages that can migrate
and write a corresponding
.I HeidiResult
file at the location indicated in the configuration file.

   comigrate -c britney.conf

By default,
.B comigrate
is more picky than
.IR Britney :
it will not allow packages to migrate if any set of packages that
could be installed together can no longer be installed together.
With the
.B --inst
option,
.B comigrate
will only check that packages remain installable, just like
.I Britney
does.

   comigrate -c britney.conf --inst

Alternatively, you can get the set of
.I Britney
easy hints corresponding to the migration.

   comigrate -c britney.conf --hints - --all-hints

The
.B --migrate
option will give you an explanation of why a package cannot migrate.
(If the package can in fact migrate, the corresponding easy hint will
be printed.)

   comigrate -c britney.conf --migrate ghc

The
.B --remove
and
.B --break
options can be used together with this option to get a clear
understand of what needs to be done to migrate the package.

.SH AUTHOR
Comigrate has been written by Jérôme Vouillon.

.SH SEE ALSO
.BR dot (1)
.br
The tool Web page:
.RB < http://coinst.irill.org/comigrate >.