Skip to content

Commit

Permalink
#55 - Update link references of ownership from nexB to aboutcode-org …
Browse files Browse the repository at this point in the history
…\n Signed-off-by: Chin Yeung Li <[email protected]>
  • Loading branch information
chinyeungli committed Aug 15, 2024
1 parent 9cb431e commit ba99fa0
Show file tree
Hide file tree
Showing 185 changed files with 2,046 additions and 6,976 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,10 @@ This is a major feature update release with these updates and API breaking chang

* Remove nested "packages". Instead report only the "dependencies", nested as
needed. Many processors return a flat list of dependencies. This is towards
https://github.com/nexB/nuget-inspector/issues/24
https://github.com/aboutcode-org/nuget-inspector/issues/24

* Resolve packages removing duplicates to fix
https://github.com/nexB/nuget-inspector/issues/23
https://github.com/aboutcode-org/nuget-inspector/issues/23


v0.9.1
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ RUN mkdir -p $NI_DOTNET_HOME \

ARG NI_VERSION=0.9.12
RUN mkdir -p $NI_HOME \
&& curl -L https://github.com/nexB/nuget-inspector/releases/download/v${NI_VERSION}/nuget-inspector-v${NI_VERSION}-linux-x64.tar.gz \
&& curl -L https://github.com/aboutcode-org/nuget-inspector/releases/download/v${NI_VERSION}/nuget-inspector-v${NI_VERSION}-linux-x64.tar.gz \
| tar --strip-components=1 -C $NI_HOME -xz

ENTRYPOINT ["/opt/nuget-inspector/bin/nuget-inspector"]
2 changes: 1 addition & 1 deletion Dockerfile.ubuntu18
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ RUN mkdir -p $NI_DOTNET_HOME \

# ARG NI_VERSION=0.9.12
# RUN mkdir -p $NI_HOME \
# && curl -L https://github.com/nexB/nuget-inspector/releases/download/v${NI_VERSION}/nuget-inspector-v${NI_VERSION}-linux-x64.tar.gz \
# && curl -L https://github.com/aboutcode-org/nuget-inspector/releases/download/v${NI_VERSION}/nuget-inspector-v${NI_VERSION}-linux-x64.tar.gz \
# | tar --strip-components=1 -C $NI_HOME -xz

RUN mkdir -p $NI_HOME
Expand Down
2 changes: 1 addition & 1 deletion NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#
# SPDX-License-Identifier: Apache-2.0 AND MIT
#
# Visit https://aboutcode.org and https://github.com/nexB/nuget-inspector for
# Visit https://aboutcode.org and https://github.com/aboutcode-org/nuget-inspector for
# support and download.
# ScanCode is a trademark of nexB Inc.
#
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
nuget-inspector - inspect nuget and .NET projects packages dependencies
========================================================================

Homepage: https://github.com/nexB/nuget-inspector and https://www.aboutcode.org/
Homepage: https://github.com/aboutcode-org/nuget-inspector and https://www.aboutcode.org/


``nuget-inspector`` is a utility to:
Expand Down Expand Up @@ -34,7 +34,7 @@ Usage
https://learn.microsoft.com/en-us/dotnet/core/install/

- Download and extract the pre-built binary release archive from the release page
https://github.com/nexB/nuget-inspector for your operating system. (Linux-only
https://github.com/aboutcode-org/nuget-inspector for your operating system. (Linux-only
for now)

- Run the command line utility with::
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Copyright (c) nexB Inc. and others. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
# See http://www.apache.org/licenses/LICENSE-2.0 for the license text.
# See https://github.com/nexB/nuget-inpector for support or download.
# See https://github.com/aboutcode-org/nuget-inpector for support or download.
# See https://aboutcode.org for more information about nexB OSS projects.
#

