Skip to content

Commit 505776c

Browse files
author
Firefox Sync Engineering
committed
Nightly auto-update (117.0.20230728154003)
1 parent 2916fbf commit 505776c

File tree

5 files changed

+49
-11
lines changed

5 files changed

+49
-11
lines changed

Package.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
// swift-tools-version:5.4
22
import PackageDescription
33

4-
let checksum = "ee7ec83903647d3c2b085ff69d425382d54534cb38b410f7f99e322f1b230985"
5-
let version = "117.0.20230727050319"
6-
let url = "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.v2.swift.117.20230727050319/artifacts/public/build/MozillaRustComponents.xcframework.zip"
4+
let checksum = "1b6712f4865ade794e3b3bdea5c4d364642094aed4ec23b9aca75a920ca17a66"
5+
let version = "117.0.20230728154003"
6+
let url = "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.v2.swift.117.20230728154003/artifacts/public/build/MozillaRustComponents.xcframework.zip"
77

88
// Focus xcframework
9-
let focusChecksum = "9d6765d7a183c7ccf455f8b65166c897afa2fc0ebe0f35dafaddca6db1546204"
10-
let focusUrl = "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.v2.swift.117.20230727050319/artifacts/public/build/FocusRustComponents.xcframework.zip"
9+
let focusChecksum = "191b5d0ebb9d87f7752ace862c3c34c3a5dc7e397fe84ab941314e1b67e25f58"
10+
let focusUrl = "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.v2.swift.117.20230728154003/artifacts/public/build/FocusRustComponents.xcframework.zip"
1111
let package = Package(
1212
name: "MozillaRustComponentsSwift",
1313
platforms: [.iOS(.v11)],

swift-source/all/Generated/Metrics/Metrics.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ extension GleanMetrics {
2525
// Intentionally left private, no external user can instantiate a new global object.
2626
}
2727

28-
public static let info = BuildInfo(buildDate: DateComponents(calendar: Calendar.current, timeZone: TimeZone(abbreviation: "UTC"), year: 2023, month: 7, day: 27, hour: 5, minute: 16, second: 1))
28+
public static let info = BuildInfo(buildDate: DateComponents(calendar: Calendar.current, timeZone: TimeZone(abbreviation: "UTC"), year: 2023, month: 7, day: 28, hour: 16, minute: 19, second: 51))
2929
}
3030

