Commit f1215bd
authored
fix(tool/cmd/migrate): change default samples to false add hardcoded cases in java migrate (#5351)
Changes default samples config to false when not found from BUILD.bazel
and added a few hardcoded cases.
`include_samples` defaults to false when not specified in
java_gapic_assembly_gradle_pkg.
Hardcoded a few cases to have config `samples: false`, to reflect
reality in google-cloud-java. These are edge-cases (mostly hybrid
libraries) that are effectively not generating samples: BUILD.bazel has
`include_samples` as true, but after generate, it is not configured to
move to final location via .OwlBot-hermetic.yaml. e.g.
[datastore](https://github.com/googleapis/google-cloud-java/blob/main/java-datastore/.OwlBot-hermetic.yaml).
For #53071 parent 38e370b commit f1215bd
3 files changed
Lines changed: 50 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
243 | | - | |
| 243 | + | |
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
| |||
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
369 | 373 | | |
370 | 374 | | |
371 | 375 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
28 | 35 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
365 | 399 | | |
366 | 400 | | |
367 | 401 | | |
| |||
401 | 435 | | |
402 | 436 | | |
403 | 437 | | |
| 438 | + | |
404 | 439 | | |
405 | 440 | | |
406 | 441 | | |
| |||
527 | 562 | | |
528 | 563 | | |
529 | 564 | | |
530 | | - | |
| 565 | + | |
531 | 566 | | |
532 | 567 | | |
533 | 568 | | |
| |||
0 commit comments