Skip to content

Commit df75e50

Browse files
authored
Migrate Auth to canonical directory structure (#5318)
1 parent b38f44d commit df75e50

File tree

445 files changed

+139
-1468
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

445 files changed

+139
-1468
lines changed

.github/workflows/auth.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ on:
44
pull_request:
55
paths:
66
- 'FirebaseAuth**'
7-
- 'Firebase/Auth' # Delete after source reorg
87
- '.github/workflows/auth.yml'
9-
- 'scripts/**'
108
schedule:
119
# Run every day at 11pm (PST) - cron uses UTC times
1210
- cron: '0 7 * * *'
@@ -40,17 +38,17 @@ jobs:
4038
- name: Install Secrets
4139
run: |
4240
scripts/decrypt_gha_secret.sh scripts/gha-encrypted/AuthCredentials.h.gpg \
43-
Example/Auth/ApiTests/AuthCredentials.h "$plist_secret"
41+
FirebaseAuth/Tests/Sample/ApiTests/AuthCredentials.h "$plist_secret"
4442
scripts/decrypt_gha_secret.sh scripts/gha-encrypted/AuthSample/Application.plist.gpg \
45-
Example/Auth/Sample/Application.plist "$plist_secret"
43+
FirebaseAuth/Tests/Sample/Sample/Application.plist "$plist_secret"
4644
scripts/decrypt_gha_secret.sh scripts/gha-encrypted/AuthSample/AuthCredentials.h.gpg \
47-
Example/Auth/Sample/AuthCredentials.h "$plist_secret"
45+
FirebaseAuth/Tests/Sample/Sample/AuthCredentials.h "$plist_secret"
4846
scripts/decrypt_gha_secret.sh scripts/gha-encrypted/AuthSample/GoogleService-Info.plist.gpg \
49-
Example/Auth/Sample/GoogleService-Info.plist "$plist_secret"
47+
FirebaseAuth/Tests/Sample/Sample/GoogleService-Info.plist "$plist_secret"
5048
scripts/decrypt_gha_secret.sh scripts/gha-encrypted/AuthSample/GoogleService-Info_multi.plist.gpg \
51-
Example/Auth/Sample/GoogleService-Info_multi.plist "$plist_secret"
49+
FirebaseAuth/Tests/Sample/Sample/GoogleService-Info_multi.plist "$plist_secret"
5250
scripts/decrypt_gha_secret.sh scripts/gha-encrypted/AuthSample/Sample.entitlements.gpg \
53-
Example/Auth/Sample/Sample.entitlements "$plist_secret"
51+
FirebaseAuth/Tests/Sample/Sample/Sample.entitlements "$plist_secret"
5452
5553
- name: BuildAndTest # can be replaced with pod lib lint with CocoaPods 1.10
5654
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/build.sh Auth iOS)

.gitignore

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
Example/Auth/Sample/Application.plist
2-
Example/Auth/Sample/AuthCredentials.h
3-
Example/Auth/Sample/GoogleService-Info_multi.plist
4-
Example/Auth/Sample/GoogleService-Info.plist
5-
Example/Auth/Sample/Sample.entitlements
6-
Example/Auth/ApiTests/AuthCredentials.h
1+
FirebaseAuth/Tests/Sample/Sample/Application.plist
2+
FirebaseAuth/Tests/Sample/Sample/AuthCredentials.h
3+
FirebaseAuth/Tests/Sample/Sample/GoogleService-Info_multi.plist
4+
FirebaseAuth/Tests/Sample/Sample/GoogleService-Info.plist
5+
FirebaseAuth/Tests/Sample/Sample/Sample.entitlements
6+
FirebaseAuth/Tests/Sample/ApiTests/AuthCredentials.h
77

88
Example/Database/App/GoogleService-Info.plist
99

Dangerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ has_license_changes = didModify(["LICENSE"])
7272
## Product directories
7373
@has_abtesting_changes = hasChangesIn("FirebaseABTesting/")
7474
@has_abtesting_api_changes = hasChangesIn("FirebaseABTesting/Sources/Public/")
75-
@has_auth_changes = hasChangesIn("Firebase/Auth")
76-
@has_auth_api_changes = hasChangesIn("Firebase/Auth/Source/Public/")
75+
@has_auth_changes = hasChangesIn("FirebaseAuth")
76+
@has_auth_api_changes = hasChangesIn("FirebaseAuth/Sources/Public/")
7777
@has_core_changes = hasChangesIn([
7878
"FirebaseCore/",
7979
"Firebase/CoreDiagnostics/",

Example/Auth/App/GoogleService-Info.plist

Lines changed: 0 additions & 28 deletions
This file was deleted.

Example/Auth/App/iOS/Auth-Info.plist

Lines changed: 0 additions & 49 deletions
This file was deleted.

Example/Auth/App/iOS/Base.lproj/Main.storyboard

Lines changed: 0 additions & 27 deletions
This file was deleted.

Example/Auth/App/iOS/FIRAppDelegate.h

Lines changed: 0 additions & 23 deletions
This file was deleted.

Example/Auth/App/iOS/FIRAppDelegate.m

Lines changed: 0 additions & 55 deletions
This file was deleted.

Example/Auth/App/iOS/FIRViewController.h

Lines changed: 0 additions & 21 deletions
This file was deleted.

Example/Auth/App/iOS/FIRViewController.m

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)