Lines Matching +full:- +full:- +full:repo
7 # http://www.apache.org/licenses/LICENSE-2.0
23 repo: str = None variable in CloudClient
29 def __init__(self, repo: dict):
30 self.repo = repo['repo']
32 self.title = repo['name_pretty'].replace("Google ", "").replace("Cloud ", "")
33 self.release_level = repo['release_level']
34 artifact_parts = repo['distribution_name'].split(':')
39 self.artifact_id = repo['distribution_name']
51 def replace_content_in_readme(content_rows: List[str]) -> None:
74 "preview": "[![preview][preview-stability]][preview-description]",
75 "stable": "[![stable][stable-stability]][stable-description]"
78 def client_row(client: CloudClient) -> str:
79 …maven_badge = f"[ | {RELEASE_LEVEL_CONTENT[client.rele…
82 def generate_table_contents(clients: List[CloudClient]) -> List[str]:
86 "| ------ | ------------- | ------- |\n",
91 REPO_METADATA_URL_FORMAT = "https://raw.githubusercontent.com/{repo_slug}/main/.repo-metadata.json"
93 def client_for_repo(repo_slug) -> Optional[CloudClient]:
101 def client_for_module(module) -> Optional[CloudClient]:
102 with open ('%s/.repo-metadata.json' % module, "r") as metadata_file:
104 data['repo'] = 'googleapis/google-cloud-java/tree/main/%s' % module
109 'java-bigtable-emulator',
110 'java-cloud-bom',
111 'java-conformance-tests',
112 'java-common-protos',
113 'java-core',
114 'java-gcloud-maven-plugin',
115 'java-grafeas',
116 'java-notification',
117 'java-shared-config',
118 'java-shared-dependencies'
121 LIBRARIES_IN_MONOREPO = glob("java-*")
123 def allowed_remote_repo(repo) -> bool: argument
124 return (repo['language'].lower() == 'java'
125 and repo['full_name'].startswith('googleapis/java-')
126 and repo['full_name'] not in
127 [ 'googleapis/%s' % repo for repo in (REPO_EXCLUSION + LIBRARIES_IN_MONOREPO)])
138 def all_clients() -> List[CloudClient]:
145 …clients.extend([client_for_repo(repo['full_name']) for repo in repos if allowed_remote_repo(repo)])