Skip to content

Commit 3b1526f

Browse files
committed
#63 - Update link references of ownership from nexB to aboutcode-org
Signed-off-by: Chin Yeung Li <tli@nexb.com>
1 parent db9dd08 commit 3b1526f

29 files changed

+1253
-686
lines changed

NOTICE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
# ScanCode is a trademark of nexB Inc.
44
# SPDX-License-Identifier: Apache-2.0
55
# See http://www.apache.org/licenses/LICENSE-2.0 for the license text.
6-
# See https://github.com/nexB/extractcode for support or download.
6+
# See https://github.com/aboutcode-org/extractcode for support or download.
77
# See https://aboutcode.org for more information about nexB OSS projects.
88
#

README.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ExtractCode
44

55
- license: Apache-2.0
66
- copyright: copyright (c) nexB. Inc. and others
7-
- homepage_url: https://github.com/nexB/extractcode
7+
- homepage_url: https://github.com/aboutcode-org/extractcode
88
- keywords: archive, extraction, libarchive, 7zip, scancode-toolkit, extractcode
99

1010
Supports Windows, Linux and macOS on 64 bits processors and Python 3.6 to 3.9.
@@ -83,7 +83,7 @@ libmagic) to select the most appropriate extractor or decompressor function.
8383
It can handle multi-level archives such as tar.gz and can extract recursively
8484
any nested archives.
8585

86-
Visit https://aboutcode.org and https://github.com/nexB/ for support and download.
86+
Visit https://aboutcode.org and https://github.com/aboutcode-org/ for support and download.
8787

8888

8989
We run CI tests on:
@@ -109,7 +109,7 @@ In this case, you will need to provide a working and compatible libarchive and
109109
find them:
110110

111111
- **a typecode-libarchive and typecode-7z plugin**: See the standard ones at
112-
https://github.com/nexB/scancode-plugins/tree/main/builtins
112+
https://github.com/aboutcode-org/scancode-plugins/tree/main/builtins
113113
These can either bundle a libarchive library, a 7z executable or expose a
114114
system-installed libraries.
115115
It does so by providing plugin entry points as ``scancode_location_provider``
@@ -121,8 +121,8 @@ find them:
121121

122122
See for example:
123123

124-
- https://github.com/nexB/scancode-plugins/blob/4da5fe8a5ab1c87b9b4af9e54d7ad60e289747f5/builtins/extractcode_libarchive-linux/setup.py#L40
125-
- https://github.com/nexB/scancode-plugins/blob/4da5fe8a5ab1c87b9b4af9e54d7ad60e289747f5/builtins/extractcode_libarchive-linux/src/extractcode_libarchive/__init__.py#L17
124+
- https://github.com/aboutcode-org/scancode-plugins/blob/4da5fe8a5ab1c87b9b4af9e54d7ad60e289747f5/builtins/extractcode_libarchive-linux/setup.py#L40
125+
- https://github.com/aboutcode-org/scancode-plugins/blob/4da5fe8a5ab1c87b9b4af9e54d7ad60e289747f5/builtins/extractcode_libarchive-linux/src/extractcode_libarchive/__init__.py#L17
126126

127127
And in the same way, the ``scancode_location_provider`` for ``extractcode_7zip``
128128
should point to a ``LocationProviderPlugin`` subclass with a ``get_locations()``
@@ -132,8 +132,8 @@ find them:
132132

133133
See for example:
134134

135-
- https://github.com/nexB/scancode-plugins/blob/4da5fe8a5ab1c87b9b4af9e54d7ad60e289747f5/builtins/extractcode_7z-linux/setup.py#L40
136-
- https://github.com/nexB/scancode-plugins/blob/4da5fe8a5ab1c87b9b4af9e54d7ad60e289747f5/builtins/extractcode_7z-linux/src/extractcode_7z/__init__.py#L18
135+
- https://github.com/aboutcode-org/scancode-plugins/blob/4da5fe8a5ab1c87b9b4af9e54d7ad60e289747f5/builtins/extractcode_7z-linux/setup.py#L40
136+
- https://github.com/aboutcode-org/scancode-plugins/blob/4da5fe8a5ab1c87b9b4af9e54d7ad60e289747f5/builtins/extractcode_7z-linux/src/extractcode_7z/__init__.py#L18
137137

138138
- use **environment variables** to point to installed binaries:
139139

@@ -181,14 +181,14 @@ ExtractCode will use these environment variables if set:
181181
- EXTRACTCODE_LIBARCHIVE_PATH : the path to the ``libarchive.so`` libarchive
182182
shared library used to support some of the archive formats. If not provided,
183183
ExtractCode will look for a plugin-provided libarchive library path. See
184-
https://github.com/nexB/scancode-plugins/tree/main/builtins for such plugins.
184+
https://github.com/aboutcode-org/scancode-plugins/tree/main/builtins for such plugins.
185185
If no plugin contributes libarchive, then a final attempt is made to look for
186186
it in the PATH using standard DLL loading techniques.
187187

