Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1223700 > unrolled thread

Bug#1089746: dbus-update-activation-environment.1: Some remarks about this man page

Started bySimon McVittie <smcv@debian.org>
First post2024-12-12 11:30 +0100
Last post2024-12-12 11:30 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.debian.bugs.dist

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Bug#1089746: dbus-update-activation-environment.1: Some remarks about this man page Simon McVittie <smcv@debian.org> - 2024-12-12 11:30 +0100

#1223700 — Bug#1089746: dbus-update-activation-environment.1: Some remarks about this man page

FromSimon McVittie <smcv@debian.org>
Date2024-12-12 11:30 +0100
SubjectBug#1089746: dbus-update-activation-environment.1: Some remarks about this man page
Message-ID<JSOCd-gnuW-5@gated-at.bofh.it>
On Thu, 12 Dec 2024 at 03:02:18 +0000, Bjarni Ingi Gislason wrote:
>   General remarks and further material, if a diff-file exist, are in the
> attachments.

Sorry, polishing this man page is far down my list of priorities for how
to spend my limited time, especially if it involves separating functional
changes from things that are a matter of opinion. If you would like to
propose concrete changes, please open a merge request at
<https://gitlab.freedesktop.org/dbus/dbus/-/merge_requests>
so that they can be reviewed, with one commit per logical change, starting
with the changes that have the smallest amount of diffstat for the largest
amount of benefit.

You seem to be assuming that the man page was written by hand in roff
syntax, but the source code for dbus-update-activation-environment(1) is
`doc/dbus-update-activation-environment.1.xml.in` in the dbus source code,
a Docbook XML file, from which the roff version is generated using xsltproc
and docbook-xsl. The only part of this that is under the control of the
maintainers of dbus is the XML source.

If there are improvements that can be made by editing that XML, please
propose them upstream; but it looks as though some of your criticisms
could only be addressed by changing the Docbook XSL stylesheets, in
which case please report those to the upstream maintainers of the
stylesheets (ideally with proposed changes to resolve them).

In particular, if there are aspects of the output of those stylesheets
that are valid, but not how you would have written them if you were
writing roff by hand (such as applying unnecessary-but-valid escaping),
I don't consider those to be a bug at all.

>   Separate the sentences and subordinate clauses; each begins on a new
> line.  See man-pages(7) ("Conventions for source file layout") and
> "info groff" ("Input Conventions").

"Semantic line breaks" are fine as a recommendation for new code, but
applying them to an existing file is difficult to review (it would be
easy for a malicious contributor to hide a misleading text change among
mass-reformatting) for only a limited amount of benefit. It is a good
principle to follow in text that is being newly added or edited for
some other reason, and I already bear it in mind when making changes
and reviewing new contributions.

    smcv

[toc] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web