From 7e4e4200293ec1dfb1e139c7334702725b7f4e89 Mon Sep 17 00:00:00 2001 From: Chin Yeung Li Date: Tue, 20 Aug 2024 11:58:53 +0800 Subject: [PATCH] Fixed #29 - Update link references of ownership from nexB to aboutcode-org Signed-off-by: Chin Yeung Li --- Makefile | 2 +- NOTICE | 4 ++-- README.rst | 10 +++++----- cmd/cocoapods.go | 4 ++-- cmd/npm.go | 4 ++-- cmd/nuget.go | 4 ++-- cmd/pnpm.go | 4 ++-- cmd/pypi.go | 4 ++-- cmd/root.go | 2 +- cmd/swift.go | 4 ++-- cmd/yarn.go | 4 ++-- go.mod | 2 +- internal/utils.go | 2 +- main.go | 4 ++-- scripts/build-all.sh | 20 ++++++++++---------- test/utils_test.go | 4 ++-- 16 files changed, 39 insertions(+), 39 deletions(-) diff --git a/Makefile b/Makefile index f5cbd14..c66383f 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ # ScanCode is a trademark of nexB Inc. # SPDX-License-Identifier: Apache-2.0 # See http://www.apache.org/licenses/LICENSE-2.0 for the license text. -# See https://github.com/nexB/dependency-inspector for support or download. +# See https://github.com/aboutcode-org/dependency-inspector for support or download. # See https://aboutcode.org for more information about nexB OSS projects. # diff --git a/NOTICE b/NOTICE index b38f727..cbdaef7 100644 --- a/NOTICE +++ b/NOTICE @@ -2,7 +2,7 @@ # Copyright (c) nexB Inc. and others. # SPDX-License-Identifier: Apache-2.0 # -# Visit https://aboutcode.org and https://github.com/nexB/ for support and download. +# Visit https://aboutcode.org and https://github.com/aboutcode-org/ for support and download. # ScanCode is a trademark of nexB Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -16,4 +16,4 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -# \ No newline at end of file +# diff --git a/README.rst b/README.rst index 6f7d85d..ef9fc41 100644 --- a/README.rst +++ b/README.rst @@ -2,7 +2,7 @@ DepLock =================== -|license| |version| |build| +|license| |version| |build| .. |license| image:: https://img.shields.io/badge/License-Apache--2.0-blue.svg?style=for-the-badge :target: https://opensource.org/licenses/Apache-2.0 @@ -11,7 +11,7 @@ DepLock .. |build| image:: https://img.shields.io/github/actions/workflow/status/nexB/dependency-inspector/ci.yml?style=for-the-badge&logo=github -**DepLock** (Dependency Locker) is a command line tool to generate package lockfiles, +**DepLock** (Dependency Locker) is a command line tool to generate package lockfiles, and parsable package manifests to make it possible and easy to collect resolved dependencies and accurate metadata for a project. It uses the standard package management tool for each package type or ecosystem. @@ -49,7 +49,7 @@ To install DepLock, follow these steps: # Download the latest binary depending on your OS and architecture # Replace with your operating system (linux, darwin, windows) # Replace with your architecture (amd64, arm64) - curl -LO https://github.com/nexB/dependency-inspector/releases/latest/download/deplock-- + curl -LO https://github.com/aboutcode-org/dependency-inspector/releases/latest/download/deplock-- # Make the binary executable chmod +x deplock-- @@ -102,7 +102,7 @@ Generating lockfile for an npm project: Contribution ============= -We welcome contributions from the community! If you find a bug or have an idea for a new feature, +We welcome contributions from the community! If you find a bug or have an idea for a new feature, please open an issue on the GitHub repository. If you want to contribute code, you can fork the repository, make your changes, and submit a pull request. @@ -112,7 +112,7 @@ repository, make your changes, and submit a pull request. Development setup ------------------ -Run these commands, starting from a git clone of https://github.com/nexB/dependency-inspector.git +Run these commands, starting from a git clone of https://github.com/aboutcode-org/dependency-inspector.git .. code-block:: bash diff --git a/cmd/cocoapods.go b/cmd/cocoapods.go index cefc920..346be86 100644 --- a/cmd/cocoapods.go +++ b/cmd/cocoapods.go @@ -4,7 +4,7 @@ Copyright (c) nexB Inc. and others. All rights reserved. ScanCode is a trademark of nexB Inc. SPDX-License-Identifier: Apache-2.0 See http://www.apache.org/licenses/LICENSE-2.0 for the license text. -See https://github.com/nexB/dependency-inspector for support or download. +See https://github.com/aboutcode-org/dependency-inspector for support or download. See https://aboutcode.org for more information about nexB OSS projects. */ @@ -12,7 +12,7 @@ See https://aboutcode.org for more information about nexB OSS projects. package cmd import ( - "github.com/nexB/dependency-inspector/internal" + "github.com/aboutcode-org/dependency-inspector/internal" "github.com/spf13/cobra" ) diff --git a/cmd/npm.go b/cmd/npm.go index e741b84..aaeee40 100644 --- a/cmd/npm.go +++ b/cmd/npm.go @@ -4,7 +4,7 @@ Copyright (c) nexB Inc. and others. All rights reserved. ScanCode is a trademark of nexB Inc. SPDX-License-Identifier: Apache-2.0 See http://www.apache.org/licenses/LICENSE-2.0 for the license text. -See https://github.com/nexB/dependency-inspector for support or download. +See https://github.com/aboutcode-org/dependency-inspector for support or download. See https://aboutcode.org for more information about nexB OSS projects. */ @@ -12,7 +12,7 @@ See https://aboutcode.org for more information about nexB OSS projects. package cmd import ( - "github.com/nexB/dependency-inspector/internal" + "github.com/aboutcode-org/dependency-inspector/internal" "github.com/spf13/cobra" ) diff --git a/cmd/nuget.go b/cmd/nuget.go index e4eb3e3..ff9c917 100644 --- a/cmd/nuget.go +++ b/cmd/nuget.go @@ -4,7 +4,7 @@ Copyright (c) nexB Inc. and others. All rights reserved. ScanCode is a trademark of nexB Inc. SPDX-License-Identifier: Apache-2.0 See http://www.apache.org/licenses/LICENSE-2.0 for the license text. -See https://github.com/nexB/dependency-inspector for support or download. +See https://github.com/aboutcode-org/dependency-inspector for support or download. See https://aboutcode.org for more information about nexB OSS projects. */ @@ -12,7 +12,7 @@ See https://aboutcode.org for more information about nexB OSS projects. package cmd import ( - "github.com/nexB/dependency-inspector/internal" + "github.com/aboutcode-org/dependency-inspector/internal" "github.com/spf13/cobra" ) diff --git a/cmd/pnpm.go b/cmd/pnpm.go index 17bf031..7da2992 100644 --- a/cmd/pnpm.go +++ b/cmd/pnpm.go @@ -4,7 +4,7 @@ Copyright (c) nexB Inc. and others. All rights reserved. ScanCode is a trademark of nexB Inc. SPDX-License-Identifier: Apache-2.0 See http://www.apache.org/licenses/LICENSE-2.0 for the license text. -See https://github.com/nexB/dependency-inspector for support or download. +See https://github.com/aboutcode-org/dependency-inspector for support or download. See https://aboutcode.org for more information about nexB OSS projects. */ @@ -12,7 +12,7 @@ See https://aboutcode.org for more information about nexB OSS projects. package cmd import ( - "github.com/nexB/dependency-inspector/internal" + "github.com/aboutcode-org/dependency-inspector/internal" "github.com/spf13/cobra" ) diff --git a/cmd/pypi.go b/cmd/pypi.go index 95176c0..f661c5d 100644 --- a/cmd/pypi.go +++ b/cmd/pypi.go @@ -4,7 +4,7 @@ Copyright (c) nexB Inc. and others. All rights reserved. ScanCode is a trademark of nexB Inc. SPDX-License-Identifier: Apache-2.0 See http://www.apache.org/licenses/LICENSE-2.0 for the license text. -See https://github.com/nexB/dependency-inspector for support or download. +See https://github.com/aboutcode-org/dependency-inspector for support or download. See https://aboutcode.org for more information about nexB OSS projects. */ @@ -12,7 +12,7 @@ See https://aboutcode.org for more information about nexB OSS projects. package cmd import ( - "github.com/nexB/dependency-inspector/internal" + "github.com/aboutcode-org/dependency-inspector/internal" "github.com/spf13/cobra" ) diff --git a/cmd/root.go b/cmd/root.go index 23b33f6..e732374 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -4,7 +4,7 @@ Copyright (c) nexB Inc. and others. All rights reserved. ScanCode is a trademark of nexB Inc. SPDX-License-Identifier: Apache-2.0 See http://www.apache.org/licenses/LICENSE-2.0 for the license text. -See https://github.com/nexB/dependency-inspector for support or download. +See https://github.com/aboutcode-org/dependency-inspector for support or download. See https://aboutcode.org for more information about nexB OSS projects. */ diff --git a/cmd/swift.go b/cmd/swift.go index 35ec73c..1443fe0 100644 --- a/cmd/swift.go +++ b/cmd/swift.go @@ -4,7 +4,7 @@ Copyright (c) nexB Inc. and others. All rights reserved. ScanCode is a trademark of nexB Inc. SPDX-License-Identifier: Apache-2.0 See http://www.apache.org/licenses/LICENSE-2.0 for the license text. -See https://github.com/nexB/dependency-inspector for support or download. +See https://github.com/aboutcode-org/dependency-inspector for support or download. See https://aboutcode.org for more information about nexB OSS projects. */ @@ -12,7 +12,7 @@ See https://aboutcode.org for more information about nexB OSS projects. package cmd import ( - "github.com/nexB/dependency-inspector/internal" + "github.com/aboutcode-org/dependency-inspector/internal" "github.com/spf13/cobra" ) diff --git a/cmd/yarn.go b/cmd/yarn.go index 50667ff..fe65e66 100644 --- a/cmd/yarn.go +++ b/cmd/yarn.go @@ -4,7 +4,7 @@ Copyright (c) nexB Inc. and others. All rights reserved. ScanCode is a trademark of nexB Inc. SPDX-License-Identifier: Apache-2.0 See http://www.apache.org/licenses/LICENSE-2.0 for the license text. -See https://github.com/nexB/dependency-inspector for support or download. +See https://github.com/aboutcode-org/dependency-inspector for support or download. See https://aboutcode.org for more information about nexB OSS projects. */ @@ -12,7 +12,7 @@ See https://aboutcode.org for more information about nexB OSS projects. package cmd import ( - "github.com/nexB/dependency-inspector/internal" + "github.com/aboutcode-org/dependency-inspector/internal" "github.com/spf13/cobra" ) diff --git a/go.mod b/go.mod index 386643a..30fb713 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/nexB/dependency-inspector +module github.com/aboutcode-org/dependency-inspector go 1.22.3 diff --git a/internal/utils.go b/internal/utils.go index 1cf73d9..2343da1 100644 --- a/internal/utils.go +++ b/internal/utils.go @@ -4,7 +4,7 @@ Copyright (c) nexB Inc. and others. All rights reserved. ScanCode is a trademark of nexB Inc. SPDX-License-Identifier: Apache-2.0 See http://www.apache.org/licenses/LICENSE-2.0 for the license text. -See https://github.com/nexB/dependency-inspector for support or download. +See https://github.com/aboutcode-org/dependency-inspector for support or download. See https://aboutcode.org for more information about nexB OSS projects. */ diff --git a/main.go b/main.go index 5c8d642..3fe3b94 100644 --- a/main.go +++ b/main.go @@ -4,14 +4,14 @@ Copyright (c) nexB Inc. and others. All rights reserved. ScanCode is a trademark of nexB Inc. SPDX-License-Identifier: Apache-2.0 See http://www.apache.org/licenses/LICENSE-2.0 for the license text. -See https://github.com/nexB/dependency-inspector for support or download. +See https://github.com/aboutcode-org/dependency-inspector for support or download. See https://aboutcode.org for more information about nexB OSS projects. */ package main -import "github.com/nexB/dependency-inspector/cmd" +import "github.com/aboutcode-org/dependency-inspector/cmd" func main() { cmd.Execute() diff --git a/scripts/build-all.sh b/scripts/build-all.sh index e0851b5..037e8e7 100755 --- a/scripts/build-all.sh +++ b/scripts/build-all.sh @@ -4,16 +4,16 @@ # ScanCode is a trademark of nexB Inc. # SPDX-License-Identifier: Apache-2.0 # See http://www.apache.org/licenses/LICENSE-2.0 for the license text. -# See https://github.com/nexB/dependency-inspector for support or download. +# See https://github.com/aboutcode-org/dependency-inspector for support or download. # See https://aboutcode.org for more information about nexB OSS projects. # - + platforms=( - "linux/arm64" - "linux/amd64" - "darwin/arm64" - "darwin/amd64" - "windows/arm64" + "linux/arm64" + "linux/amd64" + "darwin/arm64" + "darwin/amd64" + "windows/arm64" "windows/amd64" ) @@ -31,10 +31,10 @@ do GOOS=${platform_split[0]} GOARCH=${platform_split[1]} output_name='deplock-'$GOOS'-'$GOARCH - + if [ $GOOS = "windows" ]; then output_name+='.exe' - fi + fi env GOOS=$GOOS GOARCH=$GOARCH go build -ldflags "$build_flags" -o ./build/$output_name @@ -46,4 +46,4 @@ do exit 1 fi -done \ No newline at end of file +done diff --git a/test/utils_test.go b/test/utils_test.go index b0d3b37..581bc3c 100644 --- a/test/utils_test.go +++ b/test/utils_test.go @@ -4,7 +4,7 @@ Copyright (c) nexB Inc. and others. All rights reserved. ScanCode is a trademark of nexB Inc. SPDX-License-Identifier: Apache-2.0 See http://www.apache.org/licenses/LICENSE-2.0 for the license text. -See https://github.com/nexB/dependency-inspector for support or download. +See https://github.com/aboutcode-org/dependency-inspector for support or download. See https://aboutcode.org for more information about nexB OSS projects. */ @@ -15,7 +15,7 @@ import ( "path/filepath" "testing" - "github.com/nexB/dependency-inspector/internal" + "github.com/aboutcode-org/dependency-inspector/internal" ) func TestDoesFileExists(t *testing.T) {