diff --git a/CHANGELOG.rst b/CHANGELOG.rst index db3d20329..7f0fef300 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -44,6 +44,9 @@ v34.7.2 (unreleased) - Move the BasePipeline class to a new `aboutcode.pipeline` module. https://github.com/nexB/scancode.io/issues/1351 +- Update link references of ownership from nexB to aboutcode-org + https://github.com/aboutcode-org/scancode.io/issues/1350 + v34.7.1 (2024-07-15) -------------------- diff --git a/Dockerfile b/Dockerfile index 738e1b0de..49205124e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,11 +18,11 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. FROM python:3.12-slim -LABEL org.opencontainers.image.source="https://github.com/nexB/scancode.io" +LABEL org.opencontainers.image.source="https://github.com/aboutcode-org/scancode.io" LABEL org.opencontainers.image.description="ScanCode.io" LABEL org.opencontainers.image.licenses="Apache-2.0" diff --git a/Makefile b/Makefile index 8eddc2cdf..e2451b964 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. # Python version can be specified with `$ PYTHON_EXE=python3.x make conf` PYTHON_EXE?=python3 diff --git a/NOTICE b/NOTICE index 600ee4510..e1c46c9e9 100644 --- a/NOTICE +++ b/NOTICE @@ -1,6 +1,6 @@ SPDX-License-Identifier: Apache-2.0 -http://nexb.com and https://github.com/nexB/scancode.io +http://nexb.com and https://github.com/aboutcode-org/scancode.io The ScanCode.io software is licensed under the Apache License version 2.0. Data generated with ScanCode.io is provided as-is without warranties. ScanCode is a trademark of nexB Inc. @@ -18,4 +18,4 @@ ScanCode.io should be considered or used as legal advice. Consult an Attorney for any legal advice. ScanCode.io is a free software code scanning tool from nexB Inc. and others. -Visit https://github.com/nexB/scancode.io for support and download. \ No newline at end of file +Visit https://github.com/aboutcode-org/scancode.io for support and download. diff --git a/README.rst b/README.rst index fed0cabaa..ffe0fad2f 100644 --- a/README.rst +++ b/README.rst @@ -14,13 +14,13 @@ The ScanCode.io documentation is available here: https://scancodeio.readthedocs. If you have questions that are not covered by our `Documentation `_ or `FAQs `_, -please ask them in `Discussions `_. +please ask them in `Discussions `_. If you want to contribute to ScanCode.io, start with our `Contributing `_ page. A new GitHub action is now available at -`scancode-action `_ +`scancode-action `_ to run ScanCode.io pipelines from your GitHub Workflows. Visit https://scancodeio.readthedocs.io/en/latest/automation.html to learn more about automation. @@ -56,8 +56,8 @@ ScanCode.io should be considered or used as legal advice. Consult an Attorney for any legal advice. -.. |ci-tests| image:: https://github.com/nexB/scancode.io/actions/workflows/ci.yml/badge.svg?branch=main - :target: https://github.com/nexB/scancode.io/actions/workflows/ci.yml +.. |ci-tests| image:: https://github.com/aboutcode-org/scancode.io/actions/workflows/ci.yml/badge.svg?branch=main + :target: https://github.com/aboutcode-org/scancode.io/actions/workflows/ci.yml :alt: CI Tests Status .. |docs-rtd| image:: https://readthedocs.org/projects/scancodeio/badge/?version=latest diff --git a/aboutcode/pipeline/__init__.py b/aboutcode/pipeline/__init__.py index f08a97c9c..db301e7b3 100644 --- a/aboutcode/pipeline/__init__.py +++ b/aboutcode/pipeline/__init__.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. import logging import traceback @@ -204,7 +204,8 @@ def execute(self): step_run_time = timer() - step_start_time self.log(f"Step [{step_name}] completed in {humanize_time(step_run_time)}") - self.set_current_step("") # Reset the `current_step` field on completion + # Reset the `current_step` field on completion + self.set_current_step("") pipeline_run_time = timer() - pipeline_start_time self.log(f"Pipeline completed in {humanize_time(pipeline_run_time)}") diff --git a/docs/application-settings.rst b/docs/application-settings.rst index 86788d0af..3153c35b6 100644 --- a/docs/application-settings.rst +++ b/docs/application-settings.rst @@ -304,7 +304,7 @@ VULNERABLECODE ^^^^^^^^^^^^^^ You have the option to either deploy your instance of -`VulnerableCode `_ +`VulnerableCode `_ or connect to the `public instance `_. To configure your local environment, set the ``VULNERABLECODE_URL`` in your ``.env`` diff --git a/docs/automation.rst b/docs/automation.rst index 54efae725..6b82decc5 100644 --- a/docs/automation.rst +++ b/docs/automation.rst @@ -24,7 +24,7 @@ automation methods such as a cron job or a git hook:: # Configure the following variables to your needs PROJECT_NAME = f"scan-{datetime.now().isoformat()}" INPUT_URLS = [ - "https://github.com/nexB/scancode.io/archive/refs/tags/v32.4.0.zip", + "https://github.com/aboutcode-org/scancode.io/archive/refs/tags/v32.4.0.zip", ] PIPELINES = [ "inspect_packages", diff --git a/docs/command-line-interface.rst b/docs/command-line-interface.rst index cf8d22deb..8bfb3cb76 100644 --- a/docs/command-line-interface.rst +++ b/docs/command-line-interface.rst @@ -179,7 +179,7 @@ copy ``~/docker/alpine-base.tar`` to the foo project :guilabel:`input/` director You can also provide URLs of files to be downloaded to the foo project :guilabel:`input/` directory:: - $ scanpipe add-input --project foo --input-url https://github.com/nexB/scancode.io-tutorial/releases/download/sample-images/30-alpine-nickolashkraus-staticbox-latest.tar + $ scanpipe add-input --project foo --input-url https://github.com/aboutcode-org/scancode.io-tutorial/releases/download/sample-images/30-alpine-nickolashkraus-staticbox-latest.tar .. note:: Docker images can be provided as input using their Docker reference with the ``docker://docker-reference`` syntax. For example:: @@ -194,7 +194,7 @@ You can also provide URLs of files to be downloaded to the foo project .. note:: Git repositories are supported as input using their Git clone URL in the ``https://[:]/.git`` syntax. For example:: - $ [...] --input-url https://github.com/nexB/scancode.io.git + $ [...] --input-url https://github.com/aboutcode-org/scancode.io.git `$ scanpipe add-pipeline --project PROJECT PIPELINE_NAME [PIPELINE_NAME ...]` diff --git a/docs/contributing.rst b/docs/contributing.rst index 65762c64a..7e8bf09b0 100644 --- a/docs/contributing.rst +++ b/docs/contributing.rst @@ -17,9 +17,9 @@ Do Your Homework ---------------- Before adding a contribution or create a new issue, take a look at the project’s -`README `_, read through our +`README `_, read through our `documentation `_, -and browse existing `issues `_, +and browse existing `issues `_, to develop some understanding of the project and confirm whether a given issue/feature has previously been discussed. @@ -34,7 +34,7 @@ First Timers You are here to help, but you're a new contributor! No worries, we always welcome newcomer contributors. We maintain some -`good first issues `_ +`good first issues `_ and encourage new contributors to work on those issues for a smooth start. .. warning:: @@ -55,15 +55,15 @@ and encourage new contributors to work on those issues for a smooth start. Report Issues ^^^^^^^^^^^^^ -- Report a new `bug `_; just remember to be +- Report a new `bug `_; just remember to be as specific as possible. -- Create a `new issue `_ to request a +- Create a `new issue `_ to request a feature, submit a feedback, or ask a question. -- Look into existing `bugs `_, +- Look into existing `bugs `_, try to reproduce the issue on your side, and discuss solutions in the comments. .. note:: - Make sure to check existing `issues `_, + Make sure to check existing `issues `_, and :ref:`faq` to confirm whether a given issue or a question has previously been discussed. @@ -72,7 +72,7 @@ Code Contributions Code is contributed to the codebase using **pull requests**. A pull request should always be attached to an existing issue. -When there is no existing issues, start by `creating one `_ +When there is no existing issues, start by `creating one `_ to discuss potential solutions and implementation details before writing any code. We use several conventions to ensure code quality regarding format, testing, and @@ -98,7 +98,7 @@ attribution. 3. **Commit messages and Developer Certificate of Origin** Follow the instructions at `Writing good Commit Messages `_ - and `check some examples `_. + and `check some examples `_. **You must include a "Signed-off-by" to your commit messages**:: diff --git a/docs/custom-pipelines.rst b/docs/custom-pipelines.rst index f93c73605..657c53fb9 100644 --- a/docs/custom-pipelines.rst +++ b/docs/custom-pipelines.rst @@ -221,7 +221,7 @@ the entry point to the pipeline under the ``[options.entry_points]`` section. # description must be on ONE line https://github.com/pypa/setuptools/issues/1390 description = Generates a licenses report file from a template in ScanCode.io long_description = file:README.rst - url = https://github.com/nexB/scancode.io + url = https://github.com/aboutcode-org/scancode.io classifiers = Development Status :: 4 - Beta Intended Audience :: Developers @@ -249,7 +249,7 @@ the entry point to the pipeline under the ``[options.entry_points]`` section. .. tip:: Take a look at `Google License Classifier pipeline for ScanCode.io - `_ + `_ for a complete example on packaging a custom tool as a pipeline. Pipeline Publishing to PyPI diff --git a/docs/faq.rst b/docs/faq.rst index 782de1b25..c6ea729c5 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -137,23 +137,23 @@ What tool does ScanCode.io use to analyze docker images? The following tools and libraries are used during the docker images analysis pipeline: - - `container-inspector `_ and - `debian-inspector `_ for handling containers + - `container-inspector `_ and + `debian-inspector `_ for handling containers and distros. - `fetchcode-container `_ to download containers and images. - - `scancode-toolkit `_ for application + - `scancode-toolkit `_ for application package scans and system package scans. - - `extractcode `_ for universal and reliable + - `extractcode `_ for universal and reliable archive extraction. - Specific handling of windows containers is done in - `scancode-toolkit `_ to process the windows registry. + `scancode-toolkit `_ to process the windows registry. - Secondary libraries and plugins from - `scancode-plugins `_. + `scancode-plugins `_. The pipeline documentation is available at :ref:`pipeline_analyze_docker_image` and its source code at -`docker.py `_. +`docker.py `_. It is hopefully designed to be simple and readable code. Am I able to run ScanCode.io on Windows? diff --git a/docs/installation.rst b/docs/installation.rst index 16485cc64..281ce08f0 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -40,10 +40,10 @@ required for the creation of the Docker image. git config --global core.autocrlf false -**Clone the git** `ScanCode.io repo `_, +**Clone the git** `ScanCode.io repo `_, create an **environment file**, and **build the Docker image**:: - git clone https://github.com/nexB/scancode.io.git && cd scancode.io + git clone https://github.com/aboutcode-org/scancode.io.git && cd scancode.io make envfile docker compose build @@ -108,7 +108,7 @@ An overview of the web application usage is available at :ref:`user_interface`. Upgrade the App ^^^^^^^^^^^^^^^ -**Update your local** `ScanCode.io repo `_, +**Update your local** `ScanCode.io repo `_, and **build the Docker image**:: cd scancode.io @@ -123,7 +123,7 @@ and **build the Docker image**:: docker compose run -u 0:0 web chown -R app:app /var/scancodeio/ - See also https://github.com/nexB/scancode.io/issues/399 + See also https://github.com/aboutcode-org/scancode.io/issues/399 .. note:: You need to rebuild the image whenever ScanCode.io's source code has been @@ -283,9 +283,9 @@ For the :ref:`pipeline_collect_strings_gettext` pipeline, `gettext `_:: + * Clone the `ScanCode.io GitHub repository `_:: - git clone https://github.com/nexB/scancode.io.git && cd scancode.io + git clone https://github.com/aboutcode-org/scancode.io.git && cd scancode.io * Inside the :guilabel:`scancode.io/` directory, install the required dependencies:: @@ -398,7 +398,7 @@ Helm Chart [Beta] The Helm Chart support for ScanCode.io is a community contribution effort. It is only tested on a few configurations and still under development. We welcome improvement suggestions and issue reports at - `ScanCode.io GitHub repo `_. + `ScanCode.io GitHub repo `_. Requirements ^^^^^^^^^^^^ @@ -478,13 +478,13 @@ Gitpod .. warning:: The Gitpod support for ScanCode.io is a community contribution effort. We welcome improvement suggestions and issue reports at - `ScanCode.io GitHub repo `_. + `ScanCode.io GitHub repo `_. Installation ^^^^^^^^^^^^ * Create a new Workspace and open it in VSCode Browser or your preferred IDE. - Provide the ScanCode.io GitHub repo URL: https://github.com/nexB/scancode.io + Provide the ScanCode.io GitHub repo URL: https://github.com/aboutcode-org/scancode.io * Open the "TERMINAL" window and create the ``.env`` file with:: diff --git a/docs/introduction.rst b/docs/introduction.rst index 4bfb0320d..2e178bb9a 100644 --- a/docs/introduction.rst +++ b/docs/introduction.rst @@ -80,7 +80,7 @@ Dependencies and Internal Tools ScanCode.io is essentially a `Django `_-based application wrapper around the -`ScanCode Toolkit `_ scanning engine. +`ScanCode Toolkit `_ scanning engine. The **Django framework** is leveraged for many aspects of ScanCode.io: @@ -91,13 +91,13 @@ The **Django framework** is leveraged for many aspects of ScanCode.io: .. note:: Multiple applications from the Django eco-system are also included, - see the `setup.cfg `_ file + see the `setup.cfg `_ file for an exhaustive list of dependencies. The second essential part of ScanCode.io is the **ScanCode Toolkit**, which is used for archives extraction and as the scanning engine. -The nexB `container-inspector `_ library +The nexB `container-inspector `_ library is also a key component of ScanCode.io as this tool is used to analyse Docker images, containers, root filesystems, and virtual machine images. diff --git a/docs/output-files.rst b/docs/output-files.rst index 0a80c89cb..40baf118d 100644 --- a/docs/output-files.rst +++ b/docs/output-files.rst @@ -83,7 +83,7 @@ as shown below { "tool_name": "scanpipe", "tool_version": "21.6.10", - "notice": "Generated with ScanCode and provided on an \"AS IS\" BASIS, WITHOUT WARRANTIES\nOR CONDITIONS OF ANY KIND, either express or implied. No content created from\nScanCode should be considered or used as legal advice. Consult an Attorney\nfor any legal advice.\nScanCode is a free software code scanning tool from nexB Inc. and others.\nVisit https://github.com/nexB/scancode-toolkit/ for support and download.", + "notice": "Generated with ScanCode and provided on an \"AS IS\" BASIS, WITHOUT WARRANTIES\nOR CONDITIONS OF ANY KIND, either express or implied. No content created from\nScanCode should be considered or used as legal advice. Consult an Attorney\nfor any legal advice.\nScanCode is a free software code scanning tool from nexB Inc. and others.\nVisit https://github.com/aboutcode-org/scancode-toolkit/ for support and download.", "uuid": "f06e257e-3126-4220-87c7-13583ced38a0", "created_date": "2021-06-12T19:51:26.218Z", "input_files": [ diff --git a/docs/rest-api.rst b/docs/rest-api.rst index f256e6b41..244cb51ec 100644 --- a/docs/rest-api.rst +++ b/docs/rest-api.rst @@ -237,7 +237,7 @@ Using cURL to provide download URLs: content_type="Content-Type: application/json" data='{ "input_urls": [ - "https://github.com/nexB/debian-inspector/archive/refs/tags/v21.5.25.zip", + "https://github.com/aboutcode-org/debian-inspector/archive/refs/tags/v21.5.25.zip", "https://github.com/package-url/packageurl-python/archive/refs/tags/0.9.4.tar.gz" ] }' diff --git a/docs/scanpipe-concepts.rst b/docs/scanpipe-concepts.rst index 4027a0da8..bb164bb66 100644 --- a/docs/scanpipe-concepts.rst +++ b/docs/scanpipe-concepts.rst @@ -124,7 +124,7 @@ The following are some of the ``CodebaseResource`` attributes: **copyright holders**, and **related packages**. .. note:: - Please note that `ScanCode-toolkit `_ + Please note that `ScanCode-toolkit `_ use the same attributes and attribute names for files. .. _discovered_packages: @@ -147,5 +147,5 @@ The following are some of the ``DiscoveredPackage`` attributes: - Copyright, license_expression, and declared_license .. note:: - Please note that `ScanCode-toolkit `_ + Please note that `ScanCode-toolkit `_ use the same attributes and attribute names for packages. diff --git a/docs/tutorial_cli_analyze_docker_image.rst b/docs/tutorial_cli_analyze_docker_image.rst index 0d3f0ef3a..65346537b 100644 --- a/docs/tutorial_cli_analyze_docker_image.rst +++ b/docs/tutorial_cli_analyze_docker_image.rst @@ -32,11 +32,11 @@ Instructions - Download the following **test Docker image** and save it to the :guilabel:`~/codedrop/` directory: `30-alpine-nickolashkraus-staticbox-latest.tar - `_ + `_ .. code-block:: console - $ curl https://github.com/nexB/scancode.io-tutorial/releases/download/sample-images/30-alpine-nickolashkraus-staticbox-latest.tar --output ~/codedrop/30-alpine-nickolashkraus-staticbox-latest.tar + $ curl https://github.com/aboutcode-org/scancode.io-tutorial/releases/download/sample-images/30-alpine-nickolashkraus-staticbox-latest.tar --output ~/codedrop/30-alpine-nickolashkraus-staticbox-latest.tar - Create an alias to the ``scanpipe`` command executed through the ``docker compose`` command line interface with: @@ -161,6 +161,6 @@ Instructions .. code-block:: bash $ scanpipe create-project staticbox2 \ - --input-url https://github.com/nexB/scancode.io-tutorial/releases/download/sample-images/30-alpine-nickolashkraus-staticbox-latest.tar \ + --input-url https://github.com/aboutcode-org/scancode.io-tutorial/releases/download/sample-images/30-alpine-nickolashkraus-staticbox-latest.tar \ --pipeline analyze_docker_image \ --execute diff --git a/docs/tutorial_cli_end_to_end_scanning_to_dejacode.rst b/docs/tutorial_cli_end_to_end_scanning_to_dejacode.rst index 87ae1acca..45ccb880a 100644 --- a/docs/tutorial_cli_end_to_end_scanning_to_dejacode.rst +++ b/docs/tutorial_cli_end_to_end_scanning_to_dejacode.rst @@ -58,9 +58,9 @@ Fetch codebase to scan **Local Project Codebase**: Ensure you have a local checkout of your project's codebase. -We are using this repo for our tutorial: https://github.com/nexB/scancode-workbench +We are using this repo for our tutorial: https://github.com/aboutcode-org/scancode-workbench -We download the following: https://github.com/nexB/scancode-workbench/archive/refs/tags/v4.0.2.tar.gz +We download the following: https://github.com/aboutcode-org/scancode-workbench/archive/refs/tags/v4.0.2.tar.gz Extract the checkout and delete the archive: @@ -186,8 +186,8 @@ we need to ensure that we have a product set up for this project in DejaCode. -d '{ "name": "scancode-workbench", "version": "4.0.2", - "vcs_url": "https://github.com/nexB/scancode-workbench.git", - "homepage_url": "https://github.com/nexB/scancode-workbench" + "vcs_url": "https://github.com/aboutcode-org/scancode-workbench.git", + "homepage_url": "https://github.com/aboutcode-org/scancode-workbench" }' .. tip:: @@ -217,8 +217,8 @@ we need to ensure that we have a product set up for this project in DejaCode. "description":"", "copyright":"", "contact":"", - "homepage_url":"https://github.com/nexB/scancode-workbench", - "vcs_url":"https://github.com/nexB/scancode-workbench.git", + "homepage_url":"https://github.com/aboutcode-org/scancode-workbench", + "vcs_url":"https://github.com/aboutcode-org/scancode-workbench.git", "code_view_url":"", "bug_tracking_url":"", "primary_language":"", diff --git a/docs/tutorial_vulnerablecode_integration.rst b/docs/tutorial_vulnerablecode_integration.rst index 273d6bf37..5db5baf04 100644 --- a/docs/tutorial_vulnerablecode_integration.rst +++ b/docs/tutorial_vulnerablecode_integration.rst @@ -17,7 +17,7 @@ Configure VulnerableCode integration The ``find_vulnerabilities`` pipeline requires access to a VulnerableCode database. You have the option to either deploy your instance of -`VulnerableCode `_ +`VulnerableCode `_ or connect to the `public instance `_. To configure your local environment, set the ``VULNERABLECODE_URL`` in your ``.env`` diff --git a/pipeline-pyproject.toml b/pipeline-pyproject.toml index fb73593f3..a8597d400 100644 --- a/pipeline-pyproject.toml +++ b/pipeline-pyproject.toml @@ -29,11 +29,11 @@ classifiers = [ ] [project.urls] -Homepage = "https://github.com/nexB/scancode.io" +Homepage = "https://github.com/aboutcode-org/scancode.io" Documentation = "https://scancodeio.readthedocs.io/" -Changelog = "https://github.com/nexB/scancode.io/tree/main/aboutcode/pipeline/CHANGELOG.md" -Repository = "https://github.com/nexB/scancode.io/tree/main/aboutcode/pipeline" -Issues = "https://github.com/nexB/scancode.io/issues" +Changelog = "https://github.com/aboutcode-org/scancode.io/tree/main/aboutcode/pipeline/CHANGELOG.md" +Repository = "https://github.com/aboutcode-org/scancode.io/tree/main/aboutcode/pipeline" +Issues = "https://github.com/aboutcode-org/scancode.io/issues" [tool.flot] includes = [ diff --git a/scan.NOTICE b/scan.NOTICE index 0e9e81805..aa9d40d70 100644 --- a/scan.NOTICE +++ b/scan.NOTICE @@ -5,4 +5,4 @@ Consult an Attorney for any legal advice. ScanCode.io is a free software code scanning tool from nexB Inc. and others licensed under the Apache License version 2.0. ScanCode is a trademark of nexB Inc. -Visit https://github.com/nexB/scancode.io for support and download. +Visit https://github.com/aboutcode-org/scancode.io for support and download. diff --git a/scancodeio/__init__.py b/scancodeio/__init__.py index 182d25155..2d2984359 100644 --- a/scancodeio/__init__.py +++ b/scancodeio/__init__.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. import os import sys @@ -33,7 +33,7 @@ PROJECT_DIR = Path(__file__).resolve().parent ROOT_DIR = PROJECT_DIR.parent SCAN_NOTICE = PROJECT_DIR.joinpath("scan.NOTICE").read_text() -GITHUB_URL = "https://github.com/nexB/scancode.io" +GITHUB_URL = "https://github.com/aboutcode-org/scancode.io" def get_version(version): @@ -115,7 +115,8 @@ def combined_run(): os.environ.setdefault("SECRET_KEY", secret_key) os.environ.setdefault("SCANCODEIO_DB_ENGINE", "django.db.backends.sqlite3") os.environ.setdefault("SCANCODEIO_DB_NAME", "scancodeio.sqlite3") - os.environ.setdefault("SCANCODEIO_PROCESSES", "0") # Disable multiprocessing + # Disable multiprocessing + os.environ.setdefault("SCANCODEIO_PROCESSES", "0") sys.argv.insert(1, "run") execute_from_command_line(sys.argv) diff --git a/scancodeio/auth.py b/scancodeio/auth.py index 85d8bac22..db3109b25 100644 --- a/scancodeio/auth.py +++ b/scancodeio/auth.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. from django.conf import settings from django.contrib.auth.decorators import user_passes_test diff --git a/scancodeio/context_processors.py b/scancodeio/context_processors.py index 842a9482f..80116fc2c 100644 --- a/scancodeio/context_processors.py +++ b/scancodeio/context_processors.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. from scancode_config import __version__ as scancode_toolkit_version diff --git a/scancodeio/settings.py b/scancodeio/settings.py index 0a75b96fa..caa14fd1e 100644 --- a/scancodeio/settings.py +++ b/scancodeio/settings.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. import sys import tempfile diff --git a/scancodeio/static/add-inputs.js b/scancodeio/static/add-inputs.js index 508326ce2..63d7d11fc 100644 --- a/scancodeio/static/add-inputs.js +++ b/scancodeio/static/add-inputs.js @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 // -// http://nexb.com and https://github.com/nexB/scancode.io +// http://nexb.com and https://github.com/aboutcode-org/scancode.io // The ScanCode.io software is licensed under the Apache License version 2.0. // Data generated with ScanCode.io is provided as-is without warranties. // ScanCode is a trademark of nexB Inc. @@ -18,15 +18,15 @@ // for any legal advice. // // ScanCode.io is a free software code scanning tool from nexB Inc. and others. -// Visit https://github.com/nexB/scancode.io for support and download. +// Visit https://github.com/aboutcode-org/scancode.io for support and download. -const fileInput = document.querySelector('#id_input_files'); +const fileInput = document.querySelector("#id_input_files"); fileInput.onchange = updateFiles; // Update the list of files to be uploaded in the UI function updateFiles() { if (fileInput.files.length > 0) { - const fileName = document.querySelector('#inputs_file_name'); + const fileName = document.querySelector("#inputs_file_name"); fileName.innerHTML = ""; for (let file of fileInput.files) { fileName.innerHTML += `${file.name}`; @@ -48,18 +48,18 @@ function dropHandler(event) { for (let file of droppedFiles) { updatedFiles.push(file); } - + const dataTransfer = new DataTransfer(); for (let file of updatedFiles) { dataTransfer.items.add(file); } - + fileInput.files = dataTransfer.files; updateFiles(); } // Handle drag and drop events -const inputFilesBox = document.querySelector('#input_files_box'); +const inputFilesBox = document.querySelector("#input_files_box"); inputFilesBox.addEventListener("dragenter", disableEvent); inputFilesBox.addEventListener("dragover", disableEvent); inputFilesBox.addEventListener("drop", dropHandler); diff --git a/scancodeio/urls.py b/scancodeio/urls.py index 52522fe16..f0e475e17 100644 --- a/scancodeio/urls.py +++ b/scancodeio/urls.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. from django.conf import settings from django.contrib.auth import views as auth_views diff --git a/scancodeio/worker.py b/scancodeio/worker.py index d40986b29..216696555 100644 --- a/scancodeio/worker.py +++ b/scancodeio/worker.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. from django.apps import apps diff --git a/scancodeio/wsgi.py b/scancodeio/wsgi.py index fe0017e25..b616b3c3a 100644 --- a/scancodeio/wsgi.py +++ b/scancodeio/wsgi.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. """ WSGI config for ScanCode.io. diff --git a/scanpipe/__init__.py b/scanpipe/__init__.py index 915316299..af7384d8c 100644 --- a/scanpipe/__init__.py +++ b/scanpipe/__init__.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. def humanize_time(seconds): diff --git a/scanpipe/admin.py b/scanpipe/admin.py index 4610b25e3..628ef564e 100644 --- a/scanpipe/admin.py +++ b/scanpipe/admin.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. from django.contrib import admin from django.urls import reverse diff --git a/scanpipe/api/__init__.py b/scanpipe/api/__init__.py index 51f33bf21..e0b4c6511 100644 --- a/scanpipe/api/__init__.py +++ b/scanpipe/api/__init__.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. class ExcludeFromListViewMixin: diff --git a/scanpipe/api/serializers.py b/scanpipe/api/serializers.py index 0421ea442..5da4f1186 100644 --- a/scanpipe/api/serializers.py +++ b/scanpipe/api/serializers.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. from django.apps import apps diff --git a/scanpipe/api/views.py b/scanpipe/api/views.py index 41d862172..7594e170d 100644 --- a/scanpipe/api/views.py +++ b/scanpipe/api/views.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. import json diff --git a/scanpipe/apps.py b/scanpipe/apps.py index be18e27f4..78855edcf 100644 --- a/scanpipe/apps.py +++ b/scanpipe/apps.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. import inspect import logging diff --git a/scanpipe/filters.py b/scanpipe/filters.py index 56ee7b8a3..a440bba5e 100644 --- a/scanpipe/filters.py +++ b/scanpipe/filters.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. import shlex diff --git a/scanpipe/forms.py b/scanpipe/forms.py index 00c66b860..f854235aa 100644 --- a/scanpipe/forms.py +++ b/scanpipe/forms.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. from django import forms from django.apps import apps diff --git a/scanpipe/management/commands/__init__.py b/scanpipe/management/commands/__init__.py index 6f7f6e001..d7c9d6457 100644 --- a/scanpipe/management/commands/__init__.py +++ b/scanpipe/management/commands/__init__.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. import shutil import traceback diff --git a/scanpipe/management/commands/add-input.py b/scanpipe/management/commands/add-input.py index 9fab2ddf5..bf65dda85 100644 --- a/scanpipe/management/commands/add-input.py +++ b/scanpipe/management/commands/add-input.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. from django.core.management import CommandError diff --git a/scanpipe/management/commands/add-pipeline.py b/scanpipe/management/commands/add-pipeline.py index 091482d28..645d66323 100644 --- a/scanpipe/management/commands/add-pipeline.py +++ b/scanpipe/management/commands/add-pipeline.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. from django.template.defaultfilters import pluralize diff --git a/scanpipe/management/commands/archive-project.py b/scanpipe/management/commands/archive-project.py index 15c853484..01854a278 100644 --- a/scanpipe/management/commands/archive-project.py +++ b/scanpipe/management/commands/archive-project.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. import sys diff --git a/scanpipe/management/commands/create-project.py b/scanpipe/management/commands/create-project.py index 4df86b6e8..f0db4f84e 100644 --- a/scanpipe/management/commands/create-project.py +++ b/scanpipe/management/commands/create-project.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. from django.core.management import CommandError from django.core.management.base import BaseCommand diff --git a/scanpipe/management/commands/create-user.py b/scanpipe/management/commands/create-user.py index 327061f9e..8e537209a 100644 --- a/scanpipe/management/commands/create-user.py +++ b/scanpipe/management/commands/create-user.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. import getpass diff --git a/scanpipe/management/commands/delete-project.py b/scanpipe/management/commands/delete-project.py index 4068e0d1f..4568c13fc 100644 --- a/scanpipe/management/commands/delete-project.py +++ b/scanpipe/management/commands/delete-project.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. import sys diff --git a/scanpipe/management/commands/execute.py b/scanpipe/management/commands/execute.py index ce2f28b58..528045069 100644 --- a/scanpipe/management/commands/execute.py +++ b/scanpipe/management/commands/execute.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. from scanpipe.management.commands import ExecuteProjectCommandMixin from scanpipe.management.commands import ProjectCommand diff --git a/scanpipe/management/commands/flush-projects.py b/scanpipe/management/commands/flush-projects.py index 2ae07142d..51d3c4b41 100644 --- a/scanpipe/management/commands/flush-projects.py +++ b/scanpipe/management/commands/flush-projects.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. import datetime import sys diff --git a/scanpipe/management/commands/list-project.py b/scanpipe/management/commands/list-project.py index 2176fd2b0..932d99a64 100644 --- a/scanpipe/management/commands/list-project.py +++ b/scanpipe/management/commands/list-project.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. from django.core.management.base import BaseCommand diff --git a/scanpipe/management/commands/output.py b/scanpipe/management/commands/output.py index 66d3ca19b..961bd6bba 100644 --- a/scanpipe/management/commands/output.py +++ b/scanpipe/management/commands/output.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. from django.core.management.base import CommandError diff --git a/scanpipe/management/commands/purldb-scan-worker.py b/scanpipe/management/commands/purldb-scan-worker.py index b757cdf62..fde755251 100644 --- a/scanpipe/management/commands/purldb-scan-worker.py +++ b/scanpipe/management/commands/purldb-scan-worker.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. import time import traceback diff --git a/scanpipe/management/commands/reset-project.py b/scanpipe/management/commands/reset-project.py index 83bd69c49..47b6e28b5 100644 --- a/scanpipe/management/commands/reset-project.py +++ b/scanpipe/management/commands/reset-project.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. import sys diff --git a/scanpipe/management/commands/run.py b/scanpipe/management/commands/run.py index cabb2f564..fdcd0543b 100644 --- a/scanpipe/management/commands/run.py +++ b/scanpipe/management/commands/run.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. from pathlib import Path diff --git a/scanpipe/management/commands/show-pipeline.py b/scanpipe/management/commands/show-pipeline.py index d180286db..38f06d1e0 100644 --- a/scanpipe/management/commands/show-pipeline.py +++ b/scanpipe/management/commands/show-pipeline.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. from scanpipe.management.commands import ProjectCommand from scanpipe.management.commands import RunStatusCommandMixin diff --git a/scanpipe/management/commands/status.py b/scanpipe/management/commands/status.py index 8995970bb..68a849d91 100644 --- a/scanpipe/management/commands/status.py +++ b/scanpipe/management/commands/status.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. from scanpipe.management.commands import ProjectCommand from scanpipe.management.commands import RunStatusCommandMixin diff --git a/scanpipe/migrations/0023_migrate_dependencies.py b/scanpipe/migrations/0023_migrate_dependencies.py index 992a3598d..4d90c2bdb 100644 --- a/scanpipe/migrations/0023_migrate_dependencies.py +++ b/scanpipe/migrations/0023_migrate_dependencies.py @@ -21,7 +21,7 @@ def migrate_dependencies_data_to_discovereddependencies_model(apps, schema_edito dependency_data.pop("resolved_package", None) # `extracted_requirement` was previously stored as `requirement` prior to - # https://github.com/nexB/scancode-toolkit/pull/2825/ + # https://github.com/aboutcode-org/scancode-toolkit/pull/2825/ requirement = dependency_data.pop("requirement", None) if requirement: dependency_data["extracted_requirement"] = requirement diff --git a/scanpipe/models.py b/scanpipe/models.py index 3e5ec55e0..9295b974f 100644 --- a/scanpipe/models.py +++ b/scanpipe/models.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. import inspect import json @@ -2716,7 +2716,7 @@ def children(self, codebase=None): Paths are returned in lower-cased sorted path order to reflect the behavior of the `commoncode.resource.Resource.children()` - https://github.com/nexB/commoncode/blob/main/src/commoncode/resource.py + https://github.com/aboutcode-org/commoncode/blob/main/src/commoncode/resource.py `codebase` is not used in this context but required for compatibility with the commoncode.resource.VirtualCodebase class API. @@ -2789,7 +2789,7 @@ def _regroup_numbered_lines(numbered_lines): This is a workaround ScanCode-toolkit breaking down long lines and creating an artificially higher number of lines, see: - https://github.com/nexB/scancode.io/issues/292#issuecomment-901766139 + https://github.com/aboutcode-org/scancode.io/issues/292#issuecomment-901766139 """ for line_number, lines_group in groupby(numbered_lines, key=itemgetter(0)): yield line_number, "".join(line for _, line in lines_group) diff --git a/scanpipe/pipelines/__init__.py b/scanpipe/pipelines/__init__.py index 61a056078..2f4740917 100644 --- a/scanpipe/pipelines/__init__.py +++ b/scanpipe/pipelines/__init__.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. import inspect import logging diff --git a/scanpipe/pipelines/collect_strings_gettext.py b/scanpipe/pipelines/collect_strings_gettext.py index 49735105d..cf0249283 100644 --- a/scanpipe/pipelines/collect_strings_gettext.py +++ b/scanpipe/pipelines/collect_strings_gettext.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. from scanpipe.pipelines import Pipeline from scanpipe.pipes import strings diff --git a/scanpipe/pipelines/collect_symbols_ctags.py b/scanpipe/pipelines/collect_symbols_ctags.py index dad626dd5..a31d024be 100644 --- a/scanpipe/pipelines/collect_symbols_ctags.py +++ b/scanpipe/pipelines/collect_symbols_ctags.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. from scanpipe.pipelines import Pipeline from scanpipe.pipes import symbols diff --git a/scanpipe/pipelines/collect_symbols_pygments.py b/scanpipe/pipelines/collect_symbols_pygments.py index 7cd4ddc35..a7df1234a 100644 --- a/scanpipe/pipelines/collect_symbols_pygments.py +++ b/scanpipe/pipelines/collect_symbols_pygments.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. from scanpipe.pipelines import Pipeline from scanpipe.pipes import symbols diff --git a/scanpipe/pipelines/collect_symbols_tree_sitter.py b/scanpipe/pipelines/collect_symbols_tree_sitter.py index 9aceade18..e5847d1f6 100644 --- a/scanpipe/pipelines/collect_symbols_tree_sitter.py +++ b/scanpipe/pipelines/collect_symbols_tree_sitter.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. from scanpipe.pipelines import Pipeline from scanpipe.pipes import symbols diff --git a/scanpipe/pipelines/deploy_to_develop.py b/scanpipe/pipelines/deploy_to_develop.py index e7fa8c6bf..3b07795a4 100644 --- a/scanpipe/pipelines/deploy_to_develop.py +++ b/scanpipe/pipelines/deploy_to_develop.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. from aboutcode.pipeline import group from scanpipe import pipes diff --git a/scanpipe/pipelines/docker.py b/scanpipe/pipelines/docker.py index 3e0897226..5bf338458 100644 --- a/scanpipe/pipelines/docker.py +++ b/scanpipe/pipelines/docker.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. from scanpipe.pipelines.root_filesystem import RootFS from scanpipe.pipes import docker diff --git a/scanpipe/pipelines/docker_windows.py b/scanpipe/pipelines/docker_windows.py index 2698824fb..98684da13 100644 --- a/scanpipe/pipelines/docker_windows.py +++ b/scanpipe/pipelines/docker_windows.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. from scanpipe.pipelines.docker import Docker from scanpipe.pipes import docker diff --git a/scanpipe/pipelines/enrich_with_purldb.py b/scanpipe/pipelines/enrich_with_purldb.py index 4a0a34cd9..964080cca 100644 --- a/scanpipe/pipelines/enrich_with_purldb.py +++ b/scanpipe/pipelines/enrich_with_purldb.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. from scanpipe.pipelines import Pipeline from scanpipe.pipes import purldb diff --git a/scanpipe/pipelines/find_vulnerabilities.py b/scanpipe/pipelines/find_vulnerabilities.py index aec4c2bd0..7a6323b98 100644 --- a/scanpipe/pipelines/find_vulnerabilities.py +++ b/scanpipe/pipelines/find_vulnerabilities.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. from scanpipe.pipelines import Pipeline from scanpipe.pipes import vulnerablecode diff --git a/scanpipe/pipelines/inspect_elf_binaries.py b/scanpipe/pipelines/inspect_elf_binaries.py index 5ed35d7d2..35ad06d8e 100644 --- a/scanpipe/pipelines/inspect_elf_binaries.py +++ b/scanpipe/pipelines/inspect_elf_binaries.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. from scanpipe.pipelines import Pipeline from scanpipe.pipes.elf import collect_dwarf_source_path_references diff --git a/scanpipe/pipelines/inspect_packages.py b/scanpipe/pipelines/inspect_packages.py index 1ea78072f..9d28c07cf 100644 --- a/scanpipe/pipelines/inspect_packages.py +++ b/scanpipe/pipelines/inspect_packages.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. from aboutcode.pipeline import group from scanpipe.pipelines.scan_codebase import ScanCodebase diff --git a/scanpipe/pipelines/load_inventory.py b/scanpipe/pipelines/load_inventory.py index 1284ef85d..5b6a3cff3 100644 --- a/scanpipe/pipelines/load_inventory.py +++ b/scanpipe/pipelines/load_inventory.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. import json diff --git a/scanpipe/pipelines/load_sbom.py b/scanpipe/pipelines/load_sbom.py index 617c31244..955e54dd9 100644 --- a/scanpipe/pipelines/load_sbom.py +++ b/scanpipe/pipelines/load_sbom.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. from scanpipe.pipelines.scan_codebase import ScanCodebase from scanpipe.pipes import resolve diff --git a/scanpipe/pipelines/match_to_matchcode.py b/scanpipe/pipelines/match_to_matchcode.py index 10c85b758..92c1c12fa 100644 --- a/scanpipe/pipelines/match_to_matchcode.py +++ b/scanpipe/pipelines/match_to_matchcode.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. from scanpipe.pipelines import Pipeline from scanpipe.pipes import matchcode diff --git a/scanpipe/pipelines/populate_purldb.py b/scanpipe/pipelines/populate_purldb.py index 41c098c24..2e2ca19b3 100644 --- a/scanpipe/pipelines/populate_purldb.py +++ b/scanpipe/pipelines/populate_purldb.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. from scanpipe.pipelines import Pipeline from scanpipe.pipes import purldb diff --git a/scanpipe/pipelines/resolve_dependencies.py b/scanpipe/pipelines/resolve_dependencies.py index 30c6468b9..781d1d639 100644 --- a/scanpipe/pipelines/resolve_dependencies.py +++ b/scanpipe/pipelines/resolve_dependencies.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. from aboutcode.pipeline import group from scanpipe.pipelines.scan_codebase import ScanCodebase diff --git a/scanpipe/pipelines/root_filesystem.py b/scanpipe/pipelines/root_filesystem.py index edc377296..76478ce6d 100644 --- a/scanpipe/pipelines/root_filesystem.py +++ b/scanpipe/pipelines/root_filesystem.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. from extractcode import EXTRACT_SUFFIX diff --git a/scanpipe/pipelines/scan_codebase.py b/scanpipe/pipelines/scan_codebase.py index b79da0159..d5bbe992c 100644 --- a/scanpipe/pipelines/scan_codebase.py +++ b/scanpipe/pipelines/scan_codebase.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. from scanpipe import pipes from scanpipe.pipelines import Pipeline diff --git a/scanpipe/pipelines/scan_for_virus.py b/scanpipe/pipelines/scan_for_virus.py index 05c002700..6a21ed71e 100644 --- a/scanpipe/pipelines/scan_for_virus.py +++ b/scanpipe/pipelines/scan_for_virus.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. from scanpipe.pipelines import Pipeline from scanpipe.pipes import clamav diff --git a/scanpipe/pipelines/scan_single_package.py b/scanpipe/pipelines/scan_single_package.py index 5568d7917..1c9eee2ee 100644 --- a/scanpipe/pipelines/scan_single_package.py +++ b/scanpipe/pipelines/scan_single_package.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. import json diff --git a/scanpipe/pipes/__init__.py b/scanpipe/pipes/__init__.py index 207aa5412..d056f7da5 100644 --- a/scanpipe/pipes/__init__.py +++ b/scanpipe/pipes/__init__.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. import difflib import logging diff --git a/scanpipe/pipes/clamav.py b/scanpipe/pipes/clamav.py index d3b1576f1..78a8f45b7 100644 --- a/scanpipe/pipes/clamav.py +++ b/scanpipe/pipes/clamav.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. from pathlib import Path diff --git a/scanpipe/pipes/codebase.py b/scanpipe/pipes/codebase.py index 90b093980..8f1bc61b3 100644 --- a/scanpipe/pipes/codebase.py +++ b/scanpipe/pipes/codebase.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. from commoncode.resource import VirtualCodebase diff --git a/scanpipe/pipes/compliance.py b/scanpipe/pipes/compliance.py index 003636afa..18b1ccba8 100644 --- a/scanpipe/pipes/compliance.py +++ b/scanpipe/pipes/compliance.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. from scanpipe.pipes import flag from scanpipe.pipes import scancode diff --git a/scanpipe/pipes/cyclonedx.py b/scanpipe/pipes/cyclonedx.py index 4e380360f..9034b3880 100644 --- a/scanpipe/pipes/cyclonedx.py +++ b/scanpipe/pipes/cyclonedx.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. import json from collections import defaultdict diff --git a/scanpipe/pipes/d2d.py b/scanpipe/pipes/d2d.py index cb4409020..e0a176e54 100644 --- a/scanpipe/pipes/d2d.py +++ b/scanpipe/pipes/d2d.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. from collections import Counter from collections import defaultdict diff --git a/scanpipe/pipes/docker.py b/scanpipe/pipes/docker.py index 5a46b60f7..4a9fb4d32 100644 --- a/scanpipe/pipes/docker.py +++ b/scanpipe/pipes/docker.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. import logging import posixpath diff --git a/scanpipe/pipes/elf.py b/scanpipe/pipes/elf.py index b820b60cc..afa3e541d 100644 --- a/scanpipe/pipes/elf.py +++ b/scanpipe/pipes/elf.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. from elf_inspector.dwarf import get_dwarf_paths diff --git a/scanpipe/pipes/fetch.py b/scanpipe/pipes/fetch.py index 5c0f64dfd..06b4aca28 100644 --- a/scanpipe/pipes/fetch.py +++ b/scanpipe/pipes/fetch.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. import cgi import json diff --git a/scanpipe/pipes/flag.py b/scanpipe/pipes/flag.py index d3292e095..162d9212c 100644 --- a/scanpipe/pipes/flag.py +++ b/scanpipe/pipes/flag.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. NO_STATUS = "" diff --git a/scanpipe/pipes/input.py b/scanpipe/pipes/input.py index 9b836ad7a..f57e7eafd 100644 --- a/scanpipe/pipes/input.py +++ b/scanpipe/pipes/input.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. import shutil from pathlib import Path diff --git a/scanpipe/pipes/js.py b/scanpipe/pipes/js.py index 7bc33bbe8..90c5f4c37 100644 --- a/scanpipe/pipes/js.py +++ b/scanpipe/pipes/js.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. import hashlib import json diff --git a/scanpipe/pipes/jvm.py b/scanpipe/pipes/jvm.py index b66309087..f6fb506eb 100644 --- a/scanpipe/pipes/jvm.py +++ b/scanpipe/pipes/jvm.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. """Support for JVM-specific file formats such as .class and .java files.""" diff --git a/scanpipe/pipes/matchcode.py b/scanpipe/pipes/matchcode.py index 70d2914cc..3e75abf01 100644 --- a/scanpipe/pipes/matchcode.py +++ b/scanpipe/pipes/matchcode.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. import logging from collections import defaultdict diff --git a/scanpipe/pipes/output.py b/scanpipe/pipes/output.py index 17a508504..885ed91f9 100644 --- a/scanpipe/pipes/output.py +++ b/scanpipe/pipes/output.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. import csv import decimal @@ -839,7 +839,7 @@ def get_unique_licenses(packages): Return an empty list if the packages do not have licenses. Replace by the following one-liner once this toolkit issues is fixed: - https://github.com/nexB/scancode-toolkit/issues/3425 + https://github.com/aboutcode-org/scancode-toolkit/issues/3425 licenses = set(license for package in packages for license in package["licenses"]) """ seen_license_keys = set() diff --git a/scanpipe/pipes/pathmap.py b/scanpipe/pipes/pathmap.py index 0de855376..9a0cdab9a 100644 --- a/scanpipe/pipes/pathmap.py +++ b/scanpipe/pipes/pathmap.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. from typing import NamedTuple diff --git a/scanpipe/pipes/purldb.py b/scanpipe/pipes/purldb.py index a6003faf3..3e12ff9df 100644 --- a/scanpipe/pipes/purldb.py +++ b/scanpipe/pipes/purldb.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. import json import logging diff --git a/scanpipe/pipes/resolve.py b/scanpipe/pipes/resolve.py index 61d014450..f110e8759 100644 --- a/scanpipe/pipes/resolve.py +++ b/scanpipe/pipes/resolve.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. import json import sys diff --git a/scanpipe/pipes/rootfs.py b/scanpipe/pipes/rootfs.py index 6b15b9361..fa835cb18 100644 --- a/scanpipe/pipes/rootfs.py +++ b/scanpipe/pipes/rootfs.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. import fnmatch import logging diff --git a/scanpipe/pipes/scancode.py b/scanpipe/pipes/scancode.py index 5fec90619..8213892df 100644 --- a/scanpipe/pipes/scancode.py +++ b/scanpipe/pipes/scancode.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. import json import logging diff --git a/scanpipe/pipes/spdx.py b/scanpipe/pipes/spdx.py index 9192d7ed7..b0ccc1db4 100644 --- a/scanpipe/pipes/spdx.py +++ b/scanpipe/pipes/spdx.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. import json import re diff --git a/scanpipe/pipes/strings.py b/scanpipe/pipes/strings.py index 491677fca..dfb88a371 100644 --- a/scanpipe/pipes/strings.py +++ b/scanpipe/pipes/strings.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. from aboutcode.pipeline import LoopProgress diff --git a/scanpipe/pipes/symbols.py b/scanpipe/pipes/symbols.py index 6bea4657f..f27f3cb53 100644 --- a/scanpipe/pipes/symbols.py +++ b/scanpipe/pipes/symbols.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. from django.db.models import Q diff --git a/scanpipe/pipes/vulnerablecode.py b/scanpipe/pipes/vulnerablecode.py index fe0b341e3..385309766 100644 --- a/scanpipe/pipes/vulnerablecode.py +++ b/scanpipe/pipes/vulnerablecode.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. import logging diff --git a/scanpipe/pipes/windows.py b/scanpipe/pipes/windows.py index 60ea4c697..4bc75a21f 100644 --- a/scanpipe/pipes/windows.py +++ b/scanpipe/pipes/windows.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. import re diff --git a/scanpipe/tasks.py b/scanpipe/tasks.py index ac9279624..5e11e6793 100644 --- a/scanpipe/tasks.py +++ b/scanpipe/tasks.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. import logging diff --git a/scanpipe/tests/test_models.py b/scanpipe/tests/test_models.py index 9c5b923d7..cf7621b54 100644 --- a/scanpipe/tests/test_models.py +++ b/scanpipe/tests/test_models.py @@ -873,7 +873,9 @@ def test_scanpipe_run_model_get_diff_url(self): run1.set_scancodeio_version() self.assertEqual("v32.3.0-28-g0000000", run1.scancodeio_version) - expected = "https://github.com/nexB/scancode.io/compare/0000000..ffffffff" + expected = ( + "https://github.com/aboutcode-org/scancode.io/compare/0000000..ffffffff" + ) with mock.patch("scancodeio.__version__", "v31.0.0-1-gffffffff"): self.assertEqual(expected, run1.get_diff_url()) diff --git a/scanpipe/urls.py b/scanpipe/urls.py index 8bebb60f5..40ac9c1dd 100644 --- a/scanpipe/urls.py +++ b/scanpipe/urls.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. from django.urls import include from django.urls import path diff --git a/scanpipe/views.py b/scanpipe/views.py index e17293d7a..ed54ed025 100644 --- a/scanpipe/views.py +++ b/scanpipe/views.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -18,7 +18,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. import difflib import io diff --git a/setup.cfg b/setup.cfg index 343013fca..ffbfd68fe 100644 --- a/setup.cfg +++ b/setup.cfg @@ -6,7 +6,7 @@ description = Automate software composition analysis pipelines long_description = file:README.rst author = nexB Inc. author_email = info@aboutcode.org -url = https://github.com/nexB/scancode.io +url = https://github.com/aboutcode-org/scancode.io classifiers = Development Status :: 5 - Production/Stable Intended Audience :: Developers diff --git a/setup.py b/setup.py index 26bf8401c..888493c23 100755 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ # SPDX-License-Identifier: Apache-2.0 # -# http://nexb.com and https://github.com/nexB/scancode.io +# http://nexb.com and https://github.com/aboutcode-org/scancode.io # The ScanCode.io software is licensed under the Apache License version 2.0. # Data generated with ScanCode.io is provided as-is without warranties. # ScanCode is a trademark of nexB Inc. @@ -20,7 +20,7 @@ # for any legal advice. # # ScanCode.io is a free software code scanning tool from nexB Inc. and others. -# Visit https://github.com/nexB/scancode.io for support and download. +# Visit https://github.com/aboutcode-org/scancode.io for support and download. import setuptools