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
Junio C Hamano <gitster@pobox.com>
Date
May 29, 2012, 19:45 UTC
Message-ID
<7vzk8q3h5c.fsf@alter.siamese.dyndns.org>
In-Reply-To
<CACBZZX5iOB5PCZUCX5ksR4hpw+DTLTaP4jOnyHAJ8hZVe9xo5w@mail.gmail.com>
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
> I think it's too soon to break the stock toolchain on systems as
> recent as RHEL 5.5 in the name of slightly nicer asciidoc syntax.

It is debatable if any version of distribution can be called "recent" if they ship 5 year old version of software that is updated fairly often, though.

> We could also keep the nice syntax and have some simple sed-based
> pre-processor that converts the syntax to the older and more widely
> supported version.

No, let's not go there. I do not see any reason to believe that such a sed script would do an equally good or better job as native AsciiDoc implementation to deal with inline-literals. That means we would end up writing our documentation with a subset of newer AsciiDoc that the custom sed script can grok---which defeats the purpose of the whole exercise.

> Or we could just decide to break RHEL 5 and systems released at a
> similar time, but that isn't what the patch suggested it was doing, so
> we should probably step back and ponder whether that's something we
> want to do.

Very true. Jeff, how do we want to proceed? For the upcoming release, I am inclined to say that we would revert 6cf378f (docs: stop using asciidoc no-inline-literal, 2012-04-26). We would still need to double check the result, though. Documentation updates that came after it are written assuming "inline-literal" behaviour, and parts we may have "fixed" with the commit will format to their old rendition.

Previous: Ævar Arnfjörð BjarmasonNext: Jeff King
Message 4 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.