clone 857852 -1 reassign -1 debhelper retitle -1 debhelper: please support one debhelper config file that applies to several packages retitle 857852 dpkg-maintscript-helper: please clarify usage of [package] option in man page thanks
Am 15.03.2017 um 22:05 schrieb Andreas Beckmann:
> On 2017-03-15 21:21, Markus Koschany wrote:
>> But dpkg-maintscript-helper is part of dpkg and the man page was my
>> source of information I was referring to in this bug report. If this is
>> in fact a bug in debhelper and not in dpkg-maintscript-helper, please
>> feel free to reassign to debhelper.
>
> I think there two bugs here.
>
> * A documentation issue in dpkg.
Ok, agreed. Quoting from one of your last e-mails:
> The "package" argument is not about the package that makes the changes,
> but about the package owning the stuff being acted upon. Usually both
> are the same and the "package" argument can be omitted.
> I think the "package" argument is not used for symlink_to_dir, but
> needed for dir_to_symlink ("Is all the stuff found in dir owned by
> $package?"). Or for rm_conffile/mv_conffile cases where the conffile was
> previously owned by a *different* package.
I would expect that this kind of information should be part of
dpkg-maintscript-helper's
man page. At least I would like a clarification about the "I think the
"package" argument
is not used for symlink_to_dir" part. It should be more obvious why the package
argument is
needed at all when you have to create one $PACKAGE.maintscript file per package
anyway.
Please also clarify that [package] does not imply that a single maintscript
file will act on
the binary[package]. I think an example how to use dpkg-maintscript-helper with
debhelper's
maintscript files would also be appreciated.
> * A wishlist bug for debhelper to support (in a future compat level)
> debhelper config files (not limited to maintscript, lintian_overrides)
> that apply to several packages, requiring some kind of annotation for
> which package each line is intended.
As for debhelper: Please support single config files like maintscript,
lintian-overrides,
install, docs, etc, that will not only act on the first binary package but on
all binary packages
provided users use some kind of annotation or special syntax to indicate that
the given
line should be applied to [binary package].
Currently it is necessary to write multiple
$PACKAGE.{maintscript,lintian-override, install, docs,
etc}) files whereby each of them often contains only one single line. If there
are more than half
a dozen binary packages per source package this can quickly clutter the whole
debian directory.
Using one single file per task can be much more readable and efficient. It is
totally fine if this
will be implemented in a future compat level.
Regards,
Markus
signature.asc
Description: OpenPGP digital signature

