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

Re: New attempt to export test-lib from Git, maybe Sharness2?

From
Jiang Xin <worldhello.net@gmail.com>
Date
Dec 13, 2023, 14:01 UTC
Message-ID
<CANYiYbGUo6TsOBHLGNF7onRgM1fsE3CU3=8=vwJsiuXnsnuLog@mail.gmail.com>
In-Reply-To
<xmqqcyvfmccr.fsf@gitster.g>
On Sun, Dec 10, 2023 at 2:59 AM Junio C Hamano <gitster@pobox.com> wrote:
> Is it a viable option to stick to the name "test-lib" (or possibly,
> "git-test-lib" to make it more prominent to say where it came from)?
Will rename the project to "git-test-lib".
Show 9 quoted lines
> If you do not plan to coordinate with those who work on (the remnant
> of) the original sharness based on an ancient version of our test
> framework, and do not plan to actively transition its users to your
> version, it is less confusing if you named yours differently, as it
> avoids hinting that your version is a successor of theirs.
>
> I am not sure if reusing the history of our project verbatim using
> filter-repo is really a good way to help those who are interested in
> the test framework, by the way.

If all historical commits were squashed, it would be difficult to track future changes of test-lib in the Git project. Futhermore, who will be the author of the squashed commit?

Show 5 quoted lines
> and unedited filter-repo result will describe such a commit
> primarily to explain why the changes in the commit was made on Git
> side.  Most of the changes described in the resulting commit message
> are discarded by filter-repo and the resulting history becomes hard
> to follow.

One solution is to add notes in the README file and users can refer to the commit history of the git project.

Previous: Junio C Hamano
Message 4 of 4 in “[ANNOUNCE] Sharness v1.2.0”
  1. Felipe ContrerasMar 21, 2023
  2. New attempt to export test-lib from Git, maybe Sharness2?Jiang Xin, Dec 9, 2023
  3. Junio C HamanoDec 9, 2023
  4. Jiang XinDec 13, 2023

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.