Skip to content

Commit 95097c5

Browse files
committed
remove scm providers that don't work yet
1 parent d0ecf97 commit 95097c5

File tree

2 files changed

+6
-12
lines changed

2 files changed

+6
-12
lines changed

src/sentry/features/temporary.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -143,14 +143,6 @@ def register_temporary_features(manager: FeatureManager) -> None:
143143
manager.add("organizations:github-repo-auto-sync-apply", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=False)
144144
manager.add("organizations:github_enterprise-repo-auto-sync", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=False)
145145
manager.add("organizations:github_enterprise-repo-auto-sync-apply", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=False)
146-
manager.add("organizations:gitlab-repo-auto-sync", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=False)
147-
manager.add("organizations:gitlab-repo-auto-sync-apply", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=False)
148-
manager.add("organizations:bitbucket-repo-auto-sync", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=False)
149-
manager.add("organizations:bitbucket-repo-auto-sync-apply", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=False)
150-
manager.add("organizations:bitbucket_server-repo-auto-sync", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=False)
151-
manager.add("organizations:bitbucket_server-repo-auto-sync-apply", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=False)
152-
manager.add("organizations:vsts-repo-auto-sync", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=False)
153-
manager.add("organizations:vsts-repo-auto-sync-apply", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=False)
154146
manager.add("organizations:integrations-perforce", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=True)
155147
manager.add("organizations:integrations-slack-staging", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=True)
156148
manager.add("organizations:scm-source-context", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=True)

src/sentry/integrations/source_code_management/sync_repos.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,15 @@
4444
# Providers to include in the periodic sync. Each must implement
4545
# get_repositories() returning RepositoryInfo with external_id.
4646
# Perforce is excluded because it cannot derive external_id from its API.
47+
# Providers to include in the periodic sync.
48+
# Other providers (GitLab, Bitbucket, Bitbucket Server, VSTS) have
49+
# build_repository_config methods that expect additional data beyond what
50+
# RepositoryInfo provides (e.g. url, instance, project_id). They need
51+
# follow-up work to either enrich the sync config or simplify their
52+
# build_repository_config before they can be added here.
4753
SCM_SYNC_PROVIDERS = [
4854
"github",
4955
"github_enterprise",
50-
"gitlab",
51-
"bitbucket",
52-
"bitbucket_server",
53-
"vsts",
5456
]
5557

5658

0 commit comments

Comments
 (0)