git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Jeff King <peff@peff.net>
To: Felipe Contreras <felipe.contreras@gmail.com>
Cc: git@vger.kernel.org, "brian m . carlson" <sandals@crustytoothpaste.net>
Subject: Re: [PATCH] doc: remove GNU troff workaround
Date: Tue, 21 Mar 2023 13:32:06 -0400	[thread overview]
Message-ID: <20230321173206.GC3119834@coredump.intra.peff.net> (raw)
In-Reply-To: <20230320190047.79836-1-felipe.contreras@gmail.com>

On Mon, Mar 20, 2023 at 01:00:47PM -0600, Felipe Contreras wrote:

> Unfortunately by that point many workarounds already existed. In the
> case of git, GNU_ROFF was introduced, and in the case of Arch Linux
> a mapping from \' to ' was added to groff's man.local. Other
> distributions might have done the same, or similar workarounds.
> 
> Since 2010 there is no need for this workaround, which is fixed
> elsewhere, not just in docbook, but other layers as well.
> 
> Let's remove it.

Thanks, it's nice to get rid of old cruft like this when it's no longer
useful.

One thing I wondered about, though: even if docbook fixed it in 2010,
the workaround is still useful for a while, as it takes time for newly
released versions to be available everywhere.

I'd think 13 years is probably long enough, but I was curious about the
versions. You referenced the fix here:

> [6] https://github.com/docbook/xslt10-stylesheets/commit/fb553434265906ed81edc6d5f533d0b08d200046

but the earliest tag in that repository that contains that commit is
1.79.1 from 2016. However, it seems like that repo is oddly missing
older tags. You mentioned 1.76 earlier, and the changelog for the Debian
package of docbook-xsl mentions the 1.76 release fixing it in 2010.

So assuming the fix really was released in 2010, even long-running
distros like CentOS probably would have picked it up within a few years,
and our workaround should definitely be obsolete by now.

-Peff

  reply	other threads:[~2023-03-21 17:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-20 19:00 [PATCH] doc: remove GNU troff workaround Felipe Contreras
2023-03-21 17:32 ` Jeff King [this message]
2023-03-21 17:47   ` Junio C Hamano
2023-03-21 18:17     ` Jeff King
2023-03-21 18:27       ` Junio C Hamano
2023-03-21 18:34       ` Felipe Contreras
2023-03-21 20:38         ` Junio C Hamano
2023-03-21 22:07       ` Todd Zullinger
2023-03-21 22:17         ` Felipe Contreras

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230321173206.GC3119834@coredump.intra.peff.net \
    --to=peff@peff.net \
    --cc=felipe.contreras@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=sandals@crustytoothpaste.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).