3131
enum NimbusEvents {

swift-source/all/Nimbus/ArgumentProcessor.swift

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ enum ArgumentProcessor {
2020
if args.logState {
2121
nimbus.dumpStateToLog()
2222
}
23+
// We have isLauncher here doing nothing; this is to match the Android implementation.
24+
// There is nothing to do at this point, because we're unable to affect the flow of the app.
25+
if args.isLauncher {
26+
() // NOOP.
27+
}
2328
}
2429

2530
static func createCommandLineArgs(url: URL) -> CliArgs? {
@@ -34,6 +39,7 @@ enum ArgumentProcessor {
3439
var experiments: String?
3540
var resetDatabase = false
3641
var logState = false
42+
var isLauncher = false
3743
var meantForUs = false
3844

3945
func flag(_ v: String?) -> Bool {
@@ -53,6 +59,8 @@ enum ArgumentProcessor {
5359
resetDatabase = flag(item.value)
5460
case "--log-state":
5561
logState = flag(item.value)
62+
case "--is-launcher":
63+
isLauncher = flag(item.value)
5664
default:
5765
() // NOOP
5866
}
@@ -62,7 +70,12 @@ enum ArgumentProcessor {
6270
return nil
6371
}
6472

65-
return check(args: CliArgs(resetDatabase: resetDatabase, experiments: experiments, logState: logState))
73+
return check(args: CliArgs(
74+
resetDatabase: resetDatabase,
75+
experiments: experiments,
76+
logState: logState,
77+
isLauncher: isLauncher
78+
))
6679
}
6780

6881
static func createCommandLineArgs(args: [String]?) -> CliArgs? {
@@ -106,7 +119,12 @@ enum ArgumentProcessor {
106119

107120
let experiments = argMap["experiments"]
108121

109-
return check(args: CliArgs(resetDatabase: resetDatabase, experiments: experiments, logState: logState))
122+
return check(args: CliArgs(
123+
resetDatabase: resetDatabase,
124+
experiments: experiments,
125+
logState: logState,
126+
isLauncher: false
127+
))
110128
}
111129

112130
static func check(args: CliArgs) -> CliArgs? {
@@ -124,6 +142,7 @@ struct CliArgs: Equatable {
124142
let resetDatabase: Bool
125143
let experiments: String?
126144
let logState: Bool
145+
let isLauncher: Bool
127146
}
128147

129148
public extension NimbusInterface {

swift-source/focus/Generated/Metrics/Metrics.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ extension GleanMetrics {
2525
// Intentionally left private, no external user can instantiate a new global object.
2626
}
2727

28-
public static let info = BuildInfo(buildDate: DateComponents(calendar: Calendar.current, timeZone: TimeZone(abbreviation: "UTC"), year: 2023, month: 7, day: 27, hour: 5, minute: 16, second: 3))
28+
public static let info = BuildInfo(buildDate: DateComponents(calendar: Calendar.current, timeZone: TimeZone(abbreviation: "UTC"), year: 2023, month: 7, day: 28, hour: 16, minute: 19, second: 54))
2929
}
3030

3131
enum NimbusEvents {

swift-source/focus/Nimbus/ArgumentProcessor.swift

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ enum ArgumentProcessor {
2020
if args.logState {
2121
nimbus.dumpStateToLog()
2222
}
23+
// We have isLauncher here doing nothing; this is to match the Android implementation.
24+
// There is nothing to do at this point, because we're unable to affect the flow of the app.
25+
if args.isLauncher {
26+
() // NOOP.
27+
}
2328
}
2429

2530
static func createCommandLineArgs(url: URL) -> CliArgs? {
@@ -34,6 +39,7 @@ enum ArgumentProcessor {
3439
var experiments: String?
3540
var resetDatabase = false
3641
var logState = false
42+
var isLauncher = false
3743
var meantForUs = false
3844

3945
func flag(_ v: String?) -> Bool {
@@ -53,6 +59,8 @@ enum ArgumentProcessor {
5359
resetDatabase = flag(item.value)
5460
case "--log-state":
5561
logState = flag(item.value)
62+
case "--is-launcher":
63+
isLauncher = flag(item.value)
5664
default:
5765
() // NOOP
5866
}
@@ -62,7 +70,12 @@ enum ArgumentProcessor {
6270
return nil
6371
}
6472

65-
return check(args: CliArgs(resetDatabase: resetDatabase, experiments: experiments, logState: logState))
73+
return check(args: CliArgs(
74+
resetDatabase: resetDatabase,
75+
experiments: experiments,
76+
logState: logState,
77+
isLauncher: isLauncher
78+
))
6679
}
6780

6881
static func createCommandLineArgs(args: [String]?) -> CliArgs? {
@@ -106,7 +119,12 @@ enum ArgumentProcessor {
106119

107120
let experiments = argMap["experiments"]
108121

109-
return check(args: CliArgs(resetDatabase: resetDatabase, experiments: experiments, logState: logState))
122+
return check(args: CliArgs(
123+
resetDatabase: resetDatabase,
124+
experiments: experiments,
125+
logState: logState,
126+
isLauncher: false
127+
))
110128
}
111129

112130
static func check(args: CliArgs) -> CliArgs? {
@@ -124,6 +142,7 @@ struct CliArgs: Equatable {
124142
let resetDatabase: Bool
125143
let experiments: String?
126144
let logState: Bool
145+
let isLauncher: Bool
127146
}
128147

129148
public extension NimbusInterface {

0 commit comments

Comments
 (0)