# Path: releasetool/commands/common.py
# class TagContext(GitHubContext):
#     release_pr: Optional[dict] = None
#     release_tag: Optional[str] = None
#     release_version: Optional[str] = None
#     github_release: Optional[dict] = None
#     kokoro_job_name: Optional[str] = None
#     fusion_url: Optional[str] = None
#     token: Optional[str] = None


import getpass
import re
import click
import releasetool.circleci
import releasetool.git
import releasetool.github
import releasetool.secrets
import releasetool.commands.common
from typing import Union
from requests import HTTPError
from releasetool.commands.common import TagContext

# Standard Ruby repos in the googleapis org
RUBY_CLIENT_REPOS = [
    "common-protos-ruby",
    "gapic-generator-ruby",
    "google-api-ruby-client",
    "google-auth-library-ruby",
    "google-cloud-ruby",
    "ruby-cloud-env",
    "ruby-spanner-activerecord",
    "ruby-style",
    "signet",
]

# Standard Ruby repos in the GoogleCloudPlatform org
RUBY_CLOUD_REPOS = [
    "appengine-ruby",
    "functions-framework-ruby",
    "serverless-exec-ruby",
]

# Standard Ruby monorepos with gems located in subdirectories
RUBY_MONO_REPOS = [
    "common-protos-ruby",
    "gapic-generator-ruby",
    "google-api-ruby-client",
    "google-cloud-ruby",
]



# Path: releasetool/commands/common.py
# class TagContext(GitHubContext):
#     release_pr: Optional[dict] = None
#     release_tag: Optional[str] = None
#     release_version: Optional[str] = None
#     github_release: Optional[dict] = None
#     kokoro_job_name: Optional[str] = None
#     fusion_url: Optional[str] = None
#     token: Optional[str] = None


# Path: releasetool/commands/tag/ruby.py
import getpass
import re
import click
import releasetool.circleci
import releasetool.git
import releasetool.github
import releasetool.secrets
import releasetool.commands.common
from typing import Union
from requests import HTTPError
from releasetool.commands.common import TagContext


# Standard Ruby repos in the googleapis org
RUBY_CLIENT_REPOS = [
    "common-protos-ruby",
    "gapic-generator-ruby",
    "google-api-ruby-client",
    "google-auth-library-ruby",
    "google-cloud-ruby",
    "ruby-cloud-env",
    "ruby-spanner-activerecord",
    "ruby-style",
    "signet",
]

# Standard Ruby repos in the GoogleCloudPlatform org
RUBY_CLOUD_REPOS = [
    "appengine-ruby",
    "functions-framework-ruby",
    "serverless-exec-ruby",
]

# Standard Ruby monorepos with gems located in subdirectories
RUBY_MONO_REPOS = [
    "common-protos-ruby",
    "gapic-generator-ruby",
    "google-api-ruby-client",
    "google-cloud-ruby",
]



def determine_release_pr(ctx: TagContext) -> None: