Skip to content

Commit ae8c018

Browse files
committed
Fix URLs that were redirecting to another license
All the opensource.org BSD license URLs at the top of source code files in this project had originally pointed to a page on the 3-clause BSD license that this project used and continues to use. But over time the site was apparently reorganized and the link became a redirect to the page about the 2-clause BSD license. Because it is identified only as the "BSD license" in the comments in this project that contain the links, this unfortunately makes it so those top-of-file comments all wrongly claim that the project is 2-clause BSD licensed. This fixes the links by replacing them with the current URL of the opensource.org page on the 3-clause BSD license. The current URL contains "bsd-3-clause" in it, so this specific problem is unlikely to recur with that URL (and even if it did, the text "bsd-3-clause is information that may clue readers in to what is going on).
1 parent e8c3085 commit ae8c018

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+43
-44
lines changed

git/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Copyright (C) 2008, 2009 Michael Trier (mtrier@gmail.com) and contributors
33
#
44
# This module is part of GitPython and is released under
5-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
5+
# the BSD License: https://opensource.org/license/bsd-3-clause/
66
# flake8: noqa
77
# @PydevCodeAnalysisIgnore
88
from git.exc import * # @NoMove @IgnorePep8

git/cmd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Copyright (C) 2008, 2009 Michael Trier (mtrier@gmail.com) and contributors
33
#
44
# This module is part of GitPython and is released under
5-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
5+
# the BSD License: https://opensource.org/license/bsd-3-clause/
66
from __future__ import annotations
77
import re
88
import contextlib

git/compat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright (C) 2008, 2009 Michael Trier (mtrier@gmail.com) and contributors
44
#
55
# This module is part of GitPython and is released under
6-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
6+
# the BSD License: https://opensource.org/license/bsd-3-clause/
77
"""utilities to help provide compatibility with python 3"""
88
# flake8: noqa
99

git/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Copyright (C) 2008, 2009 Michael Trier (mtrier@gmail.com) and contributors
33
#
44
# This module is part of GitPython and is released under
5-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
5+
# the BSD License: https://opensource.org/license/bsd-3-clause/
66
"""Module containing module parser implementation able to properly read and write
77
configuration files"""
88

git/diff.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Copyright (C) 2008, 2009 Michael Trier (mtrier@gmail.com) and contributors
33
#
44
# This module is part of GitPython and is released under
5-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
5+
# the BSD License: https://opensource.org/license/bsd-3-clause/
66

77
import re
88
from git.cmd import handle_process_output

git/exc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Copyright (C) 2008, 2009 Michael Trier (mtrier@gmail.com) and contributors
33
#
44
# This module is part of GitPython and is released under
5-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
5+
# the BSD License: https://opensource.org/license/bsd-3-clause/
66
""" Module containing all exceptions thrown throughout the git package, """
77

88
from gitdb.exc import BadName # NOQA @UnusedWildImport skipcq: PYL-W0401, PYL-W0614

git/index/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Copyright (C) 2008, 2009 Michael Trier (mtrier@gmail.com) and contributors
33
#
44
# This module is part of GitPython and is released under
5-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
5+
# the BSD License: https://opensource.org/license/bsd-3-clause/
66

77
from contextlib import ExitStack
88
import datetime

git/objects/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Copyright (C) 2008, 2009 Michael Trier (mtrier@gmail.com) and contributors
33
#
44
# This module is part of GitPython and is released under
5-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
5+
# the BSD License: https://opensource.org/license/bsd-3-clause/
66

77
from git.exc import WorkTreeRepositoryUnsupported
88
from git.util import LazyMixin, join_path_native, stream_copy, bin_to_hex

git/objects/blob.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Copyright (C) 2008, 2009 Michael Trier (mtrier@gmail.com) and contributors
33
#
44
# This module is part of GitPython and is released under
5-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
5+
# the BSD License: https://opensource.org/license/bsd-3-clause/
66
from mimetypes import guess_type
77
from . import base
88

git/objects/commit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Copyright (C) 2008, 2009 Michael Trier (mtrier@gmail.com) and contributors
33
#
44
# This module is part of GitPython and is released under
5-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
5+
# the BSD License: https://opensource.org/license/bsd-3-clause/
66
import datetime
77
import re
88
from subprocess import Popen, PIPE

0 commit comments

Comments
 (0)