From b23bcfdc041fa9459d2beb423eea35e3ad34e64a Mon Sep 17 00:00:00 2001 From: Tim Pierce Date: Mon, 15 Sep 2014 13:13:45 -0400 Subject: [PATCH] 3699: ensure unique names for new pipelines --- sdk/python/arvados/commands/copy.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sdk/python/arvados/commands/copy.py b/sdk/python/arvados/commands/copy.py index b2501192ec..a3ead8a79f 100755 --- a/sdk/python/arvados/commands/copy.py +++ b/sdk/python/arvados/commands/copy.py @@ -163,6 +163,7 @@ def copy_pipeline_instance(pi_uuid, src, dst, dst_git_repo, dst_project=None, re # Create the new pipeline instance at the destination Arvados. pi['properties']['copied_from_pipeline_instance_uuid'] = pi_uuid del pi['uuid'] + pi['ensure_unique_name'] = True new_pi = dst.pipeline_instances().create(body=pi).execute() return new_pi @@ -188,6 +189,7 @@ def copy_pipeline_template(pt_uuid, src, dst, dst_git_repo, recursive=True): copy_git_repos(pt, src, dst, dst_git_repo) pt['name'] = pt['name'] + ' copy' + pt['ensure_unique_name'] = True del pt['uuid'] del pt['owner_uuid'] -- 2.30.2