Skip to content

Project: don't depend on the brand name #12008

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 19, 2025
Merged

Conversation

@stsewd stsewd requested a review from a team as a code owner February 19, 2025 01:13
@stsewd stsewd requested a review from humitos February 19, 2025 01:13
return service_class.allauth_provider.name if service_class else None
def is_github_project(self):
from readthedocs.oauth.services import GitHubService
return self.get_git_service_class(fallback_to_clone_url=True) == GitHubService
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will be in [GitHubService, GitHubAppService] with #11942

@@ -1055,10 +1055,24 @@ def get_git_service_class(self, fallback_to_clone_url=False):
return service_cls

@property
def git_provider_name(self):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you grepped all the repositories to check if we are using it in other places? Just in case.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nothing in .com and ext.

@stsewd stsewd merged commit bdca0bd into main Feb 19, 2025
8 checks passed
@stsewd stsewd deleted the dont-depend-on-brand-name branch February 19, 2025 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants