Skip to content

Commit c75b50d

Browse files
committed
Adopt streamlined headers from ScanCode
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent 13782ee commit c75b50d

29 files changed

Lines changed: 165 additions & 100 deletions

src/debian_inspector/__init__.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#
2-
# Copyright (c) nexB Inc. and others.
3-
# http://nexb.com and https://github.com/nexB/debian_inspector/
4-
2+
# Copyright (c) nexB Inc. and others. All rights reserved.
53
# SPDX-License-Identifier: Apache-2.0
4+
# See http://www.apache.org/licenses/LICENSE-2.0 for the license text.
5+
# See https://github.com/nexB/debian-inspector for support or download.
6+
# See https://aboutcode.org for more information about nexB OSS projects.
7+
#
8+

src/debian_inspector/contents.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
#
2-
# Copyright (c) nexB Inc. and others.
3-
# http://nexb.com and https://github.com/nexB/debian_inspector/
4-
2+
# Copyright (c) nexB Inc. and others. All rights reserved.
53
# SPDX-License-Identifier: Apache-2.0
4+
# See http://www.apache.org/licenses/LICENSE-2.0 for the license text.
5+
# See https://github.com/nexB/debian-inspector for support or download.
6+
# See https://aboutcode.org for more information about nexB OSS projects.
7+
#
8+
69

710
from collections import defaultdict
811
import gzip

src/debian_inspector/copyright.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
#
2-
# Copyright (c) nexB Inc. and others.
3-
# http://nexb.com and https://github.com/nexB/debian_inspector/
4-
2+
# Copyright (c) nexB Inc. and others. All rights reserved.
53
# SPDX-License-Identifier: Apache-2.0
4+
# See http://www.apache.org/licenses/LICENSE-2.0 for the license text.
5+
# See https://github.com/nexB/debian-inspector for support or download.
6+
# See https://aboutcode.org for more information about nexB OSS projects.
7+
#
8+
69

710
from email import utils as email_utils
811
import itertools

src/debian_inspector/coverage.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
#
2-
# Copyright (c) nexB Inc. and others.
3-
# http://nexb.com and https://github.com/nexB/debian_inspector/
4-
52
# Copyright 2013 Agustin Henze <tin@sluc.org.ar>
6-
3+
# Copyright (c) nexB Inc. and others. All rights reserved.
74
# SPDX-License-Identifier: Apache-2.0
5+
# See http://www.apache.org/licenses/LICENSE-2.0 for the license text.
6+
# See https://github.com/nexB/debian-inspector for support or download.
7+
# See https://aboutcode.org for more information about nexB OSS projects.
8+
#
89

910
import fnmatch
1011
import os

src/debian_inspector/debcon.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
#
2-
# Copyright (c) nexB Inc. and others.
3-
# http://nexb.com and https://github.com/nexB/debian_inspector/
4-
2+
# Copyright (c) nexB Inc. and others. All rights reserved.
3+
# SPDX-License-Identifier: Apache-2.0 AND MIT
4+
# See http://www.apache.org/licenses/LICENSE-2.0 for the license text.
5+
# See https://github.com/nexB/debian-inspector for support or download.
6+
# See https://aboutcode.org for more information about nexB OSS projects.
57
# Copyright (c) 2018 Peter Odding
68
# Author: Peter Odding <peter@peterodding.com>
79
# URL: https://github.com/xolox/python-deb-pkg-tools
810

9-
# SPDX-License-Identifier: Apache-2.0 AND MIT
10-
1111
from collections.abc import Mapping
1212
from collections.abc import MutableMapping
1313
from collections.abc import Sequence

src/debian_inspector/deps.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
#
2-
# Copyright (c) nexB Inc. and others.
3-
# http://nexb.com and https://github.com/nexB/debian_inspector/
4-
2+
# Copyright (c) nexB Inc. and others. All rights reserved.
3+
# SPDX-License-Identifier: Apache-2.0 AND MIT
4+
# See http://www.apache.org/licenses/LICENSE-2.0 for the license text.
5+
# See https://github.com/nexB/debian-inspector for support or download.
6+
# See https://aboutcode.org for more information about nexB OSS projects.
57
# Copyright (c) 2018 Peter Odding
68
# Author: Peter Odding <peter@peterodding.com>
79
# URL: https://github.com/xolox/python-deb-pkg-tools
810

9-
# SPDX-License-Identifier: Apache-2.0 AND MIT
1011

1112
import re
1213

src/debian_inspector/package.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
#
2-
# Copyright (c) nexB Inc. and others.
3-
# http://nexb.com and https://github.com/nexB/debian_inspector/
4-
2+
# Copyright (c) nexB Inc. and others. All rights reserved.
3+
# SPDX-License-Identifier: Apache-2.0 AND MIT
4+
# See http://www.apache.org/licenses/LICENSE-2.0 for the license text.
5+
# See https://github.com/nexB/debian-inspector for support or download.
6+
# See https://aboutcode.org for more information about nexB OSS projects.
57
# Copyright (c) 2018 Peter Odding
68
# Author: Peter Odding <peter@peterodding.com>
79
# URL: https://github.com/xolox/python-deb-pkg-tools
10+
#
811

9-
# SPDX-License-Identifier: Apache-2.0 AND MIT
1012

1113
import itertools
1214
from os import path

src/debian_inspector/unsign.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#
2-
# Copyright (c) nexB Inc. and others.
3-
# http://nexb.com and https://github.com/nexB/debian_inspector/
4-
52
# Copyright (c) 2014-2019 Security Innovation, Inc
6-
# All rights reserved.
7-
3+
# Copyright (c) nexB Inc. and others. All rights reserved.
84
# SPDX-License-Identifier: Apache-2.0 AND BSD-3-Clause
5+
# See http://www.apache.org/licenses/LICENSE-2.0 for the license text.
6+
# See https://github.com/nexB/debian-inspector for support or download.
7+
# See https://aboutcode.org for more information about nexB OSS projects.
8+
#
99

1010
import re
1111

src/debian_inspector/utils.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
#
2-
# Copyright (c) nexB Inc. and others.
3-
# http://nexb.com and https://github.com/nexB/debian_inspector/
4-
2+
# Copyright (c) nexB Inc. and others. All rights reserved.
3+
# SPDX-License-Identifier: Apache-2.0 AND MIT
4+
# See http://www.apache.org/licenses/LICENSE-2.0 for the license text.
5+
# See https://github.com/nexB/debian-inspector for support or download.
6+
# See https://aboutcode.org for more information about nexB OSS projects.
57
# Copyright (c) 2018 Peter Odding
68
# Author: Peter Odding <peter@peterodding.com>
79
# URL: https://github.com/xolox/python-deb-pkg-tools
810

9-
# SPDX-License-Identifier: Apache-2.0 AND MIT
1011

1112
import os
1213

src/debian_inspector/version.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
#
2-
# Copyright (c) nexB Inc. and others.
3-
# http://nexb.com and https://github.com/nexB/debian_inspector/
2+
# Copyright (c) nexB Inc. and others. All rights reserved.
3+
# SPDX-License-Identifier: MIT
4+
# See http://www.apache.org/licenses/LICENSE-2.0 for the license text.
5+
# See https://github.com/nexB/debian-inspector for support or download.
6+
# See https://aboutcode.org for more information about nexB OSS projects.
47
# Copyright (c) Peter Odding
58
# Author: Peter Odding <peter@peterodding.com>
69
# URL: https://github.com/xolox/python-deb-pkg-tools
7-
# SPDX-License-Identifier: MIT
10+
#
811

912
import logging
1013
import operator as operator_module

0 commit comments

Comments
 (0)