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

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

From
Junio C Hamano <gitster@pobox.com>
Date
May 19, 2014, 17:09 UTC
Message-ID
<xmqq4n0l3dc7.fsf@gitster.dls.corp.google.com>
In-Reply-To
<alpine.DEB.2.02.1405172035160.44324@all-night-tool.MIT.EDU>
Anders Kaseorg <andersk@MIT.EDU> writes:
Show 6 quoted lines
> 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 ...

The reasoning and solution Ubuntu has sounds sensible *but* it also soudns like it is incomplete. If Ubuntu does not want to use highlight, it can apply a change like the patch in question as part of their fork to make the end result consistent and they are failing to do so. If the tooling do not use highlight, the source should not require highlight, either. It is ultimately their bug.

It however *is* our business, as their upstream, to make it easier for distros that want to use and distros that do not want to depend on highlight, and aiming for a solution that relieves Ubuntu or any other distros from needing to carry one more patch is a good thing.

How bad does the documentation look with the patch applied (I know how bad it looks without source-highlight installed)? If it is not too bad, then it sounds like a sensible solution to drop the highlight markup unconditionally like the patch that started this thread does, taking the "common denominator" approach. You seem to agree, and I do not object, either.

> 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).
Previous: Anders KaseorgNext: Anders Kaseorg
Message 4 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.