Commit Graph
403 Commits
Author SHA1 Message Date
69bfe3fd3c Merge FLoC SDK into master branch. (#6466)
* Create Segmentation SDK structure for source and unit tests. (#3214)

* Create Segmentation SDK structure for source and unit tests.

* Review changes: Remove unnecessary files in test folder. Add md-floc-master to CI

* Rename Segmentation directory to FirebaseSegmentation directory. Update podspec to include search header path.

* Add core support with interop for Segmentation SDK.  (#3430)

* Add core support with interop for Segmentation SDK. Also update headers to be under sources folder.

* Review fixes.

* Minor changes.

* Fix style.

* Fix style.

* Style changes.

* Fix whitespace in travis.yml

* Fix style.

* Travis CI is stuck..try updating the travis.yml

* Undo travis.yml change.

* Working drop of Segmentation SDK along with test app and unit tests. (#4574)

* Working drop of Segmentation SDK along with sample app and unit tests.

* Update if_changed.sh to include FirebaseSegmentation.

* Complete NS_ASSUME_NON_NULL_START with NS_ASSUME_NON_NULL_END in header file.

* Fix unit tests.

* Fix style.

* Fixes after running XCode's static analyzer.

* Fix style.

* fix style.

* 'pod lib lint' fixes.

* Fix analyzer errors.

* Address review comments.

* Minor changes for review comments.

* Address review comments.

* Address review comments.

* stop mocking in tear down method for tests.

* Minor update to sample app project.

* Fix trailing whitespace in Podfile.

* Add set -x to check.sh

* update segmetation dependency version

* migrate FloC SDK to depend on FIS SDK directly

* format floc

* format

* using customized FIRapp

* remove test plist file

* refactor to capture weakself

* format

* replace partial mock with class mock

* minor refactoring

* use subscript to manipulate dictionary instance

* fix import error

* minor refoctoring, addressing comments

* address comments

* fix configurations

* format

Co-authored-by: dmandar <dmandar@users.noreply.github.com>
Co-authored-by: ChaoqunCHEN <cqchen93@gmail.com>
2020-10-01 15:10:32 -07:00
Paul Beusterien 5d0a1c8ccb Merge remote-tracking branch 'origin/firebase7-main' into pb-merge-firebase7 2020-09-30 14:23:40 -07:00
Paul Beusterien f2bcd5d82b Make all GoogleUtilities APIs public (#6588) 2020-09-29 07:26:10 -07:00
Gran 5ce6167b3a Update versions automation (#6550) 2020-09-24 14:28:05 -07:00
Paul Beusterien f3b8461157 SwiftPM for FCM (#6541) 2020-09-23 13:55:15 -07:00
Paul Beusterien 89dd31a7ae IID: repo-relative headers (#6539) 2020-09-23 11:00:54 -07:00
Gran 9f8d395637 Add release candidate prerelease workflow. (#6487)
This also update cocoapods source to cocoapods repo since cdn is failed to connect.
2020-09-22 19:46:23 -07:00
Paul Beusterien 1d1ae87cfe Merge 6.33 SPM fixes back to master (#6530)
* SPM M80(6.33.0) Analytics update (#6490)
* Remove unnecessary analytics public header copy (#6498)
* Fix SPM analytics warning introduced yesterday (#6504)
* Fix SPM version (#6527)
2020-09-22 17:49:55 -07:00
Paul Beusterien c03bbf7203 Update dependent Swift repo to fix CI breakage (#6514) 2020-09-21 15:26:10 -07:00
Gran b7fc8997cd Update release workflow (#6481) 2020-09-17 10:29:53 -07:00
Gran 427cdeda6f Remove tag before add (#6450) 2020-09-14 10:08:13 -07:00
Gran fcfe9eea19 Test workflows with tag. (#6423) 2020-09-11 14:53:40 -07:00
Paul Beusterien b7ab23b7c0 SPM test infra fixes (#6427) 2020-09-10 07:32:57 -07:00
Brian Chen fa04212d3f Update firestore emulator version in tests (#6420) 2020-09-09 14:08:06 -05:00
Gran 6419591e7f Token to add a tag to repo. (#6421) 2020-09-08 17:32:00 -07:00
Gran 1922510a27 Update path able to be read in sed (#6412) 2020-09-08 10:56:19 -07:00
Gran 3c943f08ed Update tool of pushing podspecs. (#6370) 2020-09-01 16:12:57 -07:00
Gran 90a1aff41d Update release workflow to update spec repo. (#6335) 2020-08-28 15:29:08 -07:00
Ryan Wilson bdf84c0a7b Archive testing on GHA (#6338)
* Testing generating archives on GHA

* Removed unnecessary quotes.

* Fix arguments again.

* Attempt to archive macOS and tvOS too

* Fix naming

* arg parsing

* Fix parentheses style.

* End case for bash script.

* Try Catalyst support, too.

* Try Catalyst support, too for real.

* Catalyst again

* Revert Catalyst build.

This was wrong (scheme should have been App-iOS) but then that failed
with a different error:

```
firebase-ios-sdk/gen/FirebaseCore/Target Support Files/nanopb/nanopb-prefix.pch:2:9: fatal error: 'UIKit/UIKit.h' file not found
        ^~~~~~~~~~~~~~~
1 error generated.

```

I'll revert it for now and address later.

* Add ALL THE SDKS

* Run on cron job only

* Removed Installations test.

* Remove uploading of archive, print size on disk

* Temporarily run Core on PRs for testing.

* Re-enable cron only for Core.
2020-08-27 13:34:08 -04:00
Gran 7609f030c6 Add a tool to update podspec repo (#6333)
This tool is to automate the process of creating a podspec repo.
2020-08-25 17:30:12 -07:00
Morgan Chen 54421ead25 Add appdistro to docsgen script (#6325) 2020-08-24 12:20:57 -07:00
Gran 7a85401aba Add bot access to podspec repo. (#6317)
Update bot access.
2020-08-21 10:57:39 -07:00
Konstantin Varlamov 160f21a6ca Make the language reported via headers configurable (#6264) 2020-08-14 15:21:43 -04:00
Gil feeee48330 Run swiftformat via mint run (#6261)
* Intentional formatting error

* Run swiftformat via mint run

This avoids users needing to bootstrap manually and avoids permission
problems with installation in /usr/local.

* Update documentation

* Adjust setup_check.sh

* Intentional formatting error

* Fix copyright and typo

* Review feedback

* GitHub Actions

* Remove version check for swiftformat

The output of mint run includes details on which versions it is
installing so there's no ambiguity in CI logs.

* explicit bootstrap

* style.sh generated changes
2020-08-12 14:50:37 -07:00
Paul Beusterien 60927d9394 SPM - FIAM (#6257) 2020-08-12 11:21:06 -07:00
Paul Beusterien eabe8d46a0 Update and apply swiftformat fix (#6239) 2020-08-09 14:48:00 -07:00
Paul Beusterien 202df4134d Update swiftformat and control its version via mint (#6229) 2020-08-07 17:05:17 -07:00
Paul Beusterien 745ddc51ad Enable check_imports presubmit for FDL (#6228) 2020-08-07 13:07:11 -07:00
Paul Beusterien e2214e2dd3 SPM - Initial Analytics (#6215) 2020-08-06 14:08:25 -07:00
Gran 0fe9a6fc0d Add bot access secret. (#6213) 2020-08-05 15:22:09 -07:00
Denver Coneybeare e447417fc0 Fix cpplint.py to work under Python 3 (#6201) 2020-08-04 12:30:29 -04:00
Paul Beusterien a22b425377 Firestore - new public header structure (#6197) 2020-08-04 06:50:55 -07:00
Gil 1dffd1bea3 Temporarily run cpplint under python2 (#6198) 2020-08-03 18:07:54 -07:00
Paul Beusterien 4dc9a4aa6e Add SPM ObjC import test (#6191) 2020-08-03 11:30:07 -07:00
Paul Beusterien 70d4e8a6e6 GDT remove @import (#6178) 2020-07-31 09:26:49 -07:00
Paul Beusterien ebe6365ceb Installations - new public header structure (#6174) 2020-07-31 07:40:55 -07:00
Paul Beusterien 0b977bd636 Revert "Remove #if SWIFT_PACKAGE checks for nanopb (#6163)" (#6164)
This reverts commit 303f8ca7bb.
2020-07-30 08:40:47 -07:00
Paul Beusterien 303f8ca7bb Remove #if SWIFT_PACKAGE checks for nanopb (#6163) 2020-07-30 06:49:46 -07:00
Paul Beusterien 7592ea6402 Ignore SwiftPM gen'd files in style (#6162) 2020-07-30 06:30:24 -07:00
Gran 25e17066fa Set up release testing. (#6088)
Run release test using SpecStaging repo.
2020-07-24 11:39:35 -07:00
Denver Coneybeare 719eb59f74 Set Python3 as the default Python in "check" and "firestore" GitHub workflows (#6114) 2020-07-24 14:01:05 -04:00
Paul Beusterien 83ff0671ff Updates for bumping swiftformat to 0.44.17 (#6120) 2020-07-23 15:44:55 -07:00
Paul Beusterien 40b805bccd Fix RemoteConfig sample (#6113) 2020-07-23 10:01:02 -07:00
Paul Beusterien b27773d60d Fix check breakage from when GHA was out (#6110) 2020-07-22 13:22:33 -07:00
Gran 3e0698769e Update artifacts name (#6067) 2020-07-17 10:12:35 -07:00
Nick Cooke 2ceb9d64c1 Remote Config Console API for Testing (#6009)
* Added Remote Config Console API and some tests

* Added workflow scripts

* Update path in remote config workflow

* Update path in remote config workflow 2.0

* Adding print statements to debug

* Update generate_access_token.sh

* Style and script cleanup

* Updated README and script

* reordering workflow tests for faster dev

* Updated generate_access_token.sh

* Removed unneeded part of path

* Set env var in GHA rather than script

* Fix env var in GHA

* Fix env var in GHA 2.0

* Refactored actions into one script

* removed back slash

* Removed unneeded workflow step

* Refactored script and added comments

* Minor tweaks

* Added new line

* well nvm that tweak

* Reordered workflow steps back to original order

* Only generate access token for ios runs

* Fixed readme, organized tests, improved RemoteConfigConsole

* Fixed test

* reordering tests for dev

* Removed README.md

* Added local dev mode for script

* Reset the ordering of tests to original order

* Update README

* Update README again

* Trailing space

* trailing space..again

* Cleanup up cloned repo in script

* Resolved feedback

* Style

* Gotta love trailing spaces

* Resolved feedback 2.0

* Resolved feedback 3.0

* Changed param type for update APIs

* Fixed type in updateRemoteConfigValue  method
2020-07-16 11:13:04 -04:00
Paul Beusterien 19b65ead65 RC: Repo-relative imports and SwiftPM (#6015) 2020-07-10 14:25:05 -07:00
Paul Beusterien 2660d49c7d ABTesting - Repo-relative imports and SwiftPM (#6013) 2020-07-09 15:48:47 -07:00
Paul Beusterien d33b8b3ae1 SPM - Auth unit tests (#6011) 2020-07-09 13:31:53 -07:00
Paul Beusterien 76a3997bd2 Ease diagnosis of origin of check failures (#6003) 2020-07-08 10:26:01 -07:00