Ingen beskrivning

Jonas Björkert 86fd0059d7 CI: Re-run lint when a PR's base branch changes (#676) 1 månad sedan
.github 86fd0059d7 CI: Re-run lint when a PR's base branch changes (#676) 1 månad sedan
BuildTools 6ada9f2ca5 New stats (#516) 4 månader sedan
LoopFollow 3aeeeb0f41 Cap prediction cone to shortest predBG array length (#653) 1 månad sedan
LoopFollow.xcodeproj 2c0cedacff Remove the Nightscout-based remote command path (#618) 1 månad sedan
LoopFollow.xcworkspace 6ada9f2ca5 New stats (#516) 4 månader sedan
LoopFollowLAExtension 9f0e7c5a8f Adjust frame sizes and text scaling in LiveActivity (#610) 3 månader sedan
Pods d03e4388a1 ITMS-91061 - privacy manifest for Charts framework (#666) 1 månad sedan
Scripts 3ab35c473c Merge dev into remote-apns-feedback 11 månader sedan
Tests 01f689bf5a Add configurable CGM sensor lifetime for sensor change alarm (#579) 3 månader sedan
fastlane 6d734c6aa3 Add App Group capability to Fastfile (#613) 3 månader sedan
img 7469ed453e Update README.md and graphic 1 år sedan
.gitignore 6268dbb4e4 Live activity (#537) 3 månader sedan
BuildDetails.plist 5584b21e84 Implement dynamic build details capture for TestFlight and Xcode 2 år sedan
Config.xcconfig d333202cd8 CI: Bump dev version to 6.1.10 [skip ci] 1 månad sedan
Gemfile 89d4fa4fa4 Bump fastlane to 2.235.0 and jwt to 3.2.0 (CVE-2026-45363) (#663) 1 månad sedan
Gemfile.lock 89d4fa4fa4 Bump fastlane to 2.235.0 and jwt to 3.2.0 (CVE-2026-45363) (#663) 1 månad sedan
LICENSE e1b1b06ed7 Create LICENSE 5 år sedan
LoopFollowDisplayNameConfig.xcconfig f751149c89 Rename of config file 2 år sedan
LoopFollowLAExtensionExtension.entitlements 6268dbb4e4 Live activity (#537) 3 månader sedan
Podfile d03e4388a1 ITMS-91061 - privacy manifest for Charts framework (#666) 1 månad sedan
Podfile.lock 75977b07fc Removed Eureka 1 år sedan
README.md 0b474322db Add commit guidelines to README (#568) 4 månader sedan
RestartLiveActivityIntent.swift 4e3e322c6b Exclude Live Activity code from Mac Catalyst builds (#601) 3 månader sedan
blacklisted-versions.json 9d1f0b6e9b Display branch, build date, latest version, blacklisted version 2 år sedan
release.sh e6327c79da Move release flow to PR-based and add CODEOWNERS for branch protection (#649) 2 månader sedan

README.md

Message from the Loop and Learn Team:

New location for LoopFollow Repository:

  • If you previously created a fork of LoopFollow from the JonFawcett username
    • Please note the repository name has changed to https://github.com/loopandlearn/LoopFollow
    • GitHub should automatically redirect you to this new address
    • We have also modifed one branch and one file name to match standard conventions: main (from Main) and README.md (from readme.md)

Message to Developers

LoopFollow

Purpose:

Using so many different apps as a parent or caregiver of a T1D can be very cumbersome. Add in the extra details from looping with an Open Source Automated Insulin Delivery app and it can be a challenge flipping back and forth between apps. Each app has different strengths and weaknesses. LoopFollow melds together some needs into one app.

An example of the main screen for LoopFollow is shown in the graphic below:

example of main screen for LoopFollow}

Building Options

Please see Loop and Learn: LoopFollow for all the building options.

With the release of version 2.1.0, there is now an easy option for building up to three instances of the LoopFollow app for multiple Loopers in your family. Each instance can be configured to have the display name you choose with these names being the default:

  • LoopFollow
  • LoopFollow_Second
  • LoopFollow_Third

Display Name Updates

The _displayname is found in a single file.

  • Suggestion if you customize the name: use LF {unique name} so you can find the apps easily in iOS Settings screen

Summary instructions by build method:

  • Browser Build:
  • Mac-Xcode Build
    • First build with script, you will be prompted to enter the desired _displayname
    • This _displayname is used each time you select a fresh download for LoopFollow 1, 2 or 3
    • To modify the _displayname for subsequent script builds, edit the appropriate file in the ~/Downloads/BuildLoopFollow folder
      • LoopFollowDisplayNameConfig.xcconfig
      • LoopFollowDisplayNameConfig_Second.xcconfig
      • LoopFollowDisplayNameConfig_Third.xcconfig

Updates

When modifications and versions are updated, you might see activity at GitHub. Please wait for the release message to be posted at LoopFollow Releases before using the updated versions for the main branch of LoopFollow, LoopFollow_Second and LoopFollow_Third.

Version Numbers

Updates to the main branch (releases) have a version number that ends in 0; for example, 2.7.0.

  • Immediately following the release, the dev branch is at the same version as main indicating the code is identical
  • Each time a feature is merged into the dev branch, the final number increments; for example, 2.7.1, 2.7.2
  • When the next release is made, the second digit is incremented and the final digit is restore to 0 for both main and dev; for example, 2.8.0

General feature list

Please review the list on Loop and Learn: LoopFollow.

Each time a release is made, the features added or bugs fixed for that particular release are found at LoopFollow Releases.

Open Source DIY

This is a DIY open source project that may or may not function as you expect. You take full responsibility for building and running this app and do so at your own risk.

For Developers

  • If you are interested in assisting with this app and want to work on new features and improvements for Loop, Trio, iAPS and Nightscout functionality, please reach out.
  • Issues and Pull Requests in GitHub are monitored and will get a response.

New PR are directed to the dev branch. If you direct one to main, we will move it to point to dev. So always start with your code aligned with dev.

Always rename your branch (that is aligned with dev) to a name suitable for your feature, for example, feature_name, before starting to add commits to your branch.

After a PR is merged to dev, there is an automatic bump up the version number - please do not modify the version in your branch.

Pull Request Guidelines

Each pull request should focus on a single concern — one bug fix, one feature, or one improvement. Avoid combining unrelated changes in the same PR.

Focused PRs are easier to review, simpler to test, and safer to revert if needed. If your work touches multiple areas, consider splitting it into separate PRs that can be reviewed and merged independently.

Commit Guidelines

Write commit messages that complete the sentence: "If applied, this commit will..."

For example:

  • "Add alarm snooze functionality" ✓
  • "Fix crash when loading empty profile" ✓
  • "Update documentation for build process" ✓
  • "Remove deprecated API calls" ✓

Commit message structure:

<subject line - 50 chars or less>

<optional body - wrap at 72 chars>

Best practices:

  • Use imperative mood in the subject line (Add, Fix, Update, Remove, Refactor)
  • Keep the subject line concise (50 characters or less)
  • Capitalize the first letter of the subject
  • Do not end the subject line with a period
  • Separate subject from body with a blank line
  • Use the body to explain what and why, not how
  • Reference related issues when applicable (e.g., "Fixes #123")

Version Updates

Only the maintainers for LoopFollow will update version numbers.

Release Process

To assist in releasing to all three LoopFollow repositories, the script release.sh is now available. This bumps up the version number to M.N+1.0 for a minor release or M+1.0.0 for a major release. It also updates the LoopFollow_Second and LoopFollow_Third repositories with parallel changes to what was just released for LoopFollow. Only LoopFollow uses a dev branch. The other repositories use just the main branch and are kept at the released version.

When a release is generated, the updates found in the dev branch are merged into main; the version number in the Config.xcconfig file is updated to A.B.O; a tag of the form v.A.B.0 is created and associated with the main branch at that time.

When PR are subsequently merged to dev, the version number is incremented by 1 in the last place, e.g., "v.A.B.1" etc.

Files in LoopFollow Only

There are several files found only in the LoopFollow repository:

  • .github/workflow/auto_version_dev.yml
  • release.sh

These files are not added to _Second or _Third version because they are not needed for those repositories.