Expand Down
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Copyright (c) nexB Inc. and others. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
# See http://www.apache.org/licenses/LICENSE-2.0 for the license text.
# See https://github.com/nexB/ for support or download.
# See https://github.com/aboutcode-org/ for support or download.
# See https://aboutcode.org for more information about nexB OSS projects.
#

Expand Down
2 changes: 1 addition & 1 deletion configure.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
@rem Copyright (c) nexB Inc. and others. All rights reserved.
@rem SPDX-License-Identifier: Apache-2.0
@rem See http://www.apache.org/licenses/LICENSE-2.0 for the license text.
@rem See https://github.com/nexB/ for support or download.
@rem See https://github.com/aboutcode-org/ for support or download.
@rem See https://aboutcode.org for more information about nexB OSS projects.


Expand Down
4 changes: 2 additions & 2 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Copyright (c) nexB Inc. and others. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
# See http://www.apache.org/licenses/LICENSE-2.0 for the license text.
# See https://github.com/nexB/nuget-inpector for support or download.
# See https://github.com/aboutcode-org/nuget-inpector for support or download.
# See https://aboutcode.org for more information about nexB OSS projects.
#

Expand Down Expand Up @@ -47,4 +47,4 @@ do
rm release/nuget-inspector/createdump

tar -czf release/$TARGET.tar.gz -C release/ nuget-inspector
done
done
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ license = Apache-2.0 AND MIT
description = A test suite for nuget-inspector
long_description = file:README.rst
long_description_content_type = text/x-rst
url = https://github.com/nexB/nuget-inspector
url = https://github.com/aboutcode-org/nuget-inspector
author = nexB. Inc. and others
author_email = [email protected]
classifiers =
Expand Down
4 changes: 2 additions & 2 deletions src/nuget-inspector/Options.cs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public List<string> AsCliList()
+ "Inspect .NET and NuGet projects and package manifests. Resolve NuGet dependencies.\n"
+ "SPDX-License-Identifier: Apache-2.0 AND MIT\n"
+ "Copyright (c) nexB Inc. and others.\n"
+ "https://github.com/nexB/nuget-inspector");
+ "https://github.com/aboutcode-org/nuget-inspector");
return null;
}

Expand Down Expand Up @@ -198,4 +198,4 @@ public CommandLineArgAttribute(string key, string description = "")
Key = key;
Description = description;
}
}
}
6 changes: 3 additions & 3 deletions src/nuget-inspector/OutputFormatJson.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ public class ScanHeader
{
#pragma warning disable IDE1006
public string tool_name { get; set; } = "nuget-inspector";
public string tool_homepageurl { get; set; } = "https://github.com/nexB/nuget-inspector";
public string tool_homepageurl { get; set; } = "https://github.com/aboutcode-org/nuget-inspector";
public string tool_version { get; set; } = Config.NUGET_INSPECTOR_VERSION;
public List<string> options { get; set; }

public string project_framework { get; set; } = "";

public string notice { get; set; } = "Dependency tree generated with nuget-inspector.\n" +
"nuget-inspector is a free software tool from nexB Inc. and others.\n" +
"Visit https://github.com/nexB/nuget-inspector/ for support and download.";
"Visit https://github.com/aboutcode-org/nuget-inspector/ for support and download.";

public List<string> warnings { get; set; } = new();
public List<string> errors { get; set; } = new();
Expand Down Expand Up @@ -78,4 +78,4 @@ public void Write()
var writer = new JsonTextWriter(textWriter: sw);
serializer.Serialize(jsonWriter: writer, value: scan_output);
}
}
}
6 changes: 3 additions & 3 deletions src/nuget-inspector/nuget-inspector.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<Company>nexB Inc</Company>
<Copyright>Copyright (c) nexB Inc. and others.</Copyright>

<PackageProjectUrl>https://github.com/nexB/nuget-inspector</PackageProjectUrl>
<PackageProjectUrl>https://github.com/aboutcode-org/nuget-inspector</PackageProjectUrl>
<Description>A NuGet and Dotnet package dependency resolver</Description>
<PackageTags>nuget, dependencies, dependency, resolver, dotnet, csproj, linux, windows, macos</PackageTags>