188188
- EXTRACTCODE_7Z_PATH : the path to the ``7z`` 7zip executable used to support
189189
some of the archive formats. If not provided, ExtractCode will look for a
190190
plugin-provided 7z executable path. See
191-
https://github.com/nexB/scancode-plugins/tree/main/builtins for such plugins.
191+
https://github.com/aboutcode-org/scancode-plugins/tree/main/builtins for such plugins.
192192
If no plugin contributes 7z, then a final attempt is made to look for
193193
it in the PATH.
194194

configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright (c) nexB Inc. and others. All rights reserved.
44
# SPDX-License-Identifier: Apache-2.0
55
# See http://www.apache.org/licenses/LICENSE-2.0 for the license text.
6-
# See https://github.com/nexB/ for support or download.
6+
# See https://github.com/aboutcode-org/ for support or download.
77
# See https://aboutcode.org for more information about nexB OSS projects.
88
#
99

configure.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
@rem Copyright (c) nexB Inc. and others. All rights reserved.
55
@rem SPDX-License-Identifier: Apache-2.0
66
@rem See http://www.apache.org/licenses/LICENSE-2.0 for the license text.
7-
@rem See https://github.com/nexB/ for support or download.
7+
@rem See https://github.com/aboutcode-org/ for support or download.
88
@rem See https://aboutcode.org for more information about nexB OSS projects.
99

1010

extractcode

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# SPDX-License-Identifier: Apache-2.0
55
# See http://www.apache.org/licenses/LICENSE-2.0 for the license text.
66
# ScanCode is a trademark of nexB Inc.
7-
# See https://github.com/nexB/extractcode for support or download.
7+
# See https://github.com/aboutcode-org/extractcode for support or download.
88
# See https://aboutcode.org for more information about nexB OSS projects.
99
#
1010
# A minimal shell wrapper to the CLI entry point fo ExtractCode

extractcode.ABOUT

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ about_resource: .
22
copyright: copyright (c) nexB. Inc. and others
33
description: A mostly universal archive extractor using 7zip, libarchive and the
44
Python standard library for reliable archive extraction on Linux, Windows and
5-
macOS. It is used by ScanCode toolkit and related projects.
5+
macOS. It is used by ScanCode toolkit and related projects.
66
keywords: archive, extraction, libarchive, 7zip, gzip, xz, lzma, bzip2, tar, ar, cpio, scancode-toolkit
7-
homepage_url: https://github.com/nexB/extractcode
7+
homepage_url: https://github.com/aboutcode-org/extractcode
88
holder: nexB. Inc. and others
99
holder_contact: info@aboutcode.org
1010
license_expression: apache-2.0

extractcode.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
@rem SPDX-License-Identifier: Apache-2.0
55
@rem See http://www.apache.org/licenses/LICENSE-2.0 for the license text.
66
@rem ScanCode is a trademark of nexB Inc.
7-
@rem See https://github.com/nexB/extractcode for support or download.
7+
@rem See https://github.com/aboutcode-org/extractcode for support or download.
88
@rem See https://aboutcode.org for more information about nexB OSS projects.
99

1010
@rem A wrapper to ExtractCode command line entry point

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ license = Apache-2.0
66
description = A mostly universal archive extractor using 7zip, libarchive and the Python standard library for reliable archive extraction.
77
long_description = file:README.rst
88
long_description_content_type = text/x-rst
9-
url = https://github.com/nexB/extractcode
9+
url = https://github.com/aboutcode-org/extractcode
1010

1111
author = nexB. Inc. and others
1212
author_email = info@aboutcode.org

src/extractcode/NOTICE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
# ScanCode is a trademark of nexB Inc.
44
# SPDX-License-Identifier: Apache-2.0
55
# See http://www.apache.org/licenses/LICENSE-2.0 for the license text.
6-
# See https://github.com/nexB/extractcode for support or download.
6+
# See https://github.com/aboutcode-org/extractcode for support or download.
77
# See https://aboutcode.org for more information about nexB OSS projects.
88
#

src/extractcode/__init__.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# ScanCode is a trademark of nexB Inc.
44
# SPDX-License-Identifier: Apache-2.0
55
# See http://www.apache.org/licenses/LICENSE-2.0 for the license text.
6-
# See https://github.com/nexB/extractcode for support or download.
6+
# See https://github.com/aboutcode-org/extractcode for support or download.
77
# See https://aboutcode.org for more information about nexB OSS projects.
88
#
99

@@ -123,7 +123,8 @@ def remove_backslashes_and_dotdots(directory):
123123
continue
124124
try:
125125
new_path = as_posixpath(filename).strip('/')
126-
new_path = posixpath.normpath(new_path).replace('..', '/').strip('/')
126+
new_path = posixpath.normpath(
127+
new_path).replace('..', '/').strip('/')
127128
new_path = posixpath.normpath(new_path)
128129
segments = new_path.split('/')
129130
directory = join(top, *segments[:-1])

0 commit comments

Comments
 (0)