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/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..a49e1cfc3 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
@@ -55,9 +55,11 @@ class ProjectAdmin(ScanPipeBaseAdmin):
ordering = ["-created_date"]
fieldsets = [
("", {"fields": ("name", "slug", "notes", "extra_data", "settings", "uuid")}),
- ("Links", {"fields": ("packages_link", "dependencies_link", "resources_link")}),
+ ("Links", {"fields": ("packages_link",
+ "dependencies_link", "resources_link")}),
]
- readonly_fields = ["packages_link", "dependencies_link", "resources_link", "uuid"]
+ readonly_fields = ["packages_link",
+ "dependencies_link", "resources_link", "uuid"]
def get_queryset(self, request):
return (
@@ -116,7 +118,8 @@ class CodebaseResourceAdmin(ScanPipeBaseAdmin):
search_fields = [
"path",
]
- list_filter = ["project", "type", "programming_language", "compliance_alert"]
+ list_filter = ["project", "type",
+ "programming_language", "compliance_alert"]
ordering = ["project", "path"]
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..79f8e2f58 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
@@ -89,10 +89,12 @@ def load_pipelines(self):
pipelines Python files found at `SCANCODEIO_PIPELINES_DIRS` locations.
"""
entry_points = importlib_metadata.entry_points()
- pipeline_entry_points = set(entry_points.select(group="scancodeio_pipelines"))
+ pipeline_entry_points = set(
+ entry_points.select(group="scancodeio_pipelines"))
for entry_point in sorted(pipeline_entry_points):
- self.register_pipeline(name=entry_point.name, cls=entry_point.load())
+ self.register_pipeline(name=entry_point.name,
+ cls=entry_point.load())
pipelines_dirs = getattr(settings, "SCANCODEIO_PIPELINES_DIRS", [])
logger.debug(f"Load user provided pipelines from {pipelines_dirs}")
@@ -222,13 +224,15 @@ def set_policies(self):
include the proper content, we want to raise an exception while the app
is loading to warn system admins about the issue.
"""
- policies_file_location = getattr(settings, "SCANCODEIO_POLICIES_FILE", None)
+ policies_file_location = getattr(
+ settings, "SCANCODEIO_POLICIES_FILE", None)
if policies_file_location:
policies_file = Path(policies_file_location).expanduser()
if policies_file.exists():
- logger.debug(style.SUCCESS(f"Load policies from {policies_file}"))
+ logger.debug(style.SUCCESS(
+ f"Load policies from {policies_file}"))
policies = saneyaml.load(policies_file.read_text())
license_policies = policies.get("license_policies", [])
self.license_policies_index = self.get_policies_index(
@@ -251,7 +255,8 @@ def policies_enabled(self):
def sync_runs_and_jobs(self):
"""Synchronize ``QUEUED`` and ``RUNNING`` Run with their related Jobs."""
- logger.info("Synchronizing QUEUED and RUNNING Run with their related Jobs...")
+ logger.info(
+ "Synchronizing QUEUED and RUNNING Run with their related Jobs...")
run_model = self.get_model("Run")
queued_or_running = run_model.objects.queued_or_running()
diff --git a/scanpipe/filters.py b/scanpipe/filters.py
index 56ee7b8a3..ed3d6b308 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
@@ -91,7 +91,8 @@ def field(self):
# Retrieve distinct values for the specified field.
field_values = (
- qs.order_by(field_name).values_list(field_name, flat=True).distinct()
+ qs.order_by(field_name).values_list(
+ field_name, flat=True).distinct()
)
value_choices = [
(value, value) for value in field_values if value not in EMPTY_VALUES
@@ -247,9 +248,11 @@ def filter_queryset(self, queryset):
for name, value in self.form.cleaned_data.items():
field_name = self.filters[name].field_name
if value == self.empty_value:
- queryset = queryset.filter(**{f"{field_name}__in": EMPTY_VALUES})
+ queryset = queryset.filter(
+ **{f"{field_name}__in": EMPTY_VALUES})
elif value == self.any_value:
- queryset = queryset.filter(~Q(**{f"{field_name}__in": EMPTY_VALUES}))
+ queryset = queryset.filter(
+ ~Q(**{f"{field_name}__in": EMPTY_VALUES}))
elif value == self.other_value and hasattr(queryset, "less_common"):
return queryset.less_common(name)
else:
@@ -299,7 +302,8 @@ def parse_query_string_to_lookups(query_string, default_lookup_expr, default_fie
search_value = term
field_name = default_field
- lookups &= Q(**{f"{field_name}__{lookup_expr}": search_value}, _negated=negated)
+ lookups &= Q(
+ **{f"{field_name}__{lookup_expr}": search_value}, _negated=negated)
return lookups
@@ -416,7 +420,8 @@ def __init__(self, data=None, *args, **kwargs):
archived_count = Project.objects.filter(is_archived=True).count()
self.filters["is_archived"].extra["widget"] = BulmaLinkWidget(
choices=[
- ("", f' {active_count} Active'),
+ ("",
+ f' {active_count} Active'),
(
"true",
f' {archived_count} Archived',
@@ -680,14 +685,16 @@ class PackageFilterSet(FilterSetUtilsMixin, django_filters.FilterSet):
"tag",
"resources_count",
],
- grouped_fields={"package_url": ["type", "namespace", "name", "version"]},
+ grouped_fields={"package_url": [
+ "type", "namespace", "name", "version"]},
)
purl = PackageURLFilter(label="Package URL")
is_vulnerable = IsVulnerable(field_name="affected_by_vulnerabilities")
compliance_alert = django_filters.ChoiceFilter(
choices=[(EMPTY_VAR, "None")] + CodebaseResource.Compliance.choices,
)
- copyright = django_filters.filters.CharFilter(widget=HasValueDropdownWidget)
+ copyright = django_filters.filters.CharFilter(
+ widget=HasValueDropdownWidget)
declared_license_expression = django_filters.filters.CharFilter(
widget=HasValueDropdownWidget
)
@@ -767,7 +774,8 @@ class DependencyFilterSet(FilterSetUtilsMixin, django_filters.FilterSet):
"datafile_resource",
"datasource_id",
],
- grouped_fields={"package_url": ["type", "namespace", "name", "version"]},
+ grouped_fields={"package_url": [
+ "type", "namespace", "name", "version"]},
)
purl = PackageURLFilter(label="Package URL")
type = ModelFieldValuesFilter()
@@ -843,7 +851,8 @@ def get_status_choices(qs, include_any=False):
status_values = (
qs.order_by("status").values_list("status", flat=True).distinct()
)
- value_choices = [(status, status) for status in status_values if status]
+ value_choices = [(status, status)
+ for status in status_values if status]
return default_choices + value_choices
@@ -885,4 +894,5 @@ def __init__(self, *args, **kwargs):
if project:
qs = CodebaseResource.objects.filter(project=project)
status_filter = self.filters["status"]
- status_filter.extra["choices"] = status_filter.get_status_choices(qs)
+ status_filter.extra["choices"] = status_filter.get_status_choices(
+ qs)
diff --git a/scanpipe/forms.py b/scanpipe/forms.py
index 00c66b860..f1276f084 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
@@ -42,7 +42,8 @@ class MultipleFileInput(forms.ClearableFileInput):
class MultipleFileField(forms.FileField):
def __init__(self, *args, **kwargs):
- kwargs.setdefault("widget", MultipleFileInput(attrs={"class": "file-input"}))
+ kwargs.setdefault("widget", MultipleFileInput(
+ attrs={"class": "file-input"}))
super().__init__(*args, **kwargs)
def clean(self, data, initial=None):
@@ -170,7 +171,8 @@ def __init__(self, *args, **kwargs):
name_field.help_text = "The unique name of your project."
# Do not include "add-on" pipelines in the context of the create Project form
- pipeline_choices = scanpipe_app.get_pipeline_choices(include_addon=False)
+ pipeline_choices = scanpipe_app.get_pipeline_choices(
+ include_addon=False)
self.fields["pipeline"].choices = pipeline_choices
def clean_name(self):
@@ -205,7 +207,8 @@ class AddLabelsForm(forms.Form):
labels = TagField(
label="Add labels to this project:",
widget=TagWidget(
- attrs={"class": "input", "placeholder": "Comma-separated list of labels"}
+ attrs={"class": "input",
+ "placeholder": "Comma-separated list of labels"}
),
)
@@ -397,7 +400,8 @@ class ProjectSettingsForm(forms.ModelForm):
ignored_dependency_scopes = KeyValueListField(
label="Ignored dependency scopes",
required=False,
- help_text=convert_markdown_to_html(ignored_dependency_scopes_help.strip()),
+ help_text=convert_markdown_to_html(
+ ignored_dependency_scopes_help.strip()),
widget=forms.Textarea(
attrs={
"class": "textarea is-dynamic",
@@ -411,7 +415,8 @@ class ProjectSettingsForm(forms.ModelForm):
ignored_vulnerabilities = ListTextarea(
label="Ignored vulnerabilities",
required=False,
- help_text=convert_markdown_to_html(ignored_vulnerabilities_help.strip()),
+ help_text=convert_markdown_to_html(
+ ignored_vulnerabilities_help.strip()),
widget=forms.Textarea(
attrs={
"class": "textarea is-dynamic",
@@ -432,7 +437,8 @@ class ProjectSettingsForm(forms.ModelForm):
"\nFeel free to modify its content according to your preferences and paste "
"the entire HTML code into this field."
),
- widget=forms.Textarea(attrs={"class": "textarea is-dynamic", "rows": 3}),
+ widget=forms.Textarea(
+ attrs={"class": "textarea is-dynamic", "rows": 3}),
)
product_name = forms.CharField(
label="Product name",
@@ -489,7 +495,8 @@ def update_project_settings(self, project):
class ProjectCloneForm(forms.Form):
- clone_name = forms.CharField(widget=forms.TextInput(attrs={"class": "input"}))
+ clone_name = forms.CharField(
+ widget=forms.TextInput(attrs={"class": "input"}))
copy_inputs = forms.BooleanField(
initial=True,
required=False,
@@ -547,7 +554,8 @@ class Meta:
def __init__(self, *args, **kwargs):
if not kwargs.get("instance"):
- raise ValueError("An Run object is required to instantiate this form.")
+ raise ValueError(
+ "An Run object is required to instantiate this form.")
super().__init__(*args, **kwargs)
pipeline_class = self.instance.pipeline_class
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..426e8b0da 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
@@ -80,7 +80,8 @@ class RootFs:
"""A root filesystem."""
location = attr.attrib(
- metadata=dict(doc="The root directory location where this rootfs lives.")
+ metadata=dict(
+ doc="The root directory location where this rootfs lives.")
)
distro = attr.attrib(
@@ -96,7 +97,8 @@ def from_project_codebase(cls, project):
Return RootFs objects collected from the project's "codebase" directory.
Each directory in the input/ is considered as the root of a root filesystem.
"""
- subdirs = [path for path in project.codebase_path.glob("*/") if path.is_dir()]
+ subdirs = [path for path in project.codebase_path.glob(
+ "*/") if path.is_dir()]
for subdir in subdirs:
rootfs_location = str(subdir.absolute())
yield RootFs(location=rootfs_location)
@@ -170,7 +172,8 @@ def has_hash_diff(install_file, codebase_resource):
# Find a suitable hash type that is present on both install_file and
# codebase_resource, skip otherwise.
share_hash_type = all(
- [hasattr(install_file, hash_type), hasattr(codebase_resource, hash_type)]
+ [hasattr(install_file, hash_type), hasattr(
+ codebase_resource, hash_type)]
)
if not share_hash_type:
@@ -200,7 +203,8 @@ def package_getter(root_dir, **kwargs):
def _create_system_package(project, purl, package):
"""Create system package and related resources."""
- created_package = pipes.update_or_create_package(project, package.to_dict())
+ created_package = pipes.update_or_create_package(
+ project, package.to_dict())
installed_files = []
if hasattr(package, "resources"):
@@ -316,7 +320,8 @@ def match_not_analyzed(
3. Relate each matched CodebaseResource to the matching DiscoveredPackage and
set its status.
"""
- known_resources = get_resource_with_md5(project=project, status=reference_status)
+ known_resources = get_resource_with_md5(
+ project=project, status=reference_status)
known_resources_by_md5_size = {
(
r.md5,
@@ -325,7 +330,8 @@ def match_not_analyzed(
for r in known_resources
}
count = 0
- matchables = get_resource_with_md5(project=project, status=not_analyzed_status)
+ matchables = get_resource_with_md5(
+ project=project, status=not_analyzed_status)
for matchable in matchables:
key = (matchable.md5, matchable.size)
matched = known_resources_by_md5_size.get(key)
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..dbc3b3024 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
@@ -46,7 +46,8 @@ def report_failure(job, connection, type, value, traceback):
try:
run = get_run_instance(run_pk=job.id)
except Run.DoesNotExist:
- info(f"FAILURE to get the Run instance with job.id={job.id}", "Unknown")
+ info(
+ f"FAILURE to get the Run instance with job.id={job.id}", "Unknown")
return
run.set_task_ended(exitcode=1, output=f"value={value} trace={traceback}")
@@ -62,7 +63,8 @@ def execute_pipeline_task(run_pk):
run.set_scancodeio_version()
run.set_task_started(run_pk)
- info(f'Run pipeline: "{run.pipeline_name}" on project: "{project.name}"', run_pk)
+ info(
+ f'Run pipeline: "{run.pipeline_name}" on project: "{project.name}"', run_pk)
pipeline = run.make_pipeline_instance()
exitcode, output = pipeline.execute()
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..e6bd84872 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
@@ -268,7 +268,8 @@ def get_tab_data(self, tab_definition):
if not display_condition(self.object):
return
- fields_data = self.get_fields_data(fields=tab_definition.get("fields", []))
+ fields_data = self.get_fields_data(
+ fields=tab_definition.get("fields", []))
is_disabled = False
if disable_condition := tab_definition.get("disable_condition"):
@@ -624,7 +625,8 @@ def get_queryset(self):
@staticmethod
def get_license_clarity_data(scan_summary_json):
- license_clarity_score = scan_summary_json.get("license_clarity_score", {})
+ license_clarity_score = scan_summary_json.get(
+ "license_clarity_score", {})
return [
{
"label": label,
@@ -680,7 +682,8 @@ def check_for_missing_inputs(self, project):
]
if missing_inputs:
- filenames = [input_source.filename for input_source in missing_inputs]
+ filenames = [
+ input_source.filename for input_source in missing_inputs]
missing_files = "\n- ".join(filenames)
message = (
f"The following input files are not available on disk anymore:\n"
@@ -691,7 +694,8 @@ def check_for_missing_inputs(self, project):
def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
project = self.object
- project_resources_url = reverse("project_resources", args=[project.slug])
+ project_resources_url = reverse(
+ "project_resources", args=[project.slug])
self.check_for_missing_inputs(project)
@@ -706,7 +710,8 @@ def get_context_data(self, **kwargs):
if scan_summary_file:
with suppress(json.decoder.JSONDecodeError):
scan_summary_json = json.loads(scan_summary_file.read_text())
- license_clarity = self.get_license_clarity_data(scan_summary_json)
+ license_clarity = self.get_license_clarity_data(
+ scan_summary_json)
scan_summary = self.get_scan_summary_data(scan_summary_json)
codebase_root = sorted(
@@ -921,7 +926,8 @@ def get_context_data(self, **kwargs):
else:
field_values = (entry[field_name] for entry in qs_values)
- context[f"{group_name}_{field_name}"] = self.get_summary(field_values)
+ context[f"{group_name}_{field_name}"] = self.get_summary(
+ field_values)
return context
@@ -939,7 +945,8 @@ def get_resource_status_summary(project):
# Order the status list by occurrences, higher first
sorted_by_count = dict(
- sorted(status_counter.items(), key=operator.itemgetter(1), reverse=True)
+ sorted(status_counter.items(),
+ key=operator.itemgetter(1), reverse=True)
)
# Remove the "no status" entry from the top list
@@ -976,7 +983,8 @@ def get_resource_license_summary(project, limit=10):
# Order the license list by the number of detections, higher first
sorted_by_count = dict(
- sorted(license_counter.items(), key=operator.itemgetter(1), reverse=True)
+ sorted(license_counter.items(),
+ key=operator.itemgetter(1), reverse=True)
)
# Remove the "no licenses" entry from the top list
@@ -1035,12 +1043,14 @@ def get_node(name, is_dir, location):
include_parent = current_dir and current_dir != root_directory
if include_parent:
tree.append(
- get_node(name="..", is_dir=True, location=str(Path(current_dir).parent))
+ get_node(name="..", is_dir=True,
+ location=str(Path(current_dir).parent))
)
for resources, is_dir in [(sorted(directories), True), (sorted(files), False)]:
tree.extend(
- get_node(name=name, is_dir=is_dir, location=f"{current_dir}/{name}")
+ get_node(name=name, is_dir=is_dir,
+ location=f"{current_dir}/{name}")
for name in resources
)
@@ -1112,7 +1122,8 @@ def form_valid(self, form):
messages.error(self.request, error)
return redirect(project)
- messages.success(self.request, self.success_message.format(project.name))
+ messages.success(
+ self.request, self.success_message.format(project.name))
return response_redirect
@@ -1144,7 +1155,8 @@ def post(self, request, *args, **kwargs):
count += 1
if count:
- messages.success(self.request, self.get_success_message(action, count))
+ messages.success(
+ self.request, self.get_success_message(action, count))
return HttpResponseRedirect(self.success_url)
@@ -1157,7 +1169,8 @@ def perform_action(self, action, project_uuid, action_kwargs=None):
getattr(project, action)(**action_kwargs)
return True
except Project.DoesNotExist:
- messages.error(self.request, f"Project {project_uuid} does not exist.")
+ messages.error(
+ self.request, f"Project {project_uuid} does not exist.")
except RunInProgressError as error:
messages.error(self.request, str(error))
except (AttributeError, ValidationError):
@@ -1179,7 +1192,8 @@ def form_valid(self, form):
except RunInProgressError as error:
messages.error(self.request, error)
else:
- messages.success(self.request, self.success_message.format(project.name))
+ messages.success(
+ self.request, self.success_message.format(project.name))
return redirect(project)
@@ -1250,7 +1264,8 @@ def delete_input_view(request, slug, input_uuid):
if not project.can_change_inputs:
raise Http404("Inputs cannot be deleted on this project.")
- input_source = get_object_or_404(InputSource, uuid=input_uuid, project=project)
+ input_source = get_object_or_404(
+ InputSource, uuid=input_uuid, project=project)
input_source.delete()
messages.success(request, f"Input {input_source.filename} deleted.")
@@ -1336,7 +1351,8 @@ def get(self, request, *args, **kwargs):
else:
raise Http404("Format not supported.")
- filename = output.safe_filename(f"scancodeio_{project.name}_{output_file.name}")
+ filename = output.safe_filename(
+ f"scancodeio_{project.name}_{output_file.name}")
return FileResponse(
output_file.open("rb"),
@@ -1352,7 +1368,8 @@ class ProjectRelatedViewMixin:
def get_project(self):
if not getattr(self, "project", None):
project_qs = Project.objects.only(*self.only_fields)
- self.project = get_object_or_404(project_qs, slug=self.kwargs["slug"])
+ self.project = get_object_or_404(
+ project_qs, slug=self.kwargs["slug"])
return self.project
def get_queryset(self):
@@ -1786,7 +1803,8 @@ def get_license_annotations(self, field_name):
for entry in getattr(self.object, field_name):
matches = entry.get("matches", [])
- annotations.extend(self.get_annotations(matches, "license_expression"))
+ annotations.extend(self.get_annotations(
+ matches, "license_expression"))
return annotations
@@ -1801,7 +1819,8 @@ def get_context_data(self, **kwargs):
message = "WARNING: This resource is not available on disk."
messages.warning(self.request, message)
- license_annotations = self.get_license_annotations("license_detections")
+ license_annotations = self.get_license_annotations(
+ "license_detections")
context["detected_values"] = {
"licenses": license_annotations,
}
@@ -1814,7 +1833,8 @@ def get_context_data(self, **kwargs):
("urls", "url"),
]
for field_name, value_key in fields:
- annotations = self.get_annotations(getattr(resource, field_name), value_key)
+ annotations = self.get_annotations(
+ getattr(resource, field_name), value_key)
context["detected_values"][field_name] = annotations
return context
@@ -2043,7 +2063,8 @@ class DiscoveredDependencyDetailsView(
),
Prefetch(
"datafile_resource",
- queryset=CodebaseResource.objects.only("path", "name", "project_id"),
+ queryset=CodebaseResource.objects.only(
+ "path", "name", "project_id"),
),
]
tabset = {
@@ -2092,7 +2113,8 @@ class DiscoveredDependencyDetailsView(
def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
- context["dependency_data"] = DiscoveredDependencySerializer(self.object).data
+ context["dependency_data"] = DiscoveredDependencySerializer(
+ self.object).data
return context
@@ -2302,7 +2324,8 @@ def get_context_data(self, **kwargs):
def get_dependency_tree(self, project):
root_packages = project.discoveredpackages.root_packages().order_by("name")
- project_children = [self.get_node(package) for package in root_packages]
+ project_children = [self.get_node(package)
+ for package in root_packages]
project_tree = {
"name": project.name,