Browse Source

Add SPDX license identifier to Python files and shell scripts

SPDX does not offer an identifier for Apache 2.0 or any later
version. Apache-2.0 is the closest identified.
Christoph Grüninger 4 months ago
parent
commit
c0a8e05380
100 changed files with 111 additions and 0 deletions
  1. 1 0
      bin/dul-receive-pack
  2. 1 0
      bin/dul-upload-pack
  3. 1 0
      bin/dulwich
  4. 1 0
      devscripts/PREAMBLE.py
  5. 2 0
      devscripts/replace-preamble.sh
  6. 1 0
      dulwich/__init__.py
  7. 1 0
      dulwich/archive.py
  8. 1 0
      dulwich/bundle.py
  9. 1 0
      dulwich/cli.py
  10. 1 0
      dulwich/client.py
  11. 1 0
      dulwich/cloud/gcs.py
  12. 1 0
      dulwich/config.py
  13. 1 0
      dulwich/contrib/__init__.py
  14. 1 0
      dulwich/contrib/paramiko_vendor.py
  15. 1 0
      dulwich/contrib/release_robot.py
  16. 1 0
      dulwich/contrib/requests_vendor.py
  17. 1 0
      dulwich/contrib/swift.py
  18. 1 0
      dulwich/credentials.py
  19. 1 0
      dulwich/diff_tree.py
  20. 1 0
      dulwich/errors.py
  21. 1 0
      dulwich/fastexport.py
  22. 1 0
      dulwich/file.py
  23. 1 0
      dulwich/graph.py
  24. 1 0
      dulwich/greenthreads.py
  25. 1 0
      dulwich/hooks.py
  26. 1 0
      dulwich/ignore.py
  27. 1 0
      dulwich/index.py
  28. 1 0
      dulwich/lfs.py
  29. 1 0
      dulwich/line_ending.py
  30. 1 0
      dulwich/log_utils.py
  31. 1 0
      dulwich/lru_cache.py
  32. 1 0
      dulwich/mailmap.py
  33. 1 0
      dulwich/object_store.py
  34. 1 0
      dulwich/objects.py
  35. 1 0
      dulwich/objectspec.py
  36. 1 0
      dulwich/pack.py
  37. 1 0
      dulwich/patch.py
  38. 1 0
      dulwich/porcelain.py
  39. 1 0
      dulwich/protocol.py
  40. 1 0
      dulwich/reflog.py
  41. 1 0
      dulwich/refs.py
  42. 1 0
      dulwich/repo.py
  43. 1 0
      dulwich/server.py
  44. 1 0
      dulwich/stash.py
  45. 1 0
      dulwich/submodule.py
  46. 1 0
      dulwich/tests/__init__.py
  47. 1 0
      dulwich/tests/test_object_store.py
  48. 1 0
      dulwich/tests/utils.py
  49. 1 0
      dulwich/walk.py
  50. 1 0
      dulwich/web.py
  51. 2 0
      examples/clone.py
  52. 2 0
      examples/config.py
  53. 2 0
      examples/diff.py
  54. 1 0
      examples/gcs.py
  55. 2 0
      examples/latest_change.py
  56. 2 0
      examples/memoryrepo.py
  57. 1 0
      examples/rename-branch.py
  58. 2 0
      fuzzing/fuzz-targets/fuzz_bundle.py
  59. 2 0
      fuzzing/fuzz-targets/fuzz_configfile.py
  60. 2 0
      fuzzing/fuzz-targets/fuzz_object_store.py
  61. 2 0
      fuzzing/fuzz-targets/fuzz_repo.py
  62. 2 0
      fuzzing/fuzz-targets/test_utils.py
  63. 1 0
      fuzzing/oss-fuzz-scripts/container-environment-bootstrap.sh
  64. 1 0
      setup.py
  65. 1 0
      tests/__init__.py
  66. 1 0
      tests/compat/__init__.py
  67. 1 0
      tests/compat/server_utils.py
  68. 1 0
      tests/compat/test_client.py
  69. 1 0
      tests/compat/test_pack.py
  70. 1 0
      tests/compat/test_patch.py
  71. 1 0
      tests/compat/test_porcelain.py
  72. 1 0
      tests/compat/test_repository.py
  73. 1 0
      tests/compat/test_server.py
  74. 1 0
      tests/compat/test_utils.py
  75. 1 0
      tests/compat/test_web.py
  76. 1 0
      tests/compat/utils.py
  77. 1 0
      tests/contrib/__init__.py
  78. 1 0
      tests/contrib/test_paramiko_vendor.py
  79. 1 0
      tests/contrib/test_release_robot.py
  80. 1 0
      tests/contrib/test_swift.py
  81. 1 0
      tests/contrib/test_swift_smoke.py
  82. 1 0
      tests/test_archive.py
  83. 1 0
      tests/test_blackbox.py
  84. 1 0
      tests/test_bundle.py
  85. 1 0
      tests/test_client.py
  86. 1 0
      tests/test_config.py
  87. 1 0
      tests/test_credentials.py
  88. 1 0
      tests/test_diff_tree.py
  89. 1 0
      tests/test_fastexport.py
  90. 1 0
      tests/test_file.py
  91. 1 0
      tests/test_grafts.py
  92. 1 0
      tests/test_graph.py
  93. 1 0
      tests/test_greenthreads.py
  94. 1 0
      tests/test_hooks.py
  95. 1 0
      tests/test_ignore.py
  96. 1 0
      tests/test_index.py
  97. 1 0
      tests/test_lfs.py
  98. 1 0
      tests/test_line_ending.py
  99. 1 0
      tests/test_lru_cache.py
  100. 1 0
      tests/test_mailmap.py