Expand All @@ -43,11 +43,11 @@
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/nexB/nuget-inspector</RepositoryUrl>
<RepositoryUrl>https://github.com/aboutcode-org/nuget-inspector</RepositoryUrl>

</PropertyGroup>


<ItemGroup>
<None Include="../NOTICE" Pack="true" PackagePath="NOTICE"/>
<None Include="../AUTHORS.rst" Pack="true" PackagePath="AUTHORS.rst"/>
Expand Down
6 changes: 3 additions & 3 deletions tests/data/basic/csproj1/CycloneDX.csproj-expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
"headers": [
{
"tool_name": "nuget-inspector",
"tool_homepageurl": "https://github.com/nexB/nuget-inspector",
"tool_homepageurl": "https://github.com/aboutcode-org/nuget-inspector",
"tool_version": "0.0.0",
"options": [
"--project-file /basic/csproj1/CycloneDX.csproj"
],
"project_framework": "net6.0",
"notice": "Dependency tree generated with nuget-inspector.\nnuget-inspector is a free software tool from nexB Inc. and others.\nVisit https://github.com/nexB/nuget-inspector/ for support and download.",
"notice": "Dependency tree generated with nuget-inspector.\nnuget-inspector is a free software tool from nexB Inc. and others.\nVisit https://github.com/aboutcode-org/nuget-inspector/ for support and download.",
"warnings": [],
"errors": []
}
Expand Down Expand Up @@ -2759,4 +2759,4 @@
"errors": []
}
]
}
}
28 changes: 6 additions & 22 deletions tests/data/basic/csproj2/example.csproj-expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@
"headers": [
{
"tool_name": "nuget-inspector",
"tool_homepageurl": "https://github.com/nexB/nuget-inspector",
"tool_homepageurl": "https://github.com/aboutcode-org/nuget-inspector",
"tool_version": "0.0.0",
"options": [
"--project-file /basic/csproj2/example.csproj"
],
"options": ["--project-file /basic/csproj2/example.csproj"],
"project_framework": "netstandard2.0",
"notice": "Dependency tree generated with nuget-inspector.\nnuget-inspector is a free software tool from nexB Inc. and others.\nVisit https://github.com/nexB/nuget-inspector/ for support and download.",
"notice": "Dependency tree generated with nuget-inspector.\nnuget-inspector is a free software tool from nexB Inc. and others.\nVisit https://github.com/aboutcode-org/nuget-inspector/ for support and download.",
"warnings": [],
"errors": []
}
Expand Down Expand Up @@ -70,14 +68,7 @@
"url": ""
}
],
"keywords": [
"itext",
"itextsharp",
"c#",
".net",
"csharp",
"pdf"
],
"keywords": ["itext", "itextsharp", "c#", ".net", "csharp", "pdf"],
"homepage_url": "http://itextpdf.com/",
"download_url": "https://api.nuget.org/v3-flatcontainer/itextsharp/5.5.13.1/itextsharp.5.5.13.1.nupkg",
"size": 1870150,
Expand Down Expand Up @@ -131,14 +122,7 @@
"url": ""
}
],
"keywords": [
"itext",
"itextsharp",
"c#",
".net",
"csharp",
"pdf"
],
"keywords": ["itext", "itextsharp", "c#", ".net", "csharp", "pdf"],
"homepage_url": "http://itextpdf.com/",
"download_url": "https://api.nuget.org/v3-flatcontainer/itextsharp/5.5.13.1/itextsharp.5.5.13.1.nupkg",
"size": 1870150,
Expand Down Expand Up @@ -167,4 +151,4 @@
"errors": []
}
]
}
}
Loading

0 comments on commit ba99fa0

Please sign in to comment.