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

Re: [PATCH] Documentation/technical/api-hashmap: Remove source highlighting

From
Anders Kaseorg <andersk@mit.edu>
Date
May 18, 2014, 00:50 UTC
Message-ID
<alpine.DEB.2.02.1405172035160.44324@all-night-tool.MIT.EDU>
In-Reply-To
<20140517152219.GA31912@hudson.localdomain>
On Sat, 17 May 2014, Jeremiah Mahler wrote:
Show 7 quoted lines
> I agree that a broken document is an unacceptable failure mode.
> 
> But I do not understand why 'source-highlight' is not an install
> requirement for 'git-doc'.  If I install 'source-highlight' on
> my Debian machine the code looks great.
> 
>   apt-get install source-highlight

Yes; when I noticed this failure, I asked Jonathan to add source-highlight as a build dependency in Debian (https://bugs.debian.org/745591). But then Ubuntu forked the packaging to revert this change (https://bugs.launchpad.net/bugs/1316810), because source-highlight in the community-supported universe repository is not allowed to be a build dependency of git in the Canonical-supported main repository. So now the Ubuntu package still has broken documentation _and_ it’s lost the ability to automatically synchronize updates from Debian.

If we’re going to make Git depend on source-highlight, then we would want to make sure it’s documented in INSTALL and that its absence is properly diagnosed. Maybe then we could make the argument to Canonical that source-highlight should become officially supported in main (https://wiki.ubuntu.com/UbuntuMainInclusionRequirements).

But I don’t that would be worth it just to make one page of the API documentation a little more colorful (and it sounds like you agree).

Anders
Previous: Jeremiah MahlerNext: Junio C Hamano
Message 3 of 6 in “Documentation/technical/api-hashmap: Remove source highlighting”
  1. Documentation/technical/api-hashmap: Remove source highlightingAnders Kaseorg, May 17, 2014
  2. Jeremiah MahlerMay 17, 2014
  3. Anders KaseorgMay 18, 2014
  4. Junio C HamanoMay 19, 2014
  5. Anders KaseorgMay 19, 2014
  6. Junio C HamanoMay 20, 2014

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.