|
15 | 15 | # limitations under the License. |
16 | 16 |
|
17 | 17 | """ |
18 | | -This script fetches the latest cocoapod and android package versions from their |
| 18 | +This script fetches the latest Cocoapod and Android package versions from their |
19 | 19 | respective public repositories and updates these versions in various files |
20 | 20 | across the C++ repository. |
21 | 21 |
|
22 | 22 | There are 3 types of files being updated by this script, |
23 | | -- Podfile : Files containins lists of cocoapods along with their versions. |
| 23 | +- Podfile : Files containing lists of cocoapods along with their versions. |
24 | 24 | Eg: `ios_pods/Podfile` and any integration tests podfiles. |
25 | 25 |
|
26 | | -- Android dependencies gradle file: Gradle files containing list of android |
| 26 | +- Android dependencies gradle file: Gradle files containing list of Android |
27 | 27 | libraries and their versions that is |
28 | 28 | referenced by gradle files from sub projects |
29 | 29 | Eg: `Android/firebase_dependencies.gradle` |
30 | 30 |
|
31 | | -- Readme file: Readme file containing all dependencies (ios and android) and |
| 31 | +- Readme file: Readme file containing all dependencies (iOS and Android) and |
32 | 32 | and their versions. Eg: 'release_build_files/readme.md` |
33 | 33 |
|
34 | 34 | Usage: |
|
39 | 39 | # Update versions in default set of files in the repository |
40 | 40 | python3 scripts/update_ios_android_dependencies.py |
41 | 41 |
|
42 | | -# Update only android packages |
| 42 | +# Update only Android packages |
43 | 43 | python3 scripts/update_ios_android_dependencies.py --skip_ios |
44 | 44 |
|
45 | 45 | # Update specific pod files (or directories containing pod files) |
@@ -364,7 +364,7 @@ def replace_pod_line(m): |
364 | 364 |
|
365 | 365 | ########## Android versions update ############################# |
366 | 366 |
|
367 | | -# Android gMaven repostiory from where we scan available android packages |
| 367 | +# Android gMaven repostiory from where we scan available Android packages |
368 | 368 | # and their versions |
369 | 369 | GMAVEN_MASTER_INDEX = "https://dl.google.com/dl/android/maven2/master-index.xml" |
370 | 370 | GMAVEN_GROUP_INDEX = "https://dl.google.com/dl/android/maven2/{0}/group-index.xml" |
@@ -622,9 +622,9 @@ def parse_cmdline_args(): |
622 | 622 |
|
623 | 623 | def main(): |
624 | 624 | args = parse_cmdline_args() |
625 | | - # Readme files have to be updated for both android and iOS dependencies. |
| 625 | + # Readme files have to be updated for both Android and iOS dependencies. |
626 | 626 | readme_files = get_files(args.readmefiles, file_extension='.md', |
627 | | - file_name='readme') |
| 627 | + file_name='readme') |
628 | 628 |
|
629 | 629 | if not args.skip_ios: |
630 | 630 | latest_pod_versions_map = get_latest_pod_versions(args.specs_repo, PODS) |
|
0 commit comments