Commit 3072541
Pete Schwamb
LoopAppManager: restore submodule SHAs in diagnostic report
Marion's LoopKit#2399 (b6e8841) added submodule branch+SHA to the build-details
section of the diagnostic report. The script and BuildDetails.submodules
accessor survived the Tidepool merges, but the report-builder block itself
was relocated from DeviceDataManager.swift to LoopAppManager in Tidepool's
refactor, and the merge kept Tidepool's older shape — so the consumer of
.submodules was effectively dropped.
Port the original change into generateDiagnosticReport():
- drop the now-redundant Loop-submodule gitRevision/gitBranch lines
- rename workspaceGit{Revision,Branch} to "Workspace SHA/branch"
- append the submodule list (alphabetized, "name: branch, sha")1 parent 4eea0b2 commit 3072541
1 file changed
Lines changed: 11 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1049 | 1049 | | |
1050 | 1050 | | |
1051 | 1051 | | |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
| 1058 | + | |
1052 | 1059 | | |
1053 | 1060 | | |
1054 | 1061 | | |
1055 | 1062 | | |
1056 | | - | |
1057 | | - | |
1058 | | - | |
1059 | | - | |
1060 | 1063 | | |
1061 | 1064 | | |
1062 | 1065 | | |
| 1066 | + | |
| 1067 | + | |
| 1068 | + | |
| 1069 | + | |
1063 | 1070 | | |
1064 | 1071 | | |
1065 | 1072 | | |
| |||
0 commit comments