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

Re: [PATCH 1/5] "lib-diff" tests: make "README" and "COPYING" test data smaller

From
Han-Wen Nienhuys <hanwen@google.com>
Date
Oct 4, 2021, 16:46 UTC
Message-ID
<CAFQ2z_NwrpMuYmtB1caokup9SCr=od97ONG86c4PWmfEJ5vZCg@mail.gmail.com>
In-Reply-To
<patch-1.5-8a4ca06bce0-20211002T091212Z-avarab@gmail.com>

On Sat, Oct 2, 2021 at 11:19 AM Ævar Arnfjörð Bjarmason <avarab@gmail.com> wrote:

Show 8 quoted lines
>
> Follow-up the change in 459b8d22e54 (tests: do not borrow from COPYING
> and README from the real source, 2015-02-15) by not shipping a full
> copy of older versions of the top-level "COPYING" and "README" files.
>
> The tests that use them just need the small blurb at the top of
> "COPYING" as test data, or mock data that's dissimilar. Let's provide
> that with a "COPYING_test_data" function instead.

I had to read this patch a couple of times before I understood what was going on.

Your change is a definite improvement, but if the actual contents don't matter that much, maybe something like "lorum ipsum" would be even better.

-- 
Han-Wen Nienhuys - Google Munich
I work 80%. Don't expect answers from me on Fridays.
--

Google Germany GmbH, Erika-Mann-Strasse 33, 80636 Munich

Registergericht und -nummer: Hamburg, HRB 86891

Sitz der Gesellschaft: Hamburg

Geschäftsführer: Paul Manicle, Halimah DeLaine Prado
Previous: Ævar Arnfjörð BjarmasonNext: Ævar Arnfjörð Bjarmason
Message 3 of 20 in “COPYING: modernize, steal boilerplate from linux.git”
  1. 0/5 COPYING: modernize, steal boilerplate from linux.gitÆvar Arnfjörð Bjarmason, Oct 2, 2021
  2. 1/5 "lib-diff" tests: make "README" and "COPYING" test data smallerÆvar Arnfjörð Bjarmason, Oct 2, 2021
  3. Han-Wen NienhuysOct 4, 2021
  4. Ævar Arnfjörð BjarmasonOct 4, 2021
  5. 2/5 tests: stop using top-level "README" and "COPYING" filesÆvar Arnfjörð Bjarmason, Oct 2, 2021
  6. 3/5 COPYING: remove mention of GPLv3, clarify sub-project COPYINGÆvar Arnfjörð Bjarmason, Oct 2, 2021
  7. Junio C HamanoOct 4, 2021
  8. 5/5 GPL-2.0: update to byte-for-byte match the FSF's versionÆvar Arnfjörð Bjarmason, Oct 2, 2021
  9. 4/5 COPYING: move GPL text to a "GPL-2.0" fileÆvar Arnfjörð Bjarmason, Oct 2, 2021
  10. Han-Wen NienhuysOct 4, 2021
  11. 0/5 COPYING: modernize, steal boilerplate from linux.gitÆvar Arnfjörð Bjarmason, Oct 5, 2021
  12. 2/5 tests: stop using top-level "README" and "COPYING" filesÆvar Arnfjörð Bjarmason, Oct 5, 2021
  13. 1/5 "lib-diff" tests: make "README" and "COPYING" test data smallerÆvar Arnfjörð Bjarmason, Oct 5, 2021
  14. 3/5 COPYING: remove mention of GPLv3, clarify sub-project COPYINGÆvar Arnfjörð Bjarmason, Oct 5, 2021
  15. 5/5 GPL-2.0: update to byte-for-byte match the FSF's versionÆvar Arnfjörð Bjarmason, Oct 5, 2021
  16. 4/5 COPYING: move GPL text to a "GPL-2.0" fileÆvar Arnfjörð Bjarmason, Oct 5, 2021
  17. 0/2 tests: stop relying on top-level COPYING and READMEÆvar Arnfjörð Bjarmason, Oct 15, 2021
  18. 2/2 tests: stop using top-level "README" and "COPYING" filesÆvar Arnfjörð Bjarmason, Oct 15, 2021
  19. 1/2 "lib-diff" tests: make "README" and "COPYING" test data smallerÆvar Arnfjörð Bjarmason, Oct 15, 2021
  20. Junio C HamanoOct 15, 2021

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.