You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/browser/automatic.md
+21-29
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ You start getting [Notifications](../operation/features/notifications.md#loop-ap
41
41
42
42
The automatic update and build feature is embedded in the build_loop.yml code and uses the GitHub scheduling feature to trigger actions to run automatically.
43
43
44
-
Some may have noticed one or more branches added to your repository that start with the name `alive`. Don't worry about these. They are automatically created to ensure GitHub will keep building your app automatically.
44
+
One or more branches are added to your repository that start with the name `alive`. Don't worry about these. They are automatically created so GitHub will keep building your app automatically.
45
45
46
46
* GitHub keeps track of repositories
47
47
* If there is no activity in a given repository in 60 days, GitHub disables Actions
@@ -50,7 +50,7 @@ Some may have noticed one or more branches added to your repository that start w
50
50
51
51
You may see branches called `alive`, `alive-dev` or `alive-main` in your repository.
52
52
53
-
The `alive` branches are created and used to make sure at least one commit per month is added to an `alive` branch in your repository. That keeps your repository active to allow the automatic update and build process to work.
53
+
The `alive` branches are there so at least one commit per month is added to an `alive` branch in your repository. That keeps your repository active to allow the automatic update and build process.
54
54
55
55
The `alive` branches are only used for the keep-alive functions. Do not build using an `alive` branch. Most people will build using the default branch of `main`.
56
56
@@ -69,57 +69,49 @@ The `alive` branch you need is created automatically when you run the `Build Loo
69
69
70
70
Coming soon with `Loop 3.6.0`.
71
71
72
-
Already here with `LoopFollow 2.3.0` and some other Open-Source apps.
72
+
Already here with `LoopCaregiver`, `LoopFollow` and some other Open-Source apps.
73
73
74
74
### Requirements
75
75
76
76
You must have the `ENABLE_NUKE_CERTS` variable set to `true` for your *GitHub* organization, or when using a personal account to build, add it to each repository.
77
77
78
78
* Refer to [Add Variable](prepare-fork.md#add-variable){: target="_blank" }
79
79
80
-
### Certificates and `Match-Secrets`
80
+
??? question "Do you want to know more? (Click to open/close)"
81
+
**Annual Renewal**
81
82
82
-
The Create Certificates action does the following:
83
+
Once a year, *Apple* automatically expires your `Distribution` Certificate.
83
84
84
-
* Reads existing signing credentials from your `Match-Secrets` private respository and confirms if they are valid
85
-
* OR
86
-
* Uses your `Distribution` Certificate from *Apple* or creates a new one if one does not exist
87
-
* Securely stores, in your `Match-Secrets` private repository, signing credentials (like certificates and provisioning profiles from *Apple*) used for code signing for each Identifier in your app when you build
85
+
* When the *Apple* `Distribution` certificate expires, the saved credentials in your `Match-Secrets` private repository are invalid and need to be removed (<code>nuke</code>)
86
+
* You need a new `Distribution` Certificate at *Apple*
87
+
* You need to create new signing credentials for `Match-Secrets`
88
88
89
-
### Annual Renewal
90
-
91
-
This happens once a year after *Apple* automatically expires your `Distribution` Certificate.
92
-
93
-
* When the *Apple*`Distribution` certificate expires, the saved credentials in your `Match-Secrets` private repository are invalid and need to be removed (<code>nuke</code>)
94
-
* You need a new `Distribution` Certificate at *Apple*
95
-
* You need to create new signing credentials for `Match-Secrets`
96
-
97
-
For the `Loop` app, up through version 3.4.4, you need to do this process manually.
89
+
For the `Loop` app, up through version 3.4.4, you must to do this [Renew Certificate](bb-update.md#renew-certificate){: target="_blank" } process manually. Once version 3.6.0 is released, it will be automatic.
98
90
99
91
### Automatic Certificate Renewal
100
92
101
-
Some Open-Source apps, in particular `Trio`and `LoopFollow 2.3.0` already have this capability.
93
+
Some Open-Source apps, in particular `Trio`, `LoopCaregiver`and `LoopFollow` already have this capability. It will be available in with the next release of the *Loop* app (3.6.0).
102
94
103
95
* If your signing credentials for the app being built are invalid and `ENABLE_NUKE_CERTS` is `true`, then signing credentials will be cleared from your `Match-Secrets` repository, a new `Distribution` certificate will be created at *Apple* and signing credentials for the current app will be generated and stored in `Match-Secrets`.
104
96
105
-
*Next app you build will need certificates created because all signing credentials were cleared out of your `Match-Secrets` repository
97
+
*The next app you build using Browser Build, following a `nuke` action, will need certificates created because all signing credentials were cleared out of your `Match-Secrets` repository
106
98
* If that app is configured for automatic certificate renewal, you only need to run the `Build Action`; it detects no signing credentials are available and creates them
107
99
* If that app is not configured for automatic certificate renewal, you must first run the action `Create Certificates` and then `Build`
108
100
109
101
### Open-Source App Schedule
110
102
111
103
Each Open-Source App has a schedule for when the automatic build happens. This determines when the automatic check for certificate status happens.
112
104
113
-
The times are shifted to make sure only one Open-Source app performs a `nuke`process at one time. This only happens once a year, but we wanted to be sure there are no conflicts. Even if an app doesn't have automatic certificates implemented yet, they are added to the table as suggested values to use when this capability gets added. All times are UTC. If other apps decide to add this feature, please make a pull request to LoopDocs so we can add those times to the deconfliction table.
105
+
The times are shifted to make sure only one Open-Source app performs a `nuke`action. Any other app building later that same day will just create new signing credentials; it will not need to `nuke` all credentials. This only happens once a year, but we wanted to be sure there are no conflicts. Even if an app doesn't have automatic certificates implemented yet, they are added to the table as suggested values to use when this capability gets added. All times are UTC. If other apps decide to add this feature, please make a pull request to LoopDocs so we can add those times to the deconfliction table.
114
106
115
-
| Open-Source App | AutoCerts? | Wed Time | 1st of Month Time|
Copy file name to clipboardExpand all lines: docs/browser/edit-browser.md
+1-33
Original file line number
Diff line number
Diff line change
@@ -81,7 +81,7 @@ Decide which [Version: Custom Edits](../version/code-custom-edits.md){: target="
81
81
* Do not get confused later: LoopKit is both a username and a Module name
82
82
* Refer to the [Module Table](#module-table) when directed
83
83
84
-
With the release of 3.4.x, the customizations for `main` and `dev` are the same. There are 2 customizations that require an update when moving from 3.2.3 to 3.4.x.
84
+
For versions 3.4.x and newer, the customizations for `main` and `dev` are the same.
85
85
86
86
* For more information, refer to [Not Stable List](../version/code-custom-edits.md#not-stable-list){: target="_blank" }
87
87
* Glucose Guardrails
@@ -358,8 +358,6 @@ Once you prepare the commands, then you will edit the build_loop.yml file of you
358
358
If your <spantranslate="no">LoopWorkspace fork</span> did not come from <spantranslate="no">LoopKit/LoopWorkspace</span>, then delete your existing <code>fork</code> and make a new one. See [Already Have <spantranslate="no">LoopWorkspace</span>?](prepare-fork.md#already-have-loopworkspace){: target="_blank" }.
359
359
360
360
* Do not use any other location to create your <code>fork</code>
361
-
* You may have used a different location for Loop 3.2.2
362
-
* This is **not** supported for Loop 3.2.3 or later
363
361
364
362
For each customization you want to include, create a pair of lines consisting of the comment (must start with a #) followed by the `curl` statement pointing to the SHA-1 that has the customization.
365
363
@@ -394,36 +392,6 @@ Return to your <span translate="no">GitHub fork for LoopWorkspace</span>&nb
394
392
* Find the folder .github/workflows and click on it
395
393
* Find the file build_loop.yml and click on it
396
394
* Click on the pencil (so you can edit this file)
397
-
* If you are building version 3.4
398
-
* Skip ahead to [Add Personal Customizations to build_loop.yml](#add-personal-customizations-to-build_loopyml)
399
-
400
-
??? abstract "Older versions (Click to open/close)"
401
-
* If you are building from an older version of main (version 3.2.3 or earlier), this is left here for your convenience - it will be removed over the next few months - please update soon
402
-
* Locate line 31, which is just above the words:
403
-
* `# Patch Fastlane Match to not print tables`
404
-
* Paste the contents of the block below so it comes before that section
405
-
* In the next section - you will need to modify the line number where you do the edits
406
-
407
-
408
-
``` { .text .copy title="Paste into build_loop.yml" }
409
-
# Customize Loop: Download and apply patches
410
-
- name: Customize Loop
411
-
run: |
412
-
413
-
# For each patch, edit comment line (keep the #) then update curl (and remove the #)
Copy file name to clipboardExpand all lines: docs/browser/identifiers.md
-5
Original file line number
Diff line number
Diff line change
@@ -68,11 +68,6 @@ The `Validate Secrets` <span class=notranslate>Action</span> should
68
68
69
69
## <code>Add Identifiers</code>
70
70
71
-
!!! warning "Update to Version 3.4"
72
-
The name and identifier for "`Small Status Widget`" was renamed to "`Loop Widget Extension`". If you previously built, you will need to run the Add Identifiers as directed on the [update page](bb-update.md#update-from-32x-to-34){: target="_blank" } to add the renamed Identifier and Create Certificates for it.
73
-
74
-
If you previously built the `dev` branch, you already have this identifier.
75
-
76
71
??? abstract "Section Summary (click to open/close)"
77
72
1. Click on the "Actions" tab of your LoopWorkspace repository.
Copy file name to clipboardExpand all lines: docs/browser/intro-summary.md
+2
Original file line number
Diff line number
Diff line change
@@ -88,6 +88,8 @@ If you prefer watching your instructions, there is a narrated video of each step
88
88
89
89
*[How to Build the *Loop* App With a Web Browser](https://www.youtube.com/watch?v=kiu5ho0MTW8){: target="_blank" }
90
90
91
+
> Do not decide to uncheck the box for Near Field Communications in the Identifer for `Loop` - that is required to build version 3.4.x and newer.
92
+
91
93
Click in the comments for a full index of topics. If you have issues with a particular section, use the index to advance to the relevant part of the video. Subtitles are in English. You can choose a different language but the automatic translation feature may provide translations that are not completely accurate.
Copy file name to clipboardExpand all lines: docs/browser/prepare-app.md
+1-4
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ Some people get confused on this page. Many of the links look similar but are ac
20
20
* App Group: associates different identifiers so the app works correctly - you will do this step under your Apple Developer ID account.
21
21
* App: associates a particular identier as the main Loop code - you will do this step under the App Connect site which is associated with your developer ID but is a different URL.
22
22
23
-
> This should only be needed one time, unless the developers add or modify an identifier. This happened between version 3.2 and version 3.4.
23
+
> This should only be needed one time.
24
24
25
25
Some steps can be skipped if you previously built the *Loop* app with a *Mac* using *Xcode*.
26
26
@@ -109,8 +109,6 @@ If you built previously using a Mac with Xcode, you may see the XCode version in
109
109
110
110
#### Table with Name and Identifier
111
111
112
-
> One Identifier was changed after v3.2.3. (`Small Status Widget` is now `Loop Widget Extension`).
113
-
114
112
| NAME | XCode version | IDENTIFIER |
115
113
|:--|:--|:--|
116
114
|`Loop`|`XC com TEAMID loopkit Loop`|`com.TEAMID.loopkit.Loop`|
@@ -119,7 +117,6 @@ If you built previously using a Mac with Xcode, you may see the XCode version in
|**v3.2**`Small Status Widget`| XC Identifier |`com.TEAMID.loopkit.Loop.SmallStatusWidget`<br>No longer used, harmless to leave or to delete<br>Replaced with `Loop Widget Extension`|
0 commit comments