+ 1 - 0
bin/dul-receive-pack

@@ -2,6 +2,7 @@
 # dul-receive-pack - git-receive-pack in python
 # Copyright (C) 2008 John Carr <john.carr@unrouted.co.uk>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
bin/dul-upload-pack

@@ -2,6 +2,7 @@
 # dul-upload-pack - git-upload-pack in python
 # Copyright (C) 2008 John Carr <john.carr@unrouted.co.uk>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
bin/dulwich

@@ -2,6 +2,7 @@
 # command-line interface for Dulwich
 # Copyright (C) 2020 Jelmer Vernooij <jelmer@jelmer.uk>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
devscripts/PREAMBLE.py

@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 2 - 0
devscripts/replace-preamble.sh

@@ -1,3 +1,5 @@
 #!/usr/bin/zsh
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
+
 perl -i -p0e "s{\Q$(cat PREAMBLE.py.old)\E}{$(cat devscripts/PREAMBLE.py)}g" dulwich/**/*.py bin/dul*
 perl -i -p0e "s{\Q$(cat PREAMBLE.c.old)\E}{$(cat devscripts/PREAMBLE.c)}g" dulwich/*.c

+ 1 - 0
dulwich/__init__.py

@@ -2,6 +2,7 @@
 # Copyright (C) 2007 James Westby <jw+debian@jameswestby.net>
 # Copyright (C) 2008 Jelmer Vernooij <jelmer@jelmer.uk>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
dulwich/archive.py

@@ -2,6 +2,7 @@
 # Copyright (C) 2015 Jonas Haag <jonas@lophus.org>
 # Copyright (C) 2015 Jelmer Vernooij <jelmer@jelmer.uk>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
dulwich/bundle.py

@@ -1,6 +1,7 @@
 # bundle.py -- Bundle format support
 # Copyright (C) 2020 Jelmer Vernooij <jelmer@jelmer.uk>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
dulwich/cli.py

@@ -3,6 +3,7 @@
 # Copyright (C) 2008-2011 Jelmer Vernooij <jelmer@jelmer.uk>
 # vim: expandtab
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
dulwich/client.py

@@ -1,6 +1,7 @@
 # client.py -- Implementation of the client side git protocols
 # Copyright (C) 2008-2013 Jelmer Vernooij <jelmer@jelmer.uk>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
dulwich/cloud/gcs.py

@@ -1,6 +1,7 @@
 # object_store.py -- Object store for git objects
 # Copyright (C) 2021 Jelmer Vernooij <jelmer@jelmer.uk>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
dulwich/config.py

@@ -1,6 +1,7 @@
 # config.py - Reading and writing Git config files
 # Copyright (C) 2011-2013 Jelmer Vernooij <jelmer@jelmer.uk>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
dulwich/contrib/__init__.py

@@ -1,6 +1,7 @@
 # __init__.py -- Contrib module for Dulwich
 # Copyright (C) 2014 Jelmer Vernooij <jelmer@jelmer.uk>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
dulwich/contrib/paramiko_vendor.py

@@ -1,6 +1,7 @@
 # paramiko_vendor.py -- paramiko implementation of the SSHVendor interface
 # Copyright (C) 2013 Aaron O'Mullan <aaron.omullan@friendco.de>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
dulwich/contrib/release_robot.py

@@ -1,5 +1,6 @@
 # release_robot.py
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
dulwich/contrib/requests_vendor.py

@@ -1,6 +1,7 @@
 # requests_vendor.py -- requests implementation of the AbstractHttpGitClient interface
 # Copyright (C) 2022 Eden Shalit <epopcop@gmail.com>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
dulwich/contrib/swift.py

@@ -3,6 +3,7 @@
 #
 # Author: Fabien Boucher <fabien.boucher@enovance.com>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
dulwich/credentials.py

@@ -2,6 +2,7 @@
 
 # Copyright (C) 2022 Daniele Trifirò <daniele@iterative.ai>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
dulwich/diff_tree.py

@@ -1,6 +1,7 @@
 # diff_tree.py -- Utilities for diffing files and trees.
 # Copyright (C) 2010 Google, Inc.
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
dulwich/errors.py

@@ -2,6 +2,7 @@
 # Copyright (C) 2007 James Westby <jw+debian@jameswestby.net>
 # Copyright (C) 2009-2012 Jelmer Vernooij <jelmer@jelmer.uk>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
dulwich/fastexport.py

@@ -1,6 +1,7 @@
 # __init__.py -- Fast export/import functionality
 # Copyright (C) 2010-2013 Jelmer Vernooij <jelmer@jelmer.uk>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
dulwich/file.py

@@ -1,6 +1,7 @@
 # file.py -- Safe access to git files
 # Copyright (C) 2010 Google, Inc.
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
dulwich/graph.py

@@ -1,6 +1,7 @@
 # vim:ts=4:sw=4:softtabstop=4:smarttab:expandtab
 # Copyright (c) 2020 Kevin B. Hendricks, Stratford Ontario Canada
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
dulwich/greenthreads.py

@@ -3,6 +3,7 @@
 #
 # Author: Fabien Boucher <fabien.boucher@enovance.com>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
dulwich/hooks.py

@@ -1,6 +1,7 @@
 # hooks.py -- for dealing with git hooks
 # Copyright (C) 2012-2013 Jelmer Vernooij and others.
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
dulwich/ignore.py

@@ -1,5 +1,6 @@
 # Copyright (C) 2017 Jelmer Vernooij <jelmer@jelmer.uk>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
dulwich/index.py

@@ -1,6 +1,7 @@
 # index.py -- File parser/writer for the git index file
 # Copyright (C) 2008-2013 Jelmer Vernooij <jelmer@jelmer.uk>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
dulwich/lfs.py

@@ -1,6 +1,7 @@
 # lfs.py -- Implementation of the LFS
 # Copyright (C) 2020 Jelmer Vernooij
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
dulwich/line_ending.py

@@ -1,6 +1,7 @@
 # line_ending.py -- Line ending conversion functions
 # Copyright (C) 2018-2018 Boris Feld <boris.feld@comet.ml>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
dulwich/log_utils.py

@@ -1,6 +1,7 @@
 # log_utils.py -- Logging utilities for Dulwich
 # Copyright (C) 2010 Google, Inc.
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
dulwich/lru_cache.py

@@ -2,6 +2,7 @@
 # Copyright (C) 2006, 2008 Canonical Ltd
 # Copyright (C) 2022 Jelmer Vernooij <jelmer@jelmer.uk>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
dulwich/mailmap.py

@@ -1,6 +1,7 @@
 # mailmap.py -- Mailmap reader
 # Copyright (C) 2018 Jelmer Vernooij <jelmer@jelmer.uk>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
dulwich/object_store.py

@@ -2,6 +2,7 @@
 # Copyright (C) 2008-2013 Jelmer Vernooij <jelmer@jelmer.uk>
 #                         and others
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
dulwich/objects.py

@@ -2,6 +2,7 @@
 # Copyright (C) 2007 James Westby <jw+debian@jameswestby.net>
 # Copyright (C) 2008-2013 Jelmer Vernooij <jelmer@jelmer.uk>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
dulwich/objectspec.py

@@ -1,6 +1,7 @@
 # objectspec.py -- Object specification
 # Copyright (C) 2014 Jelmer Vernooij <jelmer@jelmer.uk>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
dulwich/pack.py

@@ -2,6 +2,7 @@
 # Copyright (C) 2007 James Westby <jw+debian@jameswestby.net>
 # Copyright (C) 2008-2013 Jelmer Vernooij <jelmer@jelmer.uk>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
dulwich/patch.py

@@ -1,6 +1,7 @@
 # patch.py -- For dealing with packed-style patches.
 # Copyright (C) 2009-2013 Jelmer Vernooij <jelmer@jelmer.uk>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
dulwich/porcelain.py

@@ -1,6 +1,7 @@
 # porcelain.py -- Porcelain-like layer on top of Dulwich
 # Copyright (C) 2013 Jelmer Vernooij <jelmer@jelmer.uk>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
dulwich/protocol.py

@@ -2,6 +2,7 @@
 # Copyright (C) 2008 John Carr <john.carr@unrouted.co.uk>
 # Copyright (C) 2008-2012 Jelmer Vernooij <jelmer@jelmer.uk>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
dulwich/reflog.py

@@ -1,6 +1,7 @@
 # reflog.py -- Parsing and writing reflog files
 # Copyright (C) 2015 Jelmer Vernooij and others.
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
dulwich/refs.py

@@ -1,6 +1,7 @@
 # refs.py -- For dealing with git refs
 # Copyright (C) 2008-2013 Jelmer Vernooij <jelmer@jelmer.uk>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
dulwich/repo.py

@@ -2,6 +2,7 @@
 # Copyright (C) 2007 James Westby <jw+debian@jameswestby.net>
 # Copyright (C) 2008-2013 Jelmer Vernooij <jelmer@jelmer.uk>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
dulwich/server.py

@@ -2,6 +2,7 @@
 # Copyright (C) 2008 John Carr <john.carr@unrouted.co.uk>
 # Copyright(C) 2011-2012 Jelmer Vernooij <jelmer@jelmer.uk>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
dulwich/stash.py

@@ -1,6 +1,7 @@
 # stash.py
 # Copyright (C) 2018 Jelmer Vernooij <jelmer@samba.org>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
dulwich/submodule.py

@@ -1,6 +1,7 @@
 # config.py - Reading and writing Git config files
 # Copyright (C) 2011-2013 Jelmer Vernooij <jelmer@jelmer.uk>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
dulwich/tests/__init__.py

@@ -1,6 +1,7 @@
 # __init__.py -- The tests for dulwich
 # Copyright (C) 2024 Jelmer Vernooij <jelmer@jelmer.uk>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
dulwich/tests/test_object_store.py

@@ -1,6 +1,7 @@
 # test_object_store.py -- tests for object_store.py
 # Copyright (C) 2008 Jelmer Vernooij <jelmer@jelmer.uk>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
dulwich/tests/utils.py

@@ -1,6 +1,7 @@
 # utils.py -- Test utilities for Dulwich.
 # Copyright (C) 2010 Google, Inc.
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
dulwich/walk.py

@@ -1,6 +1,7 @@
 # walk.py -- General implementation of walking commits and their contents.
 # Copyright (C) 2010 Google, Inc.
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
dulwich/web.py

@@ -2,6 +2,7 @@
 # Copyright (C) 2010 Google, Inc.
 # Copyright (C) 2012 Jelmer Vernooij <jelmer@jelmer.uk>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 2 - 0
examples/clone.py

@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
+
 """Clone.
 
 This trivial script demonstrates how to clone or lock a remote repository.

+ 2 - 0
examples/config.py

@@ -1,4 +1,6 @@
 #!/usr/bin/python
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
+
 # Read the config file for a git repository.
 #
 # Example usage:

+ 2 - 0
examples/diff.py

@@ -1,4 +1,6 @@
 #!/usr/bin/python
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
+
 # This trivial script demonstrates how to extract the unified diff for a single
 # commit in a local repository.
 #

+ 1 - 0
examples/gcs.py

@@ -1,4 +1,5 @@
 #!/usr/bin/python3
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 
 import tempfile
 

+ 2 - 0
examples/latest_change.py

@@ -1,4 +1,6 @@
 #!/usr/bin/python
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
+
 # Example printing the last author of a specified file
 
 import sys

+ 2 - 0
examples/memoryrepo.py

@@ -1,4 +1,6 @@
 #!/usr/bin/python
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
+
 # This script creates a clone of a remote repository in local memory,
 # then adds a single file and pushes the result back.
 #

+ 1 - 0
examples/rename-branch.py

@@ -1,4 +1,5 @@
 #!/usr/bin/python3
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 
 import argparse
 

+ 2 - 0
fuzzing/fuzz-targets/fuzz_bundle.py

@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
+
 import sys
 from io import BytesIO
 from typing import Optional

+ 2 - 0
fuzzing/fuzz-targets/fuzz_configfile.py

@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
+
 import sys
 from io import BytesIO
 from typing import Optional

+ 2 - 0
fuzzing/fuzz-targets/fuzz_object_store.py

@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
+
 import stat
 import sys
 from io import BytesIO

+ 2 - 0
fuzzing/fuzz-targets/fuzz_repo.py

@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
+
 import os
 import sys
 import tempfile

+ 2 - 0
fuzzing/fuzz-targets/test_utils.py

@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
+
 import atheris  # pragma: no cover
 
 

+ 1 - 0
fuzzing/oss-fuzz-scripts/container-environment-bootstrap.sh

@@ -1,4 +1,5 @@
 #!/usr/bin/env bash
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 
 set -euo pipefail
 

+ 1 - 0
setup.py

@@ -1,6 +1,7 @@
 #!/usr/bin/python3
 # Setup file for dulwich
 # Copyright (C) 2008-2022 Jelmer Vernooij <jelmer@jelmer.uk>
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 
 import os
 import sys

+ 1 - 0
tests/__init__.py

@@ -1,6 +1,7 @@
 # __init__.py -- The tests for dulwich
 # Copyright (C) 2007 James Westby <jw+debian@jameswestby.net>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
tests/compat/__init__.py

@@ -1,6 +1,7 @@
 # __init__.py -- Compatibility tests for dulwich
 # Copyright (C) 2010 Jelmer Vernooij <jelmer@jelmer.uk>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
tests/compat/server_utils.py

@@ -1,6 +1,7 @@
 # server_utils.py -- Git server compatibility utilities
 # Copyright (C) 2010 Google, Inc.
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
tests/compat/test_client.py

@@ -1,6 +1,7 @@
 # test_client.py -- Compatibility tests for git client.
 # Copyright (C) 2010 Google, Inc.
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
tests/compat/test_pack.py

@@ -1,6 +1,7 @@
 # test_pack.py -- Compatibility tests for git packs.
 # Copyright (C) 2010 Google, Inc.
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
tests/compat/test_patch.py

@@ -1,6 +1,7 @@
 # test_patch.py -- test patch compatibility with CGit
 # Copyright (C) 2019 Boris Feld <boris@comet.ml>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
tests/compat/test_porcelain.py

@@ -1,6 +1,7 @@
 # test_porcelain .py -- Tests for dulwich.porcelain/CGit compatibility
 # Copyright (C) 2010 Google, Inc.
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
tests/compat/test_repository.py

@@ -1,6 +1,7 @@
 # test_repo.py -- Git repo compatibility tests
 # Copyright (C) 2010 Google, Inc.
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
tests/compat/test_server.py

@@ -1,6 +1,7 @@
 # test_server.py -- Compatibility tests for git server.
 # Copyright (C) 2010 Google, Inc.
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
tests/compat/test_utils.py

@@ -1,6 +1,7 @@
 # test_utils.py -- Tests for git compatibility utilities
 # Copyright (C) 2010 Google, Inc.
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
tests/compat/test_web.py

@@ -1,6 +1,7 @@
 # test_web.py -- Compatibility tests for the git web server.
 # Copyright (C) 2010 Google, Inc.
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
tests/compat/utils.py

@@ -1,6 +1,7 @@
 # utils.py -- Git compatibility utilities
 # Copyright (C) 2010 Google, Inc.
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
tests/contrib/__init__.py

@@ -1,6 +1,7 @@
 # __init__.py -- Contrib module for Dulwich
 # Copyright (C) 2014 Jelmer Vernooij <jelmer@jelmer.uk>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
tests/contrib/test_paramiko_vendor.py

@@ -1,5 +1,6 @@
 # test_paramiko_vendor.py
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
tests/contrib/test_release_robot.py

@@ -1,5 +1,6 @@
 # release_robot.py
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
tests/contrib/test_swift.py

@@ -3,6 +3,7 @@
 #
 # Author: Fabien Boucher <fabien.boucher@enovance.com>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
tests/contrib/test_swift_smoke.py

@@ -3,6 +3,7 @@
 #
 # Author: Fabien Boucher <fabien.boucher@enovance.com>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
tests/test_archive.py

@@ -1,6 +1,7 @@
 # test_archive.py -- tests for archive
 # Copyright (C) 2015 Jelmer Vernooij <jelmer@jelmer.uk>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
tests/test_blackbox.py

@@ -1,6 +1,7 @@
 # test_blackbox.py -- blackbox tests
 # Copyright (C) 2010 Jelmer Vernooij <jelmer@jelmer.uk>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
tests/test_bundle.py

@@ -1,6 +1,7 @@
 # test_bundle.py -- tests for bundle
 # Copyright (C) 2020 Jelmer Vernooij <jelmer@jelmer.uk>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
tests/test_client.py

@@ -1,6 +1,7 @@
 # test_client.py -- Tests for the git protocol, client side
 # Copyright (C) 2009 Jelmer Vernooij <jelmer@jelmer.uk>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
tests/test_config.py

@@ -1,6 +1,7 @@
 # test_config.py -- Tests for reading and writing configuration files
 # Copyright (C) 2011 Jelmer Vernooij <jelmer@jelmer.uk>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
tests/test_credentials.py

@@ -2,6 +2,7 @@
 
 # Copyright (C) 2022 Daniele Trifirò <daniele@iterative.ai>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
tests/test_diff_tree.py

@@ -1,6 +1,7 @@
 # test_diff_tree.py -- Tests for file and tree diff utilities.
 # Copyright (C) 2010 Google, Inc.
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
tests/test_fastexport.py

@@ -1,6 +1,7 @@
 # test_fastexport.py -- Fast export/import functionality
 # Copyright (C) 2010 Jelmer Vernooij <jelmer@jelmer.uk>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
tests/test_file.py

@@ -1,6 +1,7 @@
 # test_file.py -- Test for git files
 # Copyright (C) 2010 Google, Inc.
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
tests/test_grafts.py

@@ -1,5 +1,6 @@
 # test_grafts.py -- Tests for graftpoints
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
tests/test_graph.py

@@ -1,6 +1,7 @@
 # test_graph.py -- Tests for merge base
 # Copyright (c) 2020 Kevin B. Hendricks, Stratford Ontario Canada
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
tests/test_greenthreads.py

@@ -3,6 +3,7 @@
 #
 # Author: Fabien Boucher <fabien.boucher@enovance.com>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
tests/test_hooks.py

@@ -1,5 +1,6 @@
 # test_hooks.py -- Tests for executing hooks
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
tests/test_ignore.py

@@ -1,6 +1,7 @@
 # test_ignore.py -- Tests for ignore files.
 # Copyright (C) 2017 Jelmer Vernooij <jelmer@jelmer.uk>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
tests/test_index.py

@@ -1,6 +1,7 @@
 # test_index.py -- Tests for the git index
 # Copyright (C) 2008-2009 Jelmer Vernooij <jelmer@jelmer.uk>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
tests/test_lfs.py

@@ -1,6 +1,7 @@
 # test_lfs.py -- tests for LFS
 # Copyright (C) 2020 Jelmer Vernooij <jelmer@jelmer.uk>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
tests/test_line_ending.py

@@ -1,6 +1,7 @@
 # test_line_ending.py -- Tests for the line ending functions
 # Copyright (C) 2018-2019 Boris Feld <boris.feld@comet.ml>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
tests/test_lru_cache.py

@@ -1,5 +1,6 @@
 # Copyright (C) 2006, 2008 Canonical Ltd
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

+ 1 - 0
tests/test_mailmap.py

@@ -1,6 +1,7 @@
 # test_mailmap.py -- Tests for dulwich.mailmap
 # Copyright (C) 2018 Jelmer Vernooij <jelmer@jelmer.uk>
 #
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 # Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
 # General Public License as public by the Free Software Foundation; version 2.0
 # or (at your option) any later version. You can redistribute it and/or

Some files were not shown because too many files changed in this diff