|
1 | 1 | ## Overview
|
2 | 2 |
|
3 |
| -The instructions on the [Configure to Use Browser](gh-first-time.md) page will, unless you make a change, automatically take the following actions for released versions 3.4.0 and later: |
| 3 | +The instructions on the [Configure to Use Browser](gh-first-time.md) page will, unless you make a change, automatically take the following actions for released versions 3.4.1 and newer: |
4 | 4 |
|
5 | 5 | * Update the version of your <span translate="no">fork</span> within a week of the change
|
6 | 6 | * When an update to the default `branch`, typically `main`, is detected, a new build is created automatically and uploaded to *TestFlight*
|
7 | 7 | * Build the app at least once a month and upload the fresh build to *TestFlight*
|
8 | 8 |
|
9 | 9 | If you do not want this automatic schedule, you can modify it.
|
10 | 10 |
|
| 11 | +This only works because of special branches that are automatically created in your repository. |
| 12 | + |
| 13 | +* [What are the `alive branches` and why do I need them?](#what-are-the-alive-branches-and-why-do-i-need-them) |
| 14 | + |
11 | 15 | Regardless of your choice, please [Disable Automatic Installation from *TestFlight*](gh-deploy.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.
|
12 | 16 |
|
| 17 | +You still need to **take these actions** to ensure a recent build of the *Loop* app is available in *TestFlight* for you to install on your phone when you choose: |
| 18 | + |
| 19 | +* Keep your *Apple Developer* account up to date with agreements signed |
| 20 | +* [Renew Certificate](gh-update.md#renew-certificate){: target="_blank" } once a year |
| 21 | + |
13 | 22 | ## Modify Automatic Building
|
14 | 23 |
|
15 | 24 | For someone using [development code](build-dev-browser.md) for their own use, they could decide to choose when to update their `fork` to the most recent commit. They can still have the advantage of automatic building without automatic updates; in other words, they want a new build added to TestFlight every month. There may be other configurations someone would choose. These options are available starting with Loop 3.3.0 (`dev` branch) and later.
|
@@ -101,3 +110,27 @@ What if I decide I don't want the automatic building feature?
|
101 | 110 | * It is the Build action that kicks off the update and build steps, so simply disabling the one action is sufficient
|
102 | 111 |
|
103 | 112 | * If you are done with Loop, you can delete the whole repository; but you should be sure about this because you'll need to start over with [Configure to Use Browser](gh-first-time.md) to restore ability to build Loop with GitHub.
|
| 113 | + |
| 114 | +## What are the `alive branches` and why do I need them? |
| 115 | + |
| 116 | +The automatic update and build features of version 3.4.1 and later use branches that start with the name `alive`. You may see branches called `alive`, `alive-dev` and `alive-main` in your repository. These are automatically created. They are used to keep GitHub actions working in your repository. |
| 117 | + |
| 118 | +* GitHub keeps track of repositories |
| 119 | +* If there is no activity in a given repository in 60 days, GitHub disables Actions |
| 120 | + |
| 121 | +In other words, during a time when the *Loop* app is fairly stable, your automatic update and build features would just stop working. |
| 122 | + |
| 123 | +No one wants that. 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. |
| 124 | + |
| 125 | +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`. |
| 126 | + |
| 127 | +#### Automatic Creation of `alive branch` |
| 128 | + |
| 129 | +The `alive` branch you need is created automatically when you run the `Build Loop` action. |
| 130 | + |
| 131 | +!!! warning "I got an error regarding a branch with `alive` in the name" |
| 132 | + * Sometimes you get an error about an `alive` branch |
| 133 | + * If you do get an error, simply delete the branch and run the `Build Loop` action again |
| 134 | + * Use this [GitHub link](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-and-deleting-branches-within-your-repository#deleting-a-branch){: target="_blank" } or ask for help when deleting a branch |
| 135 | + * You can delete every branch that starts with the name `alive` |
| 136 | + * Leave the other branches alone unless a mentor directs you to take action |
0 commit comments