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
+36-1Lines changed: 36 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,14 +2,44 @@
2
2
3
3
The instructions provided for building with a browser include settings to automatically update and build for you.
4
4
5
-
This keeps the most recent version of the *Loop* app available in *TestFlight* for you to install when you are ready.
5
+
## Manual Action for Automatic Build
6
+
7
+
!!! important "Automatic Build Requires Manual Action"
8
+
*GitHub* automatically **disables actions** that run according to a schedule if the repository in question is **inactive**.
9
+
10
+
What does that mean?
11
+
12
+
* **inactive** means stable code (no new commit within the last 60 days)
13
+
* **disables actions** means the Build Action shows up as disabled
14
+
15
+
### What Manual Action is Required?
16
+
17
+
For any repository that is stable, like the *Loop* app, you may need to take manual action to keep automatic builds flowing every month.
18
+
19
+
* Put a calendar reminder to check every month on the 2nd day of the month (or later)
20
+
* Check that *TestFlight* has a new build of the *Loop* (or other) app
21
+
* If not, go to your repository to see if the build action is disabled
22
+
* If necessary, enable the build action at your repository as shown in the graphic below and then launch a manual build
23
+
24
+

25
+
26
+
This keeps the most recent version of your app available in *TestFlight* for you to install when you are ready. This manual enable step should be required no more frequently than every 60 days, however, best to make it a monthly habit to check.
27
+
28
+
> Builds in *TestFlight* are good for 90 days before they [expire](../operation/features/notifications.md#loop-app-expiration-notification){: target="_blank" }.
29
+
30
+
## What is Automatic
6
31
7
32
These events are automatically scheduled:
8
33
9
34
* Once a week: Check for a new release of the *Loop* app:
10
35
* If found, your fork is automatically updated and a new build created and uploaded to *TestFlight*
11
36
* Once a month: Build the app and upload the fresh build to *TestFlight*
12
37
38
+
!!! important "You Get No Warning if Repository Build Action is Disabled"
39
+
These automatic actions happen on schedule, but if your build action is disabled, no build actually happens, no warning email is sent and a green checkmark (✅) appears beside a very short build action in which the actual build was skipped.
40
+
41
+
* Refer to [What Manual Action is Required?](#what-manual-action-is-required)
42
+
13
43
If you do not want this automatic schedule, you can modify it.
14
44
15
45
Regardless of your choice, please [Disable Automatic Installation from *TestFlight*](phone-install.md#disable-automatic-install-from-testflight){: target="_blank" }. You should be alert any time your *Loop* app is updated. Check that all settings are maintained and pay attention to make sure the app behavior is nominal.
@@ -36,6 +66,11 @@ In that case, you should check your favorite information site to find out what t
36
66
37
67
On the first day of every month, you will see a successful `build action`. The purpose of this build is to provide a recent version of the app in *TestFlight* so you are never in a situation where you have no app on your phone.
38
68
69
+
!!! important "You Get No Warning if Repository Build Action is Disabled"
70
+
If your build action is disabled, no build actually happens, no warning email is sent and a green checkmark (✅) appears beside a very short build action in which the actual build was skipped.
71
+
72
+
* Refer to [What Manual Action is Required?](#what-manual-action-is-required)
73
+
39
74
You start getting [Notifications](../operation/features/notifications.md#loop-app-expiration-notification){: target="_blank" } when there are fewer than 20 days until expiration. When you see the warning, install the newest build from your *TestFlight* app. You do not want to get the dreaded "Loop Beta is not available" message on your phone. (The warnings get very agressive when close to expiration.)
Copy file name to clipboardExpand all lines: docs/browser/bb-errors.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -170,6 +170,14 @@ Ignore the warnings - this does not affect the build.
170
170
171
171
This affected all the Open-Source apps in our community - Loop, LoopFollow, LoopCaregiver, Trio, iAPS and xDrip4iOS. The developers in our community have restored the ability to build using the Browser Build method. Stay tuned for updates to required actions in the documentation over the next few months, before we hit the 60 day limit.
172
172
173
+
### Manual Enable for Build Action May be Required
174
+
175
+
The automatic build actions continue to happen on schedule, but starting May 2025, you may find your build action disabled by *GitHub*. (This might happen every 60 days, but it might happen sooner.) In that case, no build actually happens, no warning email is sent and a green checkmark (✅) appears beside a very short build action in which the actual build was skipped.
176
+
177
+
If necessary, enable the build action at your repository as shown in the graphic below and then launch a manual build.
178
+
179
+

180
+
173
181
### Rebuild: Create Certificates Error
174
182
175
183
With `Loop 3.6.0`, these should be a thing of the past - but you must first manually update (sync) your repository in order to get this feature added and you must do this new step [Add Variable](prepare-fork.md#add-variable){: target="_blank" }
Copy file name to clipboardExpand all lines: docs/browser/bb-overview.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -122,6 +122,7 @@ These considerations were prepared when most people were using a Mac computer to
122
122
* Automatic Updates are loaded into *TestFlight*
123
123
* With version 3.4 and newer, builds are automatically prepared at least once a month
124
124
* You choose when to install the new app from TestFlight onto your phone
125
+
***WARNING:** starting May 2025, [Manual Action for Automatic Build](automatic.md#manual-action-for-automatic-build){: target="_blank" } may be required - be sure to check monthly to see if you need to start a build manually
125
126
* Manual Updates are easy
126
127
* Starting an update takes a few minutes of your time; it can be done from your phone; the rest is automatic and is done in about an hour
127
128
* After the *GitHub* Build starts, your app is ready to install on your *iPhone* in about an hour
Copy file name to clipboardExpand all lines: docs/browser/bb-update.md
+9-6Lines changed: 9 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,8 @@
8
8
9
9
**For most, the *Loop* app is configured for automatic build, so you only need to come to this page if the automatic build failed.**
10
10
11
+
**WARNING: starting May 2025, [Manual Action for Automatic Build](automatic.md#manual-action-for-automatic-build){: target="_blank" } may be required - be sure to check monthly to see if you need to start a build manually.**
12
+
11
13
???+ info "Time Estimate (click to open/close)"
12
14
Manually update and build the *Loop* App
13
15
@@ -161,17 +163,18 @@ The bullets below show typical messages when you are building the `main` branch.
161
163
162
164
#### Build the App
163
165
164
-
Refer to graphic below as you follow the steps to build the *Loop* app.
166
+
Refer to graphic below as you follow the steps to build the *Loop* app. The numbers highlighted in the graphic correspond to numbers in parentheses in the bullet list below:
165
167
166
-
* Click on the `Actions` tab
167
-
* Select the `4. Build Loop` workflow on the left
168
+
*(1) Click on the `Actions` tab
169
+
*(2) Select the `4. Build Loop` workflow on the left
168
170
* If using a mobile browser, be sure to use landscape mode to more closely match how *GitHub* looks on a computer.
169
-
* Look on the right and click `Run workflow` to see the dropdown
170
-
* Click on the green `Run workflow` button in the dropdown
171
+
* If you notice your build action is disabled, you must (3) click on `Enable workflow`
172
+
* (4) Look on the right and click `Run workflow` to see the dropdown
173
+
* (5) Click on the green `Run workflow` button in the dropdown
171
174
* Wait ~25 min for the build to complete successfully
172
175
* It is then processed by *Apple* and sent to *TestFlight* (be patient)
173
176
174
-
{width="700"}
177
+
{width="700"}
Copy file name to clipboardExpand all lines: docs/browser/build-dev-browser.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,7 +70,7 @@ Tap the `Code` button (upper left) and ensure this branch in your `fork` is up t
70
70
71
71
Look in this section for one-time changes for building `dev` with a browser that require special, one-time actions.
72
72
73
-
With the release of version 3.4, no one-time changes are required. This assumes you built main after the release of 3.4.
73
+
No one-time changes are required. This assumes you built main after the release of 3.6.
74
74
75
75
### Build `Branch`
76
76
@@ -148,19 +148,21 @@ As soon as you build one version of the app from the `dev` branch, that version
148
148
149
149
Suppose you then return to using the `main` branch after your excursion to the `dev` branch.
150
150
151
-
> *For this example, version 3.4.4 is the released version from the `main` branch and version 3.5.0 is the development version you evaluated.*
151
+
> *For this example, version 3.6.x is the released version from the `main` branch and version 3.7.0 is the development version you evaluated.*
152
152
153
-
Every time you open TestFlight on your phone and select the *Loop* app, it will offer the most recent 3.5.0 version to be installed if you just tap **Install**. You might be in a situation where that build is about to expire or you decide you don't want to test this on your looping phone. In some cases, the released version, 3.4.4, might have fixes that are not available in a development branch.
153
+
Every time you open TestFlight on your phone and select the *Loop* app, it will offer the most recent 3.7.0 version to be installed if you just tap **Install**. You might be in a situation where that build is about to expire or you decide you don't want to test this on your looping phone.
154
154
155
155
You have your choice:
156
156
157
-
* You can manually go into TestFlight each time `main` is automatically built, Select Previous Builds, then choose 3.4.4 and install the top listing
157
+
* You can manually go into TestFlight each time `main` is automatically built, Select Previous Builds, then choose 3.6.x and install the top listing
158
158
* You can log in at: [App Store Connect: Apps](https://appstoreconnect.apple.com/apps){: target="_blank" }
159
159
* Select your *Loop* app
160
160
* Click on the TestFlight tab
161
-
* For each 3.5 build, click on the row for a build
161
+
* For each 3.7 build, click on the row for a build
162
162
* Select Expire Build on upper right
163
-
* This leaves only the released version, 3.4.4 for this example, available in TestFlight on your phone
163
+
* This leaves only the released version, 3.6.x for this example, available in TestFlight on your phone
164
+
165
+
> The example graphic below was created when 3.4.4 was the released version
164
166
165
167
{width="700"}
Copy file name to clipboardExpand all lines: docs/browser/intro-summary.md
+11-3Lines changed: 11 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,6 +50,7 @@
50
50
???+ question "FAQs (click to open/close)"
51
51
- **Do I need a Mac computer?** No. This can be done on any browser, although it will be easier using a computer or tablet than just using a phone.
52
52
- **Isn't it hard to build every 90 days?** The initial setup and installation take a lot of your focused time. But once you build, future updates and builds are automatic. You just need to keep your Apple Developer account up to date. Review any email that says a GitHub action failed - read the error and take action. For more information, see [Automatic Update & Build](automatic.md){: target="_blank" }.
53
+
- **When do I have to kick off my automatic build?** Starting in May 2025, you may need to take an extra action after 60 days with no updates to the app: [Manual Action for Automatic Build](automatic.md#manual-action-for-automatic-build){: target="_blank" }
53
54
- **Can you explain the new automatic building?** There's a whole page on [Automatic Update & Build](automatic.md){: target="_blank" } for more explanations
54
55
- **Can I use this for my child?** You, as the adult, can install using *TestFlight* on your child's phone. The explicit steps are provided at [Install on Phone: *TestFlight* for a Child](phone-install.md#testflight-for-a-child){: target="_blank" }.
55
56
- **Can I still use my customizations?** Yes. [Customize using Browser](custom-browser.md){: target="_blank" }
@@ -69,7 +70,7 @@ The steps to configure for building with a browser require a lot of focused atte
69
70
70
71
When you use an organization, you don't have to add 6 Secrets to each repository for every app you build. It can save a lot of time in the long run.
71
72
72
-
* Even if you just build Loop and nothing else, using an organization is pretty easy and your build works just the same as using only a personal account
73
+
* Even if you just build Loop and nothing else, using an organization is pretty easy and your build works just the same as using only a personal account - but there is no particular advantage (until you decide maybe you do want to build another app)
73
74
* Who should definitely build with an organization:
74
75
* Anyone who is a caregiver will want LoopCaregiver or LoopFollow or both
75
76
* Anyone who wants to use LoopFollow for the amazing alarm capabilties
@@ -156,10 +157,16 @@ First some handy username and password information:
156
157
<your information here>
157
158
suggest you use your desired password tool to save the password for this account
158
159
159
-
## GitHub username
160
+
## GitHub personal account username
160
161
<your information here>
161
162
suggest you use your desired password tool to save the password for this account
162
163
164
+
### GitHub organization name
165
+
<your GitHub organization name>
166
+
Using an organization is optional.
167
+
But it you do use one, add the name here for reference.
168
+
You always log in using your GitHub personal account to access your organization.
169
+
163
170
There are Six Secrets and One Variable:
164
171
- the list below shows the expected format of each.
165
172
You can replace each prototype with your secret as you gather them,
@@ -233,7 +240,8 @@ Some of these **terms** have ToolTips, so hover your mouse over those - or revie
233
240
* Some terms in the Glossary are not in alphabetical order to improve logical grouping. All the individual <code>Secrets</code> are listed after <code>Secrets</code> in the Glossary.
234
241
235
242
* `Actions`: available in your *GitHub* repositories to build your app
236
-
* You must be logged in to *GitHub* to run the actions
243
+
* You must be logged in to *GitHub* to run the actions manually
244
+
* The build action is automatically run for you once your repository is configured
237
245
* `Fork`: you make a copy of the code needed to build an app and store it in your *GitHub* account (using a free *GitHub* organization is recommended for storing your `forks`)
238
246
* <code>Secrets</code>: are required to enable *GitHub* to build an app from a repository using *GitHub* Actions
239
247
* Six <code>Secrets</code> must be entered to enable your app (or apps) to build
Copy file name to clipboardExpand all lines: docs/browser/other-apps.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,8 @@ If you are coming to this page to update one of the other apps, follow the [How
19
19
20
20
> If you have not added the `Variable``ENABLE_NUKE_CERTS`, do it now. See [Add Variable](prepare-fork.md#add-variable){: target="_blank" }.
21
21
22
+
**WARNING: starting May 2025, [Manual Action for Automatic Build](automatic.md#manual-action-for-automatic-build){: target="_blank" } may be required - be sure to check monthly to see if you need to start a build manually.**
23
+
22
24
### Multiple Copies of `LoopFollow`
23
25
24
26
For the convenience of caregivers who use `LoopFollow` to monitor multiple people, updates were added in v2.1.2 to make this more convenient. This works regardless of the build method. (Build with Browser or [Build with *Mac*](https://www.loopandlearn.org/loop-follow#lf-script){: target="_blank" }).
@@ -388,7 +390,7 @@ Refer to the graphic below for the first four steps:
388
390
389
391
1. Wait a few minutes to make sure there is not an early failure
390
392
* If you see the red `X` (:octicons-x-circle-fill-16:{: .failed }):
391
-
* Use the Browser Build Errors page to resolve the error, then repeat the Action
393
+
* Use the Browser Build Errors page (which uses LoopWorkspace repository) to resolve the error, substituting the repository name for the app you are building, then repeat the Action
392
394
*[Quick Reference for Browser Build Errors](bb-errors.md#quick-reference-for-browser-build-errors){: target="_blank" }
393
395
1. If the process appears to be happening without an error, go do something else for a while. The build should take less than half an hour (these tend to build faster than the *Loop* app.
394
396
* When you see the green check (:octicons-check-circle-fill-16:{: .passed }) continue
Copy file name to clipboardExpand all lines: docs/browser/phone-install.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,6 +66,13 @@ The instructions on the [Configure to Use Browser](intro-summary.md){: target="_
66
66
* This is only for the `default` branch, typically `main`
67
67
* Build the app at least once a month and upload it to *TestFlight*
68
68
69
+
!!! important "You Get No Warning if Repository Build Action is Disabled"
70
+
Alert - this issue is new as of May 2025. Your build action might be disabled by *GitHub*, which means you need to enable it manually.
71
+
72
+
If your build action is disabled, no build actually happens, no warning email is sent and a green checkmark (✅) appears beside a very short build action in which the actual build was skipped.
73
+
74
+
* Refer to [Manual Action for Automatic Build](automatic.md#manual-action-for-automatic-build){: target="_blank" }
75
+
69
76
Unless you make the recommended one-time change to [Disable Automatic Install from *TestFlight*](#disable-automatic-install-from-testflight), the default setting for each app found in *TestFlight* is to:
70
77
71
78
* Install each new build from *TestFlight* on the phone as soon as it is detected
0 commit comments