Skip to content

Commit 21d619c

Browse files
authored
Merge pull request #959 from marionbarker/working-docs
Include information about the feature branches
2 parents f5c7421 + f8706aa commit 21d619c

File tree

1 file changed

+59
-1
lines changed

1 file changed

+59
-1
lines changed

docs/version/development.md

Lines changed: 59 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,65 @@ This section provides an overview of changes to `dev` compared to `Loop 3.8.x`.
1616

1717
Please check the [development channel in zulipchat](https://loop.zulipchat.com/#narrow/channel/144182-development) for notifications when an update to the `dev` branch is expected so you will be prepared. Do this **before** you install a `dev` build from TestFlight.
1818

19-
There are no differences between `dev` and `main` at this time.
19+
There are no differences between `dev` and `main` at this time. However, there are some feature branches.
20+
21+
| <div style="width:140px"> branch | version # | comments |
22+
|:--|:--|:--|
23+
| main | 3.8.2 | release |
24+
| dev | 3.9.2 | identical to main except version number |
25+
| [feat/pod-keep-alive](#feature-branch-pod-keep-alive-feature) | 3.9.3 | - identical to 3.8.2 & 3.9.2 except uses the OmniBLE pod-keep-alive branch to support users of iPhone 16 phones with InPlay BLE (-Atlas) DASH pods<br>- should have maintained the 3.9.2 version number<br>- SHA for OmniBLE is `8c47404` |
26+
| release/3.8.1 | 3.8.1 | - copy of the main release at version 3.8.1 that included Dana support<br>- this branch is meant to support people already using Dana with v3.8.1 who understand how to manage the issues with that version<br>- SHA for DanaKit is `3e606b8` |
27+
| [feat/dev-dana-medtrum](#feature-branch-medtrum-and-dana-support) | 3.9.1 | - identical to dev when it was at 3.9.1, with addition of experimental support for Dana and Medtrum pumps<br>- this branch will be updated as updates are available for DanaKit and MedtrumKit<br>- this branch has newer version of the Dana pump manager than release/3.8.1 but new bolus recording issues were observed with this update<br>- when an updated version of dev is merged into this branch, the version number will be similarly incremented<br>- SHA for DanaKit is `0875c1e`<br>- SHA for MedtrumKit is `a85496e` |
28+
29+
!!! question "What is SHA?"
30+
SHA-1 means Secure Hash Algorithm 1. This is used to generate an alphanumeric code to identify which version of a repository is used.
31+
32+
Each time you save a change to your&nbsp;<span translate="no">GitHub repository</span>, a unique SHA-1 is created. That identifier is used to tell *GitHub* a specific change that you want applied or identifies a specific version for that <code>repository</code>. These work for any compatible <code>fork</code> from the original&nbsp;<span translate="no">GitHub repository</span>.
33+
34+
The SHA-1 20-character value is abbreviated as SHA and typically only the first 7 or 8 characters are presented to identify the commit for a particular repository.
35+
36+
### Version Number Plan
37+
38+
Please see [`Loop` Version Numbering](releases.md#loop-version-numbering) for the current method for version numbering for the `main` and `dev` branches.
39+
40+
The idea of having a feature branch is not new for the *Loop* app but hasn't been used for a few years. At this point, we have two feature branches.
41+
42+
Moving forward, the version number in the feature branch will match the `dev` branch version number.
43+
44+
* In other words, a diff between `dev` and the feature branch is just the updates added to support the feature starting with that version of `dev`
45+
* As appropriate, `dev` will be merged into the feature branch and at that time, the version number for the feature branch will also be bumped
46+
* Updates to the feature branch to support the feature will not be updated with a new version number associated with the features
47+
* When updates for the feature are added, the SHA for that submodule will be reported in the table above and can be found by examining the LoopWorkspace repository for that feature branch
48+
49+
> The version number for the `feat/pod-keep-alive` does not match the planned pattern for numbering feature branches; it should have been left at 3.9.2.
50+
51+
52+
### Feature Branch: Pod Keep Alive Feature
53+
54+
For more information about using the `feat/pod-keep-alive` branch with an iPhone 16 and InPlay BLE DASH pods, please refer to the README file for the OmniBLE `pod-keep-alive` branch:
55+
56+
* [Workaround for InPlay Pods](https://github.com/LoopKit/OmniBLE/tree/8c4740468949cf6ca787e232f885a535b2bb3e8f?tab=readme-ov-file#omnible)
57+
58+
59+
### Feature Branch: Medtrum and Dana Support
60+
61+
!!! danger "Do Not Use in Closed Loop"
62+
Users report that after a bolus finishes in Loop, the record of the bolus is removed from the event history.
63+
64+
!!! important "Experts Only"
65+
Please only use the feat/dev-dana-medtrum branch if you are prepared to follow along in zulipchat and are willing to test an experimental branch that has known issues.
66+
67+
The Medtrum and Dana pump managers were originally tested with the Trio app. We know that pump managers that work for Loop also work for Trio, however, the converse is not necessarily true.
68+
69+
There are differences in the way Loop and Trio manage insulin delivery. An eventual goal is to make the apps use the same protocols.
70+
71+
* Loop uses the concept of a mutable dose
72+
* a mutable dose has been requested and affects reported active insulin, but is not finalized
73+
* once the dose is finalized, the reported event in the event log shows isMutable=false
74+
* an example of a mutable delivery is a bolus in progress or a temporary basal rate with a fixed duration that ends in the future
75+
* Trio has its own method for dealing with doses that are initiated but might later change
76+
* Both systems respond to reported reservoir values for pumps that allow a user to manually initiate insulin delivery on the pump, but the methods differ
77+
* The interaction between reservoir level versus event history and the isMutable logic is probably what is causing the current Loop event history problem
2078

2179
## Older updates
2280

0 commit comments

Comments
 (0)