mbox series

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

Message ID cover-v3-0.2-00000000000-20211015T092605Z-avarab@gmail.com (mailing list archive)
Headers show
Series tests: stop relying on top-level COPYING and README | expand

Message

Ævar Arnfjörð Bjarmason Oct. 15, 2021, 9:30 a.m. UTC
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