11#!/usr/bin/env python
2- # -*- coding: utf-8 -*-
32#
4- # Copyright (c) nexB Inc. and others. All rights reserved.
3+ # Copyright (c) nexB Inc. AboutCode, and others. All rights reserved.
54# ScanCode is a trademark of nexB Inc.
65# SPDX-License-Identifier: Apache-2.0
76# See http://www.apache.org/licenses/LICENSE-2.0 for the license text.
8- # See https://github.com/nexB /skeleton for support or download.
7+ # See https://github.com/aboutcode-org /skeleton for support or download.
98# See https://aboutcode.org for more information about nexB OSS projects.
109#
1110
1615import click
1716
1817
19- NEXB_PUBLIC_REPO_NAMES = [
18+ ABOUTCODE_PUBLIC_REPO_NAMES = [
2019 "aboutcode-toolkit" ,
2120 "ahocode" ,
2221 "bitcode" ,
5655
5756@click .command ()
5857@click .help_option ("-h" , "--help" )
59- def update_skeleton_files (repo_names = NEXB_PUBLIC_REPO_NAMES ):
58+ def update_skeleton_files (repo_names = ABOUTCODE_PUBLIC_REPO_NAMES ):
6059 """
61- Update project files of nexB projects that use the skeleton
60+ Update project files of AboutCode projects that use the skeleton
6261
6362 This script will:
6463 - Clone the repo
@@ -81,14 +80,14 @@ def update_skeleton_files(repo_names=NEXB_PUBLIC_REPO_NAMES):
8180 os .chdir (work_dir_path )
8281
8382 # Clone repo
84- repo_git = f"git@github.com:nexB /{ repo_name } .git"
83+ repo_git = f"git@github.com:aboutcode-org /{ repo_name } .git"
8584 subprocess .run (["git" , "clone" , repo_git ])
8685
8786 # Go into cloned repo
8887 os .chdir (work_dir_path / repo_name )
8988
9089 # Add skeleton as an origin
91- subprocess .run (["git" , "remote" , "add" , "skeleton" , "git@github.com:nexB /skeleton.git" ])
90+ subprocess .run (["git" , "remote" , "add" , "skeleton" , "git@github.com:aboutcode-org /skeleton.git" ])
9291
9392 # Fetch skeleton files
9493 subprocess .run (["git" , "fetch" , "skeleton" ])
0 commit comments