diff options
author | Chad Smith <chad.smith@canonical.com> | 2019-11-07 16:17:46 +0000 |
---|---|---|
committer | Server Team CI Bot <josh.powers+server-team-bot@canonical.com> | 2019-11-07 16:17:46 +0000 |
commit | 14451d468cc80d89a80f0fbab7d8e11f3ac467e7 (patch) | |
tree | f9ac95a822f193c99829f4680f3443e69acc720a /tools/migrate-lp-user-to-github | |
parent | e3b6d77880e8ab215bf4318894b3edd491308286 (diff) | |
download | vyos-cloud-init-14451d468cc80d89a80f0fbab7d8e11f3ac467e7.tar.gz vyos-cloud-init-14451d468cc80d89a80f0fbab7d8e11f3ac467e7.zip |
tools: migrate script needs to write tools/.lp-to-git-user
Also fix commit message lint
Diffstat (limited to 'tools/migrate-lp-user-to-github')
-rwxr-xr-x | tools/migrate-lp-user-to-github | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/migrate-lp-user-to-github b/tools/migrate-lp-user-to-github index 6b095a14..f012d312 100755 --- a/tools/migrate-lp-user-to-github +++ b/tools/migrate-lp-user-to-github @@ -56,7 +56,7 @@ GITHUB_REMOTE_PATH_TMPL = 'git@github.com:{github_user}/cloud-init.git' # Comment templates -COMMIT_MSG_TMPL = ''' +COMMIT_MSG_TMPL = '''\ lp-to-git-users: adding {gh_username} Mapped from {lp_username} @@ -146,7 +146,7 @@ def create_migration_branch( MIGRATE_BRANCH_NAME)) create_publish_branch(upstream, MIGRATE_BRANCH_NAME) lp_to_git_map = {} - lp_to_git_file = os.path.join(os.getcwd(), LP_TO_GIT_USER_FILE) + lp_to_git_file = os.path.join(os.getcwd(), 'tools', LP_TO_GIT_USER_FILE) if os.path.exists(lp_to_git_file): with open(lp_to_git_file) as stream: lp_to_git_map = util.load_json(stream.read()) |