git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: "docs: stop using asciidoc no-inline-literal" breaks asciidoc 8.2.5

From
Jeff King <peff@peff.net>
Date
May 30, 2012, 08:51 UTC
Message-ID
<20120530085111.GA9917@sigill.intra.peff.net>
In-Reply-To
<CACBZZX6a2BQVhe8-X5o+WnfbsrqPKa_Cn93GZ1bbq1TLezB97Q@mail.gmail.com>
On Wed, May 30, 2012 at 12:42:32AM +0200, Ævar Arnfjörð Bjarmason wrote:
Show 9 quoted lines
> Anyway, I've tested dropping asciidoc.py from the source distribution
> into compat/asciidoc.py and doing "make doc
> ASCIIDOC=../compat/asciidoc.py", it seems to work.
> 
> I wonder if the easiest solution is to change the default asciidoc
> invocation from "asciidoc" to a small Documentation/asciidoc.sh script
> that we supply, it would check if there's an asciidoc present on the
> system, whether it's sufficiently new, and if not fall back on a copy
> we have in compat/.

That makes me somewhat nervous. The asciidoc package on my system contains 311 files. It seems probable that at least one of those files beyond asciidoc.py is necessary for the system to work, and that it may even depend on matching versions.

If we are going to go the route of providing an asciidoc for people whose asciidoc is buggy, we might as well go all out and provide a complete standalone asciidoc (or at least some subset) for those who don't have it at all. Part of me finds that utterly gross, but part of me likes the fact that we would be able to move our documentation and our asciidoc interpreter in lockstep, which avoids some other bugs we have seen in the past. Of course, that doesn't help the rest of the documentation toolchain (differing docbook versions have created problems in the past, too).

I suppose the grossness would depend on how small a minimal asciidoc distribution could be made (of those 311 files, many are documentation and examples).

-Peff
Previous: Ævar Arnfjörð BjarmasonNext: Matthieu Moy
Message 10 of 15 in “"docs: stop using asciidoc no-inline-literal" breaks asciidoc 8.2.5”
  1. Ævar Arnfjörð BjarmasonMay 29, 2012
  2. Thomas RastMay 29, 2012
  3. Ævar Arnfjörð BjarmasonMay 29, 2012
  4. Junio C HamanoMay 29, 2012
  5. Jeff KingMay 29, 2012
  6. Jeff KingMay 29, 2012
  7. Dennis KaarsemakerMay 29, 2012
  8. Ævar Arnfjörð BjarmasonMay 29, 2012
  9. Ævar Arnfjörð BjarmasonMay 29, 2012
  10. Jeff KingMay 30, 2012
  11. Matthieu MoyMay 30, 2012
  12. 0/3 docs: asciidoc version tweaksJeff King, May 30, 2012
  13. 1/3 INSTALL: update asciidoc recommendationJeff King, May 30, 2012
  14. 2/3 docs: drop asciidoc7compatible flagJeff King, May 30, 2012
  15. 3/3 docs: drop antique comment from MakefileJeff King, May 30, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.