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/build/step14.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -109,7 +109,7 @@ Go to the Finder app, click on Applications, then open the Utilities folder. Lo
109
109
* Please read each step as if you are a new builder
110
110
* Don't assume you know what you are doing
111
111
*[FreeAPS](https://www.loopandlearn.org/freeapsdoc) is no longer supported by the Build Select Script
112
-
*[Loop 3 with Patches](https://www.loopandlearn.org/github-lnl-patches) is provided instead
112
+
*[Loop 3 with Patches](https://www.loopandlearn.org/main-lnl-patches) is provided instead
113
113
114
114
These instructions show each step needed to download Loop using the Build-Select script.
115
115
@@ -120,8 +120,8 @@ These instructions show each step needed to download Loop using the Build-Select
120
120
121
121
Consider using Loop 3 as designed. If you need Libre or want the CustomTypeOne patches, those are provided in the Loop with Patches selection in the Build Select Script.
122
122
123
-
* Information about [Loop Follow](https://github.com/jonfawcett/LoopFollow#readme)
124
-
* Information about [Loop with Patches](https://www.loopandlearn.org/build-select/)
123
+
* Information about [Loop Follow](https://www.loopandlearn.org/loop-follow)
124
+
* Information about [Loop with Patches](https://www.loopandlearn.org/main-lnl-patches/)
125
125
* Warning, the Loop with Patches is updated **after** the main Loop is released. Typically it is updated within a day, but don't assume. Check that link for updates.
126
126
127
127
You do not need to know about these options to build Loop.
@@ -148,7 +148,7 @@ Next you will see an introduction to the Build-Select script. Please read this.
148
148
{width="700"}
149
149
{align="center"}
150
150
151
-
Next you are asked which version of Loop you would like to build. Type 1 and return to build Loop (as shown in the graphic below) or 2 for the fork of Loop with added Libre CGM options and CustomTypeOne patches.
151
+
Next you are asked which version of Loop you would like to build. Type 1 and return to build Loop (as shown in the graphic below) or 2 for the fork of Loop with added Libre CGM options, CustomTypeOne patches and a custom logo.
152
152
153
153
{width="700"}
Copy file name to clipboardExpand all lines: docs/build/testflight-xcode.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ There are several different methods for making use of TestFlight:
6
6
* Use the GitHub [Browser Build](../gh-actions/gh-overview.md) method to build and distribute your own Loop app
7
7
* Use TestFlight as a remote distribution (and backup) for an app you build using Xcode
8
8
9
-
If you want to add specific customizations, [Customize your Loop](../build/code_customization.md), to your build, that can be more difficult with the GitHub method. There are a few customizations available from [Loop and Learn: Loop Customization](https://www.loopandlearn.org/github-lnl-patches), but some people prefer additional modifications.
9
+
If you want to add specific customizations, [Customize your Loop](../build/code_customization.md), to your build, that can be more tedious with the GitHub method. There are a few (Prepared Patches) customizations available from [Loop and Learn: Loop Customization](https://www.loopandlearn.org/custom-code#prepared-patches), but some people prefer additional modifications. These prepared patches, from LnL or those you create yourself, are added to the build_loop.yml file in your LoopWorkspace fork.
10
10
11
11
This guide can also be followed to install other apps you build with Xcode via TestFlight. Examples include LoopFollow, LoopCaregiver, xDrip4iOS and GlucoseDirect.
Copy file name to clipboardExpand all lines: docs/faqs/FAQs.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -174,7 +174,7 @@ One exception - if you've chosen to use a CGM source that does require the inter
174
174
175
175
Many features people used with FreeAPS can be added to Loop 3 with customization. These customizations are supplied as a new branch, main_lnl_patches, on the loopnlearn GitHub site. This includes Libre support and the CustomTypeOne LoopPatches.
176
176
177
-
* The customizations are described in [Loop and Learn: Loop Customization](https://www.loopandlearn.org/github-lnl-patches)
178
-
* For Browser Build, use the GitHub instructions in LoopDocs but fork from loopnlearn GitHub instead of LoopKit as explained [Loop and Learn: GitHub Loop with Patches](https://www.loopandlearn.org/github-lnl-patches/#github)
177
+
* The customizations are described in [Loop and Learn: Loop Customization](https://www.loopandlearn.org/main-lnl-patches)
178
+
* For Browser Build, follow the direction on the page above
179
179
* For Mac-Xcode build, these customization were incorporated as an option in the [Build Select Script](../build/step14.md).
Copy file name to clipboardExpand all lines: docs/faqs/cgm-faqs.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
## What CGMs does Loop work with?
2
2
3
-
Loop 3 supports G5, G6, G7, Dexcom ONE, Dexcom Share, Nightscout and the Medtronic CGM systems compatible with Looping pumps. [Loop and Learn: Loop Customization](https://www.loopandlearn.org/github-lnl-patches) can be used which adds support for some Libre sensors.
3
+
Loop 3 supports G5, G6, G7, Dexcom ONE, Dexcom Share, Nightscout and the Medtronic CGM systems compatible with Looping pumps. [Loop and Learn: Loop Customization](https://www.loopandlearn.org/main-lnl-patches) can be used which adds support for some Libre sensors.
4
4
5
5
Loop 2.2.x supports Dexcom G4 with share, G5, G6, Dexcom ONE, Dexcom Share and the Medtronic CGM systems compatible with Looping pumps.
6
6
@@ -82,7 +82,7 @@ If you want to use a Libre sensor you will need to modify Loop to accomplish tha
82
82
83
83
With Loop 3, a customization can be used to support some Libre sensor CGM.
84
84
85
-
Please refer to [Loop and Learn: Loop 3 with Customization](https://www.loopandlearn.org/github-lnl-patches/)
85
+
Please refer to [Loop and Learn: Loop 3 with Customization](https://www.loopandlearn.org/main-lnl-patches/)
Copy file name to clipboardExpand all lines: docs/gh-actions/gh-customize.md
+31-22
Original file line number
Diff line number
Diff line change
@@ -1,22 +1,20 @@
1
1
## Hot Topics
2
2
3
3
!!! tip "Pro Tip"
4
-
You can also use this same method to create a set of personal patches. You can use (and re-use) your patches with Mac-Xcode builds so you don't have to repeat the customization with every update.
4
+
The method on this page allows you to create a set of personal patches. You can use (and re-use) your patches with Mac-Xcode builds so you don't have to repeat the customization with every update.
5
5
6
6
* If you are building with Mac-Xcode method, you will use the same lines found in the [Prepare the Patches](#prepare-the-patches) section, but will paste them in your terminal to customize your code
7
7
8
-
!!! danger "DRAFT"
9
-
This procedure is in DRAFT mode - only minimal graphics are provided.
10
-
11
-
The entire procedure may change without warning, so be prepared for updates.
12
-
13
-
* 27-March 2023: Method updated and modified
14
-
* Improvement, you can reuse the customization with each update unless there is a conflict
15
-
* You will paste the patch into the build_loop.yml file (we'll tell you how)
16
-
17
-
WARNING - After a recent release - wait for the release number to be updated on this page before using any of the copy/paste commands.
8
+
!!! warning "Submodule Instructions"
9
+
This page has instructions to prepare branches for the Modules associated with LoopWorkspace that exactly match the current release. You can then edit that code and save (commit) the change to **your fork** to prepare your personal patch.
10
+
11
+
**Please do not click on boxes that GitHub might show you that ask if you want to merge changes from your fork back to LoopKit.** These changes are for **your fork** only. Ignore those prompts.
12
+
13
+
* You can often use the same patch for several releases
14
+
* If a patch that you prepared for an older release says "patch does not apply" when you use it, you'll need to prepare a new one
15
+
* Please wait for this page to be updated to the current release before generating an updated patch
18
16
19
-
This page was updated for Loop 3.2.1 on 22-March-2023.
* Module is where you made the customization (notice it is in multiple places)
118
117
* SHA-1 is the full identifier for the commit that has the change; there is a copy button to make this easy
119
-
* the `.patch` after the SHA-1 is github magic that formats that code change into a patch
118
+
* the `.patch` after the SHA-1 is GitHub magic that formats that code change into a patch
119
+
120
+
To view the exact code change associated with that patch, open a browser at the URL of `https://github.com/username/Module/commit/SHA-1`.
120
121
121
122
## Create a Fork for Selected Module
122
123
124
+
### Code Updates
125
+
123
126
!!! warning "New Release"
124
127
If you have previously used this process for a prior release, use the same Modules you already forked.
125
128
@@ -134,7 +137,9 @@ where:
134
137
135
138
Skip ahead to [Open Module in Codespaces](#open-module-in-codespaces).
136
139
137
-
If you want a modification that uses a particular module, you must fork that module to your GitHub account. You will repeat the Fork and Modify steps for each module.
140
+
### New Fork
141
+
142
+
If you want a modification that uses a particular Module, you must fork that module to your GitHub account. You will repeat the Fork and Modify steps for each module.
138
143
139
144
1. Log into your GitHub account
140
145
1. Right click (or control click) on the URL in the table above
@@ -167,9 +172,9 @@ When you fork a repository, the default branch is the one that is forked. That i
167
172
This page has instructions for applying customizations to released code, main branch of LoopWorkspace. Don't worry that some of the other repositories have dev for the default branch. With the exception of the Loop module, everything you need to create your patches is included in the default branches of the lower level repositories (Modules). For Loop, you will also need a main branch. See [Connect Fork to New Branch](gh-update.md#connect-fork-to-new-branch)
168
173
169
174
!!! warning "Loop with LnL Patches"
170
-
Some Loop users build with the loopnlearn version of LoopWorkspace using the main_lnl_patches branch. At the current time, this process involves making your LoopWorkspace fork from loopnlearn instead of LoopKit. In the future, you will be able to get the same patches by a different method.
175
+
Some Loop users build with the loopnlearn version of LoopWorkspace using the [main_lnl_patches](https://www.loopandlearn.org/main-lnl-patches) branch. Initially, this process involved making your LoopWorkspace fork from loopnlearn instead of LoopKit. You have the option of deleting that fork and starting over with LoopKit and apply those same patches in the build-loop.yml file of your new fork, see [Loop and Learn: LnL Patches](https://www.loopandlearn.org/custom-code/#lnl-patches).
171
176
172
-
The process for creating your own customized patch is the same as those using the released code. There will be extra information about modifying the build_loop.yml depending on which LoopWorkspace you choose to fork (LoopKit or loopnlearn). But that documentation is not ready yet.
177
+
The process for creating your own customized patch is the same as those using the released code.
173
178
174
179
## Open Module in Codespaces
175
180
@@ -348,8 +353,6 @@ For each modification, there is a `Key_Phrase` to help you find the line of code
348
353
349
354
Click on the codespaces magnifying glass, paste the `Key_Phrase` into the search bar. If you use the copy icon and paste the `Key_Phrase`, you'll need to hit backspace to remove the extra return.
350
355
351
-
TO DO - put in a GIF showing making changes.
352
-
353
356
Make the change and save the file.
354
357
355
358
The source control icon now has a number showing. The number is how many different files in this Module that you have modified. Sometimes, more than one customization is added to a given file.
@@ -380,7 +383,7 @@ You are done with this module.
380
383
Click the Codespaces icon at bottom left.
381
384
Choose Stop Codespace from the menu. Don't worry about the changes won't be saved message - you just saved the changes with the sync command above.
382
385
383
-
The screen will then show the Codespace is stopped message. You can close the tab.
386
+
The screen will then show the Codespace is stopped message.
384
387
385
388
Return to your github account and look at the repository for the Module you just changed. It should be similar to the graphic below.
386
389
@@ -389,9 +392,13 @@ Return to your github account and look at the repository for the Module you just
389
392
390
393
## Prepare the Patches
391
394
392
-
While you have this Module open, go on an prepare the patch lines you will need to add to the build_loop.yml file.
395
+
You will prepare the patches looking at your fork of the Submodule repository under GitHub. Look at your fork, your __main_3.2.1_custom__ branch and click on the clock icon to the right to see the commit history. Each commit has a copy button you can use to copy the full SHA-1 for that commit; and a link you can click to see the changes and comments for that commit.
393
396
394
-
Add graphic showing several customizations with comments.
397
+
**Please do not click on boxes that GitHub might show you that ask if you want to merge changes from your fork back to LoopKit.** These changes are for **your fork** only. Ignore those prompts.
398
+
399
+
You will need the SHA-1 and the commit comment for each change you made in main_3.2.1_custom.
400
+
401
+
Add graphic showing GitHub fork with several customizations with comments.
395
402
396
403
Important: work from older (bottom) to newer (top) commits when creating the patches.
397
404
@@ -462,6 +469,8 @@ The indenting needs to match, so tab or (shift-tab) to line up the patches.
462
469
* Click on Run workflow on the right side
463
470
* Then click on the green Run Workflow button
464
471
472
+
After waiting about 2 minutes, to make sure there is no error, return to [Codespaces](https://github.com/codespaces). Scroll to the bottom of the screen and delete any codespaces you created above. (Note codespaces must first be stopped and then deleted.)
473
+
465
474
In about 1 hour, your customized Loop will be available for installation on your phone via TestFlight.
466
475
467
476
## Special Cases
@@ -494,7 +503,7 @@ What if you already have a fork of one of the modules?
494
503
495
504
**Your existing fork is from a username other than LoopKit**
496
505
497
-
If your fork is from loopnlearn then you need to follow the directions (that are not written yet) on the loopandlearn dot org website.
506
+
If your fork is from loopnlearn and you want additional customizations, it is easist to delete that fork, make a new one from LoopKit, add the 6 Secrets to the new fork and as part of the changes to build_loop.yml, add the [Loop and Learn: LnL Patches](https://www.loopandlearn.org/custom-code/#lnl-patches) and you additional customizations.
498
507
499
508
If you know this is a fork you do not care about, you can delete the repository.
Copy file name to clipboardExpand all lines: docs/gh-actions/gh-other-apps.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -74,7 +74,7 @@ Once all six Secrets are added, you will either continue to add the identifiers
74
74
75
75
## Action: Validate Secrets
76
76
77
-
When building Loop Follow, the main branch has the new steps that are currently in [Loop dev Actions](gh-update.md#loop-dev-actions) and will be in the next release. The actions will look slightly different than when you built Loop.
77
+
The first action step is to Validate Secrets.
78
78
79
79
{width="200"}
Copy file name to clipboardExpand all lines: docs/gh-actions/gh-overview.md
+2-4
Original file line number
Diff line number
Diff line change
@@ -20,11 +20,9 @@ TestFlight is the only method available for installation to a phone when using t
20
20
21
21
### Cons
22
22
23
-
The customization process is more involved. One set of commonly requested customizations is available, as explained at [Loop and Learn: Loop Customization](https://www.loopandlearn.org/github-lnl-patches).
23
+
The customization process is more tedious to set up but then easy to maintain. One set of commonly requested customizations is available, as explained at [Loop and Learn: Loop Customization](https://www.loopandlearn.org/custom-code#prepared-patches).
24
24
25
-
* Stick with Mac-Xcode build (for now) if you want to do your own customizations
26
-
* You can still use [TestFlight with your Mac-Xcode build](../build/testflight-xcode.md)
27
-
* If you still want customizations and don't have a Mac-Xcode system that allows you to customize, there are now instructions at Browser Build [Customize with GitHub](../gh-actions/gh-customize.md)
25
+
* There are now instructions at Browser Build [Customize with GitHub](../gh-actions/gh-customize.md)
Copy file name to clipboardExpand all lines: docs/nightscout/ns_crossref.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -24,11 +24,11 @@ While the Loop app sends notifications locally on the Loop user's iPhone, parent
24
24
25
25
### Loop Follow
26
26
27
-
Loop Follow was created by Jon Fawcett who took ideas from multiple other apps to create a single app to assist in his caregiving role. It is popular with Loopers who like the display and notifications as well as Loop caregivers. It can work with just the Dexcom Share credentials and/or the Nightscout URL and allows for easy customization of alerts and alarms.
27
+
Loop Follow was created by Jon Fawcett who took ideas from multiple other apps to create a single app to assist in his caregiving role. It is popular with Loopers who like the display and notifications as well as Loop caregivers. It can work with just the Dexcom Share credentials and/or the Nightscout URL and allows for easy customization of alerts and alarms. Jon has handed over maintenance of this app to the Loop and Learn team.
Copy file name to clipboardExpand all lines: docs/operation/features/notifications.md
+1-2
Original file line number
Diff line number
Diff line change
@@ -164,5 +164,4 @@ Many people use additional apps to assist in following a loved one or to support
164
164
165
165

166
166
167
-
For more information, please read the [Loop Follow](https://github.com/jonfawcett/LoopFollow#loop-follow) documentation. You can build Loop Follow using the same [Build Select Script](../../build/step14.md#build-select-script) you used to build the Loop app. (It's one of the options in the menu.)
168
-
167
+
For more information, please read the [Loop Follow](https://www.loopandlearn/loop-follow) documentation. You can build Loop Follow using the same [Build Select Script](../../build/step14.md#build-select-script) you used to build the Loop app or using the [GitHub Browser Build Method](../../gh-actions/gh-other-apps.md).
0 commit comments