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

[PATCH v3 0/2] tests: stop relying on top-level COPYING and README

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Oct 15, 2021, 09:30 UTC
Message-ID
<cover-v3-0.2-00000000000-20211015T092605Z-avarab@gmail.com>
In-Reply-To
<cover-v2-0.5-00000000000-20211005T170031Z-avarab@gmail.com>

These are test-only changes to have tests that rely on the contents of the top-level README and COPYING files use smaller artificial test data instead.

The v2 of this series proposed to follow this with updates to the COPYING file. I asked the SFC folks about that and those comments might result in an eventual update to those files to clarify certain things with git's licencing.

But let's not have any such future update be larger because we needed to deal with this test-only implementation detail first, and untangle the dependency the tests have on those top-level in-tree files.

As the range diff shows this is the exact same series as v2, except that the previous 3-5/5 patches have been discarded, this is just the previous 1-2/5.

1. https://lore.kernel.org/git/cover-v2-0.5-00000000000-20211005T170031Z-avarab@gmail.com/
Ævar Arnfjörð Bjarmason (2):
  "lib-diff" tests: make "README" and "COPYING" test data smaller
  tests: stop using top-level "README" and "COPYING" files
 t/.gitattributes                  |   1 -
 t/lib-diff-data.sh                |  22 ++
 t/lib-diff.sh                     |   2 +
 t/lib-diff/COPYING                | 361 ------------------------------
 t/lib-diff/README                 |  46 ----
 t/t4003-diff-rename-1.sh          |   4 +-
 t/t4005-diff-rename-2.sh          |   4 +-
 t/t4007-rename-3.sh               |   5 +-
 t/t4008-diff-break-rewrite.sh     |   4 +-
 t/t4009-diff-rename-4.sh          |   4 +-
 t/t4022-diff-rewrite.sh           |   6 +-
 t/t4023-diff-rename-typechange.sh |  11 +-
 t/t7001-mv.sh                     |   5 +-
 t/t7101-reset-empty-subdirs.sh    |  11 +-
 14 files changed, 53 insertions(+), 433 deletions(-)
 create mode 100644 t/lib-diff-data.sh
 delete mode 100644 t/lib-diff/COPYING
 delete mode 100644 t/lib-diff/README

Range-diff against v2: 1: f834cf74873 = 1: 02342124582 "lib-diff" tests: make "README" and "COPYING" test data smaller 2: f7cd2f31ccb = 2: f555ebb7055 tests: stop using top-level "README" and "COPYING" files 3: 44375bece46 < -: ----------- COPYING: remove mention of GPLv3, clarify sub-project COPYING 4: ccb26274cc6 < -: ----------- COPYING: move GPL text to a "GPL-2.0" file 5: 6fe2e601b13 < -: ----------- GPL-2.0: update to byte-for-byte match the FSF's version

-- 
2.33.1.1338.g20da966911a
Previous: Ævar Arnfjörð BjarmasonNext: Ævar Arnfjörð Bjarmason
Message 17 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.