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

Re: Differences in compound tag sorting between 2.27.0 and 2.21.0

From
MKMatthew Timothy Kennerly <mtkennerly@gmail.com>
Date
Sep 27, 2020, 20:35 UTC
Message-ID
<CAKqNo6T2RMCgEhTcweicN9w0+tCDKcnsJ93vLKTQem4Sc6-qcw@mail.gmail.com>
In-Reply-To
<871rinf0z5.fsf@kyleam.com>
On Sun, Sep 27, 2020 at 3:56 PM Kyle Meyer <kyle@kyleam.com> wrote:
> (Also, I'm not sure
> what the wider context for this sorting is, but perhaps just
> --sort=-version:refname would do what you want?)

Unfortunately, I can't make any assumptions about how the versions look. This is for Dunamai ( https://github.com/mtkennerly/dunamai ), which computes a dynamic version based on the distance from the most recent version-like tag. Although it encourages a reasonable default, the meaning of "version-like" can be configured to handle arbitrary versioning schemes.

MTK
Previous: Kyle Meyer
Message 5 of 5 in “Differences in compound tag sorting between 2.27.0 and 2.21.0”
  1. Matthew Timothy KennerlySep 27, 2020
  2. Kyle MeyerSep 27, 2020
  3. Matthew Timothy KennerlySep 27, 2020
  4. Kyle MeyerSep 27, 2020
  5. Matthew Timothy KennerlySep 27, 2020

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.