-
Notifications
You must be signed in to change notification settings - Fork 91
chore(java): add a note in README for migrated split repos #1687
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
Changes from 20 commits
4365858
fc1aadf
77a1b11
ce7621f
ae8bd3c
d8e5406
b0fc6ba
bdfc641
87fabb2
b77e482
58e06e3
a110ba9
e7df66d
bcc42fe
1b6809b
a866416
3668884
4b61704
812da6c
3007c14
e958b53
0b03d61
0e78ac7
f589e1d
3d1ed74
1da3731
106300a
89707ad
c0716f4
ba906ef
b3946d4
305dde4
528c020
f394051
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,9 @@ | ||
| { | ||
| "extends": [ | ||
| {% if metadata['repo']['library_type'] == 'GAPIC_AUTO' | ||
| or (metadata['repo']['repo_short'] and metadata['repo']['repo_short'] in ['java-translate', 'java-dns', 'java-notification', 'java-resourcemanager']) | ||
|
||
| %}{ | ||
| "enabled": false, | ||
| {% else %}{ | ||
| {% endif %} "extends": [ | ||
| ":separateMajorReleases", | ||
| ":combinePatchMinorReleases", | ||
| ":ignoreUnstable", | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -485,6 +485,9 @@ def common_templates( | |
| **kwargs: Additional options for CommonTemplates.java_library() | ||
| """ | ||
| kwargs["metadata"] = _common_template_metadata() | ||
| # MONOREPO environment variable is set in entrypoint.sh | ||
| kwargs["monorepo"] = os.environ.get("MONOREPO") == "true" | ||
| kwargs["split_repo"] = os.environ.get("MONOREPO") != "true" | ||
|
||
| templates = gcp.CommonTemplates(template_path=template_path).java_library(**kwargs) | ||
|
|
||
| # skip README generation on Kokoro (autosynth) | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.