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

Re: [PATCH 1/3] update_unicode.sh: update the uniset repo if it exists

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 12, 2016, 18:33 UTC
Message-ID
<xmqqr35dm203.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<ca10a51a-0fab-e4a4-8d7d-035673af4c06@web.de>
Torsten Bögershausen <tboegi@web.de> writes:
Show 14 quoted lines
> If I run ./update_unicode.sh on the latest master of
> https://github.com/depp/uniset.git , commit
> a5fac4a091857dd5429cc2d, I get a diff in unicode_width.h like
> this:
>
> -{ 0x0300, 0x036F },
>
> +{ 768, 879 },
>
> IOW, all hex values are printed as decimal values.
> Not a problem for the compiler, but for the human
> to check the unicode tables.
>
> So I think we should "pin" the version of uniset.

Sure, and I'd rather see the update-unicode.sh script moved somewhere in contrib/ while at it. Those who are interested in keeping up with the unicode standard are tiny minority of the developer population, and most of us would treat the built width table as the source (after all, that is what we ship).

To be bluntly honest, I'd rather not to see "update-unicode.sh" download and build uniset at all. It's as if po/ hierarchy shipping with its own script to download and build msgmerge--that's madness. Needless to say, shipping the sources for uniset embedded in our project tree (either as a snapshot-fork or as a submodule) is even worse. Those who want to muck with po/ are expected to have msgmerge and friends. Why not expect the same for those who want to update the unicode width table?

I'd rather see a written instruction telling which snapshot to get and from where to build and place on their $PATH in the README file, sitting next to the update-unicode.sh script in contrib/uniwidth/ directory, for those who are interested in building the width table "from the source", and the update-unicode.sh script to assume that uniset is available.

Previous: Torsten BögershausenNext: Beat Bolli
Message 7 of 11 in “update_unicode.sh: update the uniset repo if it exists”
  1. 1/3 update_unicode.sh: update the uniset repo if it existsBeat Bolli, Dec 11, 2016
  2. 2/3 update_unicode.sh: remove the plane filtersBeat Bolli, Dec 11, 2016
  3. 3/3 update_unicode.sh: restore hexadecimal outputBeat Bolli, Dec 11, 2016
  4. Torsten BögershausenDec 12, 2016
  5. Beat BolliDec 12, 2016
  6. Torsten BögershausenDec 12, 2016
  7. Junio C HamanoDec 12, 2016
  8. Beat BolliDec 12, 2016
  9. Torsten BögershausenDec 13, 2016
  10. Junio C HamanoDec 13, 2016
  11. Beat BolliDec 12, 2016

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.