|
|
@ -419,6 +419,8 @@ class GalaxyCLI(CLI):
|
|
|
|
'(usually master)')
|
|
|
|
'(usually master)')
|
|
|
|
import_parser.add_argument('--role-name', dest='role_name',
|
|
|
|
import_parser.add_argument('--role-name', dest='role_name',
|
|
|
|
help='The name the role should have, if different than the repo name')
|
|
|
|
help='The name the role should have, if different than the repo name')
|
|
|
|
|
|
|
|
import_parser.add_argument('--namespace', dest='role_namespace',
|
|
|
|
|
|
|
|
help='The role namespace, if different than the user name')
|
|
|
|
import_parser.add_argument('--status', dest='check_status', action='store_true', default=False,
|
|
|
|
import_parser.add_argument('--status', dest='check_status', action='store_true', default=False,
|
|
|
|
help='Check the status of the most recent import request for given github_'
|
|
|
|
help='Check the status of the most recent import request for given github_'
|
|
|
|
'user/github_repo.')
|
|
|
|
'user/github_repo.')
|
|
|
@ -1805,7 +1807,8 @@ class GalaxyCLI(CLI):
|
|
|
|
# Submit an import request
|
|
|
|
# Submit an import request
|
|
|
|
task = self.api.create_import_task(github_user, github_repo,
|
|
|
|
task = self.api.create_import_task(github_user, github_repo,
|
|
|
|
reference=context.CLIARGS['reference'],
|
|
|
|
reference=context.CLIARGS['reference'],
|
|
|
|
role_name=context.CLIARGS['role_name'])
|
|
|
|
role_name=context.CLIARGS['role_name'],
|
|
|
|
|
|
|
|
namespace=context.CLIARGS['role_namespace'])
|
|
|
|
|
|
|
|
|
|
|
|
if len(task) > 1:
|
|
|
|
if len(task) > 1:
|
|
|
|
# found multiple roles associated with github_user/github_repo
|
|
|
|
# found multiple roles associated with github_user/github_repo
|
|
|
|