Skip to content

Commit

Permalink
Update integrations repo name
Browse files Browse the repository at this point in the history
  • Loading branch information
nmuesch committed Dec 9, 2022
1 parent 53ee44a commit 6edd272
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def create(ctx, name, integration_type, location, non_interactive, quiet, dry_ru
abort(f'Cannot use non-interactive mode with repo_choice: {repo_choice}')

if not non_interactive and not dry_run:
if repo_choice not in ['core', 'integrations']:
if repo_choice not in ['core', 'integrations-internal-core']:
support_email = click.prompt('Email used for support requests')
template_fields['email'] = support_email
template_fields['email_packages'] = template_fields['email']
Expand Down Expand Up @@ -152,7 +152,7 @@ def create(ctx, name, integration_type, location, non_interactive, quiet, dry_ru
else:
# Fill in all common non Marketplace fields
template_fields['pricing_plan'] = ''
if repo_choice in ['core', 'integrations']:
if repo_choice in ['core', 'integrations-internal-core']:
template_fields[
'author_info'
] = """
Expand Down
2 changes: 1 addition & 1 deletion datadog_checks_dev/datadog_checks/dev/tooling/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
'extras': os.path.join('~', 'dd', 'integrations-extras'),
'agent': os.path.join('~', 'dd', 'datadog-agent'),
'marketplace': os.path.join('~', 'dd', 'marketplace'),
'integrations': os.path.join('~', 'dd', 'integrations'),
'integrations-internal-core': os.path.join('~', 'dd', 'integrations-internal-core'),
},
'agents': {
'master': {'docker': 'datadog/agent-dev:master', 'local': 'latest'},
Expand Down
2 changes: 1 addition & 1 deletion datadog_checks_dev/datadog_checks/dev/tooling/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
'internal': 'integrations-internal',
'agent': 'datadog-agent',
'marketplace': 'marketplace',
'integrations': 'integrations',
'integrations-internal-core': 'integrations-internal-core',
}

VERSION_BUMP = {
Expand Down
4 changes: 2 additions & 2 deletions datadog_checks_dev/datadog_checks/dev/tooling/create.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def construct_template_fields(integration_name, repo_choice, integration_type, *
integration_links = integration_type_links.get(integration_type).format(
name=normalized_integration_name, repository="integrations-core"
)
elif repo_choice == 'integrations':
elif repo_choice == 'integrations-internal-core':
check_name = normalized_integration_name
author = 'Datadog'
email = 'help@datadoghq.com'
Expand All @@ -77,7 +77,7 @@ def construct_template_fields(integration_name, repo_choice, integration_type, *
license_header = ''
support_type = 'core'
integration_links = integration_type_links.get(integration_type).format(
name=normalized_integration_name, repository="integrations"
name=normalized_integration_name, repository="integrations-internal-core"
)
elif repo_choice == 'marketplace':
check_name = normalize_package_name(f"{kwargs.get('author')}_{normalized_integration_name}")
Expand Down

0 comments on commit 6edd272

Please sign in to comment.