Nick Cooke e6ed2b3917 [Infra] Use watchOS device when using `scripts/build.sh` for watchOS (#10082) 3 жил өмнө
..
create_spec_repo 55a81467e5 Preinstall FirebaseCore for release testing. (#9833) 3 жил өмнө
gha-encrypted ae061b1d90 [Infra] Rotate `ServiceAccount.json` secret used by RC integration tests (#9680) 4 жил өмнө
health_metrics b85e5a6639 [Infra] Convert `*.podspec.json`s to Ruby podspecs (#9829) 3 жил өмнө
lib 54d28547d3 Remove GDT from repo (#7384) 5 жил өмнө
lldb 96de8fb74b Add LLDB type summaries for Firestore types (#5407) 6 жил өмнө
spm_test_schemes 0c8536e35e Port Storage unit tests to Swift for corresponding Swift ports (#9521) 4 жил өмнө
third_party 627ebdcd45 CI: retry only 2 times (#7659) 5 жил өмнө
README.md 87e3523028 Add scripts/README.md and delete unused scripts (#9915) 3 жил өмнө
binary_to_array.py 4ea4340285 Upgrade clang-format (#5265) 6 жил өмнө
build.sh e6ed2b3917 [Infra] Use watchOS device when using `scripts/build.sh` for watchOS (#10082) 3 жил өмнө
build_non_firebase_sdks.sh 9e475a5c58 [v9] End beta period and update release tooling for select products (#9603) 4 жил өмнө
build_zip.sh d9343f6c56 Build release zip from GHA (#8093) 4 жил өмнө
buildcache.sh 87e3523028 Add scripts/README.md and delete unused scripts (#9915) 3 жил өмнө
change_headers.swift 7402150b2c FirebaseStorage[ObjC] to FirebaseStorageInternal (#9598) 4 жил өмнө
check.sh 782f0832c6 Remove script to check for absl reference from Firestore/core/api (#10066) 3 жил өмнө
check_copyright.sh 1d1ae87cfe Merge 6.33 SPM fixes back to master (#6530) 5 жил өмнө
check_filename_spaces.sh 97d4ab1410 Add travis check for filename spaces (#2821) 7 жил өмнө
check_imports.swift a32853ce4f Restore check_imports GDT exception (#9751) 3 жил өмнө
check_lint.py e447417fc0 Fix cpplint.py to work under Python 3 (#6201) 5 жил өмнө
check_secrets.sh eeced5d565 Fix travis quickstart tests (#5169) 6 жил өмнө
check_test_inclusion.py 3e3bcb41f7 Rewrite lint.sh as check_lint.py (#3161) 6 жил өмнө
check_whitespace.sh 97b34aa964 Patch nanopb CMakeLists.txt to look for python 3.7 instead of python 2.7 (#9947) 3 жил өмнө
collect_metrics.sh 00247dd50d Fix the metric collection on postsubmit. (#2972) 6 жил өмнө
configure_test_keychain.sh 9a3bcfd904 Configure test keychain for macOS tests (#8494) 4 жил өмнө
cpplint.py 02357e7f02 Future Apple toolchain fixes (#7563) 5 жил өмнө
create_pull_request.rb 05f9b2d0d6 Update NOTICES workflow. (#9754) 3 жил өмнө
decrypt_gha_secret.sh d653c9584c Update copyright presubmit and fix 2020 copyrights (#5944) 5 жил өмнө
encrypt_gha_secret.sh 4ab5dc5f19 GHA Project Maintenance (#8632) 4 жил өмнө
fuzzing_ci.sh 93ad9fc551 Make fuzzing less verbose to avoid exceeding Travis log limit (#2126) 7 жил өмнө
generate_access_token.sh 5bba5242e2 Update remote `generate_access_token` script (#9089) 4 жил өмнө
install_prereqs.sh e408699a85 Run CI on macos12 (#9745) 3 жил өмнө
localize_podfile.swift bc2bc6b9f2 Fix RC Codable to handle arrays and dictionaries from plist defaults (#10046) 3 жил өмнө
make_release_notes.py 87e3523028 Add scripts/README.md and delete unused scripts (#9915) 3 жил өмнө
pod_lib_lint.rb b85e5a6639 [Infra] Convert `*.podspec.json`s to Ruby podspecs (#9829) 3 жил өмнө
release_testing_setup.sh 55a81467e5 Preinstall FirebaseCore for release testing. (#9833) 3 жил өмнө
remove_data.sh 49a72594e7 Remove potentially unnecessary secret (#8644) 4 жил өмнө
run_database_emulator.sh 3cf318460c Bump RTDB emulator version (#7250) 5 жил өмнө
run_firestore_emulator.sh fa04212d3f Update firestore emulator version in tests (#6420) 5 жил өмнө
setup_bundler.sh 7fd97ea3e5 Update setup_bundler.sh (#9098) 4 жил өмнө
setup_check.sh 0336856b9f [Infra] Bump clang-format to v14 (#9527) 4 жил өмнө
setup_quickstart.sh 3a1e4699bd v9 quickstarts have merged to master (#9766) 3 жил өмнө
setup_quickstart_framework.sh 3a1e4699bd v9 quickstarts have merged to master (#9766) 3 жил өмнө
setup_spm_tests.sh 2f972249c5 Fix GoogleAppMeasurement SPM CI (#8606) 4 жил өмнө
style.sh 8d65537335 Fix typos (#9802) 3 жил өмнө
sync_project.rb a22b425377 Firestore - new public header structure (#6197) 5 жил өмнө
test_archiving.sh fbeb1cf435 Archive workflow now needs xcpretty (#9770) 3 жил өмнө
test_catalyst.sh 8d65537335 Fix typos (#9802) 3 жил өмнө
test_quickstart.sh 6751623a44 Update quickstart tests based on quickstart-ios/issues/1260 (#8568) 4 жил өмнө
test_quickstart_framework.sh 2d6980f360 Include Swift extensions in zip and Carthage (#9471) 4 жил өмнө
update_xcode_target.rb 10e364c54b Restore RC SwiftAPI Tests (#8792) 4 жил өмнө
xcresult_logs.py 8af6c20977 xcresult_logs.py: Fix potential UnicodeEncodeError (#9645) 4 жил өмнө
zip_quickstart_test.sh 2d6980f360 Include Swift extensions in zip and Carthage (#9471) 4 жил өмнө

README.md

Firebase Apple Scripts

This directory provides a set of scripts for development, test, and continuous integration of the Firebase Apple SDKs.

check.sh

Used by the check CI workflow to run several static analysis checks. It calls the following scripts:

style.sh

Runs clang-format and swiftformat across the repo.

check_whitespace.sh

Verify there are no files with trailing whitespace.

check_filename_spaces.sh

Spaces in filenames are not allowed.

check_copyright.sh

Verify existence and format of copyrights.

check_test_inclusion.py

Test existence check for the internal Firestore Xcode project.

check_imports.swift

Verify import style complies with repo standards.

check_firestore_core_api_absl.sh

Check Firestore absl usages for g3 build issues.

check_lint.sh

Run cpplint.

sync_project.rb

Used by Firestore to to keep the Xcode project in sync after adding/removing tests.

Other Scripts

binary_to_array.py

Firestore script to convert binary data into a C/C++ array.

build.sh

Script used by CI jobs to wrap xcodebuild invocations with options.

build_non_firebase_sdks.sh

CI script to build binary versions of non-Firebase SDKs for QuickStart testing.

build_zip.sh

CI script for building the zip distribution.

buildcache.sh

Clang options for the buildcache GitHub action.

change_headers.swift

Utility script to update source to repo-relative headers.

check_secrets.sh

CI script to test if secrets are available (not running on a fork).

collect_metrics.sh

CI script to collect project health metrics and upload them to a database.

configure_test_keychain.sh

CI script to setup the keychain for macOS and Catalyst testing.

cpplint.py

Firestore script for C++ linting.

create_pull_request.rb

Utility used by CI scripts to create issues and PRs.

decrypt_gha_secret.sh

CI script to decrypt a GitHub Actions secret.

encrypt_gha_secret.sh

CI script to encrypt a GitHub Actions secret.

fuzzing_ci.sh

Firestore CI script to run fuzz testing.

generate_access_token.sh

Script to generate a Firebase access token used by Remote config integration tests.

install_prereqs.sh

Utility CI script to provide configuration for build.sh

localize_podfile.swift

Utility script to update a Podfile to point to local podspecs.

make_release_notes.py

Converts GitHub-flavored markdown changelogs to devsite-compatible release notes.

pod_lib_lint.rb

Wrapper script for running pod lib lint tests to include dependencies from the monorepo.

release_testing_setup.sh

Utility script for the release workflow.

remove_data.sh

Cleanup script for CI workflows.

run_database_emulator.sh

Run the RTDB emulator.

run_firestore_emulator.sh

Run the Firestore emulator.

setup_bundler.sh

Set up the Ruby bundler.

setup_check.sh

Install tooling for the check workflow.

setup_quickstart.sh

Set up a QuickStart for integration testing.

setup_quickstart_framework.sh

Set up a QuickStart for zip distribution testing.

setup_spm_tests.sh

Configuration for SPM testing.

spm_test_schemes/

Schemes used by above script to enable test target schemes.

test_archiving.sh

Test Xcode Archive build.

test_catalyst.sh

Test catalyst build.

test_quickstart.sh

Test QuickStart.

test_quickstart_framework.sh

Test QuickStart with the zip distribution.

update_xcode_target.rb

Script to add a file to an Xcode target.

xcresult_logs.py

Tooling used by build.sh to get the log output for an xcodebuild invocation.

zip_quickstart_test.sh

Run the tests associated with a QuickStart with a zip distribution.

Script Subdirectories

create_spec_repo

Swift utility to build a podspec repo.

gha-encrypted

Store for GitHub secret encrypted resources.

health_metrics

Code coverage and binary size tooling.

lib

Support libraries for xcresult_logs.py.

lldb

Firestore utilities.

third_party

Use Travis's MIT licensed retry.sh script.