Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge dev into loopkit_dev_submodules #36

Merged
merged 24 commits into from
Apr 3, 2024
Merged

Conversation

bjornoleh
Copy link
Contributor

No description provided.

bjornoleh and others added 24 commits March 18, 2024 22:48
- Replace $(DEVELOPMENT_TEAM) parsed from BUNDLE_IDENTIFIER in Config.xcconfig with ENV["TEAMID"]
- Use BUNDLE_ID instead of hard coded bundle identifier in Fastfile, inspired by Artificial-Pancreas/iAPS 6a46a2a by @Jon-b-m 
- Allows building of different instances of the app by only editing Config.xcconfig.
Update App Name and Logos
… align with Loop dev improvements, as previously added to iAPS in PR 46
- use actions/checkout@v4
- use aormsby/Fork-Sync-With-Upstream-action@v3.4.1
- comment out "Select Xcode version" step to use the default Xcode (15.0.1) in macos-13 runner

based on https://github.com/LoopKit/LoopWorkspace/pull/120/files by @dnzxy
- UPSTREAM_REPO: nightscout/Open-iAPS
- Search for and create `alive` branch by use of `${{ github.repository }}` context, instead of
`${{ github.repository_owner }}/iAPS`
- Create `alive` branch from `main` instead of `dev`
- do not run the upstream sync action on the upstream repository (owner = nightscout)
- update testflight.md with the Open-iAPS name
- Authenticate the curl API request by GH_PAT according to
https://docs.github.com/de/rest/authentication/authenticating-to-the-rest-api?apiVersion=2022-11-28#authenticating-in-a-github-actions-workflow-using-curl
Thank you @dnzxy for the hint!

This is a temporary requirement until the repositories are made public.
Allow config override file to take action from two directories up, to align with Loop and other DIY projects.
Makes the config override file in the project root take precedence if there are override files in both root and two directories up.
Config.xcconfig: #include? "../../ConfigOverride.xcconfig"
Fastlane/GH build improvements: Add sync action and keepalive action,
Get BUNDLE_IDENTIFIER from Config.xcconfig for use in Fastfile
PRODUCT_BUNDLE_IDENTIFIER = "$(BUNDLE_IDENTIFIER).FreeAPSTests"

- Update plist keys with Open-iAPS:
INFOPLIST_KEY_CFBundleDisplayName = Open-iAPS
INFOPLIST_KEY_CFBundleDisplayName = "Open-iAPS WatchKit Extension"
- Config.xconfig: APP_URL_SCHEME = Open-iAPS
- remove hardcoded "freeaps-x", leaving $(APP_URL_SCHEME)
- CGMType.swift: libreTransmitter: URL(string: "Open-iAPS://libre-transmitter"
- AlertEntry.swift: static let manual = "Open-iAPS"
- CarbsEntry.swift: static let manual = "Open-iAPS"
- NightscoutTreatment.swift: static let local = "Open-iAPS"
- Sources/Models/TempTarget.swift: static let manual = "Open-iAPS"
- NightscoutAPI.swift: var enteredBy = "Open-iAPS", var notes = "Open-iAPS connected"
- GarminManager.swift: connectIQ?.initialize(withUrlScheme: "Open-iAPS", uiOverrideDelegate: self)
Changing the app display name from `OiAPS` (as introduced in #19) to `Open-iAPS`, after having discussed this in Discord.
Update URL scheme for Open-iAPS
Feat: App display name, BundleID and reset of version number to 0.1.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants