Compare commits

...
Author SHA1 Message Date
rootandClaude Opus 5.5 8d3251dbc5 iOS 0.11.0 (build 67): Eze-style v<version> tags, source.json lists org.cdnutter.stemify
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-04 12:42:21 -08:00
rootandClaude Opus 5.5 5344bbfd21 iOS builds: public is org.cdnutter.stemify, prov renamed signed
Modes are now public|dev|signed (build/public, build/signed, -signed IPA).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-04 12:00:50 -08:00
rootandClaude Opus 5.5 437c7768d9 build scripts: comments name WHITE-M1AIR
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 22:05:54 -08:00
rootandClaude Opus 5.5 786051aeba build host: white-m1air (iOS builds moved off WHITE-M1)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 21:11:47 -08:00
cdnutterandClaude Opus 5.5 a38859d29f Use gitea.iamchrisama.com instead of git.iamchrisama.com
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 17:24:06 -08:00
cdnutterandClaude Opus 5.5 39f1eb8699 Point Gitea URLs at gitea.iamchrisama.com
git.iamchrisama.com now redirects to gitea.iamchrisama.com, and API calls
lose their auth header across the redirect.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 14:35:58 -08:00
9 changed files with 55 additions and 55 deletions

No files matched your search

+1
View File
@@ -33,3 +33,4 @@
2026-11-09 iOS: dev builds (`ios/scripts/build-remote.sh dev`): bundle id org.cdnutter.stemify-dev, "Stemify Dev", own App Group, into ios/build/dev. Internal tests only, never on Gitea or Sideload.
2026-11-09 iOS: Duo unfolded redesign. Tabs move to a rail on the right edge by the status bar, Now Playing fills the screen with stems and queue on the left and the player on the right, picking a tab swaps the left pane, Swap flips the sides (remembered). Folded screen unchanged.
2026-11-09 iOS: build-remote.sh now builds dev + prov by default; public only with `public`.
2026-12-04 iOS 0.11.0 (build 67): public build is org.cdnutter.stemify (was -pub, reinstall needed), build modes public|dev|signed, tags v<version> like Eze. Playlist create/delete, Stem playlist sorting/rename/cover/mix/copy to Plex, cover cropper, continuous Random Album Radio, lyrics Vocals/Softness turn karaoke on, softer icon glow, Duo orientation and Now Playing drag fixes.
+8 -8
View File
@@ -343,18 +343,18 @@ docs/specs.txt original design doc for the desktop separator
```sh
cd ios
scripts/build-remote.sh # from DevOps: dev build on WHITE-M1, pulled back to build/dev
scripts/build-remote.sh release # release build, build/release
scripts/build-remote.sh prov # personal signed build, build/prov
scripts/build-ipa.sh release|dev|prov # same thing directly on the Mac
scripts/build-remote.sh # from DevOps: dev build on WHITE-M1AIR, pulled back to build/dev
scripts/build-remote.sh public # public build, build/public
scripts/build-remote.sh signed # personal signed build, build/signed
scripts/build-ipa.sh public|dev|signed # same thing directly on the Mac
xcodegen generate # or open Stemify.xcodeproj in Xcode
```
There are three builds, each with its own bundle ID so they install side by side:
There are three builds. Public and signed share a bundle ID, dev installs beside them:
- `org.cdnutter.stemify-pub` (build/release): releases from `main`. `scripts/publish.sh release` tags `ios-v<version>`, uploads the IPA to Gitea and Sideload, and regenerates `ios/source.json`.
- `org.cdnutter.stemify-dev` (build/dev): ribbon icon, built from the `dev` branch. `scripts/publish.sh dev` makes a Gitea pre-release `ios-v<version>-dev.<build>` and uploads it to Sideload Developer. Bump `CURRENT_PROJECT_VERSION` for each one.
- `org.cdnutter.stemify` (build/prov): signed with the personal profile in `ios/prov/` so CarPlay and Siri work. Never published.
- `org.cdnutter.stemify` (build/public): releases from `main`. `scripts/publish.sh public` tags `v<version>`, uploads the IPA to Gitea and Sideload, and regenerates `ios/source.json`.
- `org.cdnutter.stemify-dev` (build/dev): ribbon icon, built from the `dev` branch. `scripts/publish.sh dev` makes a Gitea pre-release `v<version>-dev.<build>` and uploads it to Sideload Developer. Bump `CURRENT_PROJECT_VERSION` for each one.
- `org.cdnutter.stemify` (build/signed, file ends `-signed`): signed with the personal profile in `ios/prov/` so CarPlay and Siri work. Never published.
The version lives in `ios/project.yml` (`VERSION_LABEL`, `MARKETING_VERSION` and `CURRENT_PROJECT_VERSION`).
+1 -1
View File
@@ -58,7 +58,7 @@ actor LyricsSource {
var c = URLComponents(string: "https://lrclib.net/api/\(path)")!
c.queryItems = query.map { URLQueryItem(name: $0.key, value: $0.value) }
var req = URLRequest(url: c.url!, timeoutInterval: 10)
req.setValue("Stemify iOS (https://git.iamchrisama.com/cdnutter/stemify)", forHTTPHeaderField: "User-Agent")
req.setValue("Stemify iOS (https://gitea.iamchrisama.com/cdnutter/stemify)", forHTTPHeaderField: "User-Agent")
guard let (data, resp) = try? await URLSession.shared.data(for: req), (resp as? HTTPURLResponse)?.statusCode == 200 else { return nil }
return data
}
+3 -3
View File
@@ -7,9 +7,9 @@ settings:
base:
SWIFT_VERSION: "5.0"
# iOS needs a plain number for the bundle version; the label is what the app and releases show.
MARKETING_VERSION: "0.10.1"
VERSION_LABEL: "0.10.1"
CURRENT_PROJECT_VERSION: "66"
MARKETING_VERSION: "0.11.0"
VERSION_LABEL: "0.11.0"
CURRENT_PROJECT_VERSION: "67"
# Dev builds override these (build-ipa.sh dev) so they install next to the release app.
APP_ID: org.cdnutter.stemify
APP_NAME: Stemify
+9 -9
View File
@@ -1,11 +1,11 @@
#!/bin/bash
# Builds one Stemify IPA on a Mac. ios/scripts/build-remote.sh runs this on WHITE-M1 from DevOps.
# build-ipa.sh release build/release/stemify-<v>.ipa org.cdnutter.stemify-pub, ad-hoc signed. Gitea releases (main) + Sideload.
# Builds one Stemify IPA on a Mac. ios/scripts/build-remote.sh runs this on WHITE-M1AIR from DevOps.
# build-ipa.sh public build/public/stemify-<v>.ipa org.cdnutter.stemify, ad-hoc signed. Gitea releases (main) + Sideload.
# build-ipa.sh dev build/dev/stemify-<v>-dev.ipa org.cdnutter.stemify-dev, ribbon icon, DEV BUILD banner.
# Gitea pre-releases (dev branch) + Sideload Developer.
# build-ipa.sh prov build/prov/stemify-<v>-prov.ipa org.cdnutter.stemify, signed with the
# build-ipa.sh signed build/signed/stemify-<v>-signed.ipa org.cdnutter.stemify, signed with the
# personal profile (CarPlay, Siri). Never published anywhere.
# prov needs prov/Stemify.mobileprovision (App ID org.cdnutter.stemify), prov/key.p12 and P12_PASS.
# signed needs prov/Stemify.mobileprovision (App ID org.cdnutter.stemify), prov/key.p12 and P12_PASS.
# prov/StemifyWidgets.mobileprovision (org.cdnutter.stemify.widgets) is optional, without it the widgets are left out.
# build/work is scratch and is wiped each run.
set -euo pipefail
@@ -14,10 +14,10 @@ export PATH=/opt/homebrew/bin:$PATH
B=build; OUT=$B/work; APP=$OUT/Payload/Stemify.app; EXT=$APP/PlugIns/StemifyWidgets.appex
MODE=${1:-dev}
case $MODE in
release) APP_ID=org.cdnutter.stemify-pub; APP_NAME=Stemify; APP_ICON=AppIcon; SUFFIX= ;;
public) APP_ID=org.cdnutter.stemify; APP_NAME=Stemify; APP_ICON=AppIcon; SUFFIX= ;;
dev) APP_ID=org.cdnutter.stemify-dev; APP_NAME=Stemify; APP_ICON=AppIconDev; SUFFIX=-dev ;;
prov) APP_ID=org.cdnutter.stemify; APP_NAME=Stemify; APP_ICON=AppIcon; SUFFIX=-prov ;;
*) echo "usage: $0 release|dev|prov" >&2; exit 1 ;;
signed) APP_ID=org.cdnutter.stemify; APP_NAME=Stemify; APP_ICON=AppIcon; SUFFIX=-signed ;;
*) echo "usage: $0 public|dev|signed" >&2; exit 1 ;;
esac
DD=$B/dd-$MODE
# Dev builds are marked as such (Info key StemifyChannel) and put the build number in the
@@ -31,7 +31,7 @@ BN=$(sed -nE 's/^ *CURRENT_PROJECT_VERSION: "(.*)"/\1/p' project.yml)
VERSION=$(sed -nE 's/^ *VERSION_LABEL: "(.*)"/\1/p' project.yml | tr 'A-Z' 'a-z' | sed -E 's/ (rc|beta) /-\1/; s/ /-/g')
IPA=$B/$MODE/stemify-$VERSION$SUFFIX.ipa
if [ "$MODE" = prov ]; then
if [ "$MODE" = signed ]; then
for f in prov/Stemify.mobileprovision prov/key.p12; do [ -f $f ] || { echo "missing $f" >&2; exit 1; }; done
[ -n "${P12_PASS:-}" ] || { echo "P12_PASS not set" >&2; exit 1; }
PROF_ID=$(security cms -D -i prov/Stemify.mobileprovision | plutil -extract Entitlements.application-identifier raw -)
@@ -46,7 +46,7 @@ xcodebuild -project Stemify.xcodeproj -scheme Stemify -configuration Release -sd
cp -R $DD/Build/Products/Release-iphoneos/Stemify.app $APP
[ -d $EXT ] || { echo "widget extension missing" >&2; exit 1; }
if [ "$MODE" != prov ]; then
if [ "$MODE" != signed ]; then
# Ad-hoc signature carrying only the App Group, so Sideloadly/AltStore keep the widgets' shared data when re-signing.
cat > $OUT/group.plist <<PL
<?xml version="1.0" encoding="UTF-8"?>
+7 -7
View File
@@ -1,17 +1,17 @@
#!/bin/bash
# Run from DevOps: syncs ios/ to WHITE-M1, builds there, and pulls the IPAs back into ios/build/<mode>.
# Run from DevOps: syncs ios/ to WHITE-M1AIR, builds there, and pulls the IPAs back into ios/build/<mode>.
# build-remote.sh dev build (the usual one): build/dev
# build-remote.sh release release build, only when a release is asked for: build/release
# build-remote.sh prov personal signed build: build/prov
# build-remote.sh dev prov ... several at once
# build-remote.sh public public build, only when a release is asked for: build/public
# build-remote.sh signed personal signed build: build/signed
# build-remote.sh dev signed ... several at once
set -euo pipefail
cd "$(dirname "$0")/.."
H=${BUILD_HOST:-white-m1}; R=stemify-build/ios
H=${BUILD_HOST:-white-m1air}; R=stemify-build/ios
MODES=${*:-dev}
for m in $MODES; do case $m in release|dev|prov) ;; *) echo "usage: $0 [release|dev|prov]..." >&2; exit 1 ;; esac; done
for m in $MODES; do case $m in public|dev|signed) ;; *) echo "usage: $0 [public|dev|signed]..." >&2; exit 1 ;; esac; done
rsync -a --exclude build --exclude prov --exclude Stemify.xcodeproj ./ $H:$R/
for m in $MODES; do
ssh $H "cd $R && P12_PASS=\$(cat prov/cert_pass.txt 2>/dev/null) bash scripts/build-ipa.sh $m"
mkdir -p build/$m && rsync -a $H:$R/build/$m/ build/$m/
done
ls build/{release,dev,prov}/stemify-$(sed -nE 's/^ *VERSION_LABEL: "(.*)"/\1/p' project.yml | tr 'A-Z' 'a-z' | sed -E 's/ (rc|beta) /-\1/; s/ /-/g')*.ipa 2>/dev/null
ls build/{public,dev,signed}/stemify-$(sed -nE 's/^ *VERSION_LABEL: "(.*)"/\1/p' project.yml | tr 'A-Z' 'a-z' | sed -E 's/ (rc|beta) /-\1/; s/ /-/g')*.ipa 2>/dev/null
+7 -7
View File
@@ -1,11 +1,11 @@
#!/usr/bin/env python3
"""Writes ios/source.json, an AltStore source (SideStore and Feather read it too), from the
ios-v* releases on Gitea. Only releases with a stemify-<version>.ipa are listed, since older
ones used a different bundle ID. Set GITEA_TOKEN if the repo is private."""
v* releases on Gitea (org.cdnutter.stemify). The older ios-v* releases were org.cdnutter.stemify-pub
and are left out. Set GITEA_TOKEN if the repo is private."""
import json, os, re, urllib.request
REPO = "https://git.iamchrisama.com/cdnutter/stemify"
API = "https://git.iamchrisama.com/api/v1/repos/cdnutter/stemify"
REPO = "https://gitea.iamchrisama.com/cdnutter/stemify"
API = "https://gitea.iamchrisama.com/api/v1/repos/cdnutter/stemify"
RAW = f"{REPO}/raw/branch/main"
HERE = os.path.dirname(os.path.abspath(__file__))
@@ -34,10 +34,10 @@ builds[slug] = re.search(r'CURRENT_PROJECT_VERSION: "(.*)"', yml)[1]
versions = []
for rel in get(API + "/releases?limit=50"):
v = rel["tag_name"].removeprefix("ios-v")
v = rel["tag_name"].removeprefix("v")
ipa = next((a for a in rel["assets"] if a["name"] == f"stemify-{v}.ipa"), None)
# Pre-releases are dev builds (org.cdnutter.stemify-dev), they go to Sideload Developer instead.
if not rel["tag_name"].startswith("ios-v") or not ipa or rel["prerelease"]:
if not rel["tag_name"].startswith("v") or not ipa or rel["prerelease"]:
continue
versions.append({
"version": v.split("-")[0],
@@ -58,7 +58,7 @@ source = {
"website": REPO,
"apps": [{
"name": "Stemify",
"bundleIdentifier": "org.cdnutter.stemify-pub",
"bundleIdentifier": "org.cdnutter.stemify",
"developerName": "cdnutter",
"subtitle": "Plex music player with live stem mixing.",
"localizedDescription": "Plays your Plex library and lets you mute vocals or remix stems on the fly. "
+12 -13
View File
@@ -1,37 +1,36 @@
#!/bin/bash
# Publishes an IPA built by build-remote.sh. Run from DevOps with everything committed.
# publish.sh dev on the dev branch: Gitea pre-release ios-v<v>-dev.<build> + Sideload Developer (WHITE-M1 :8093, ?source=dev)
# publish.sh release on main, only when the owner says so: Gitea release ios-v<v> + Personal (:8093, ?source=personal), then source.json
# Release notes come from $NOTES, else the last commit subject. prov builds are never published.
# publish.sh dev on the dev branch: Gitea pre-release v<v>-dev.<build> + iOS Repos /dev (WHITE-M1 :8093, ?source=dev)
# publish.sh public on main, only when the owner says so: Gitea release v<v> + iOS Repos /personal (:8093, ?source=personal), then source.json
# Release notes come from $NOTES, else the last commit subject. signed builds are never published.
set -euo pipefail
cd "$(dirname "$0")/.."
MODE=${1:-}; NAME=stemify; TAGP=ios-v
API=https://git.iamchrisama.com/api/v1/repos/cdnutter/stemify
MODE=${1:-}; NAME=stemify; TAGP=v
API=https://gitea.iamchrisama.com/api/v1/repos/cdnutter/stemify
T=$(sed -n 's#.*://cdnutter:\([^@]*\)@.*#\1#p' ~/.config/gitea/cdnutter.credentials | head -1)
V=$(sed -nE 's/^ *VERSION_LABEL: "(.*)"/\1/p' project.yml | tr 'A-Z' 'a-z' | sed -E 's/ (rc|beta) /-\1/; s/ /-/g')
BUILD=$(sed -nE 's/^ *CURRENT_PROJECT_VERSION: "(.*)"/\1/p' project.yml)
LABEL=$(sed -nE 's/^ *VERSION_LABEL: "(.*)"/\1/p' project.yml)
BRANCH=$(git rev-parse --abbrev-ref HEAD)
die() { echo "$*" >&2; exit 1; }
case $MODE in
dev) WANT=dev; IPA=build/dev/$NAME-$V-dev.ipa; TAG=$TAGP$V-dev.$BUILD; TITLE="Stemify iOS $LABEL Dev Build $BUILD"; PRE=true; UP=http://10.0.0.11:8093; Q='?source=dev' ;;
release) WANT=main; IPA=build/release/$NAME-$V.ipa; TAG=$TAGP$V; TITLE="Stemify iOS $LABEL"; PRE=false; UP=http://10.0.0.11:8093; Q='?source=personal' ;;
*) die "usage: $0 dev|release" ;;
dev) WANT=dev; IPA=build/dev/$NAME-$V-dev.ipa; TAG=$TAGP$V-dev.$BUILD; PRE=true; UP=http://10.0.0.11:8093; Q='?source=dev' ;;
public) WANT=main; IPA=build/public/$NAME-$V.ipa; TAG=$TAGP$V; PRE=false; UP=http://10.0.0.11:8093; Q='?source=personal' ;;
*) die "usage: $0 dev|public" ;;
esac
[ "$BRANCH" = "$WANT" ] || die "$MODE builds publish from $WANT (on $BRANCH)"
[ -f "$IPA" ] || die "missing $IPA, run scripts/build-remote.sh $MODE"
git diff --quiet HEAD || die "uncommitted changes"
[ "$(curl -s -o /dev/null -w '%{http_code}' -H "Authorization: token $T" $API/releases/tags/$TAG)" = 404 ] \
|| die "$TAG already exists, bump CURRENT_PROJECT_VERSION (dev) or VERSION_LABEL (release)"
|| die "$TAG already exists, bump CURRENT_PROJECT_VERSION (dev) or VERSION_LABEL (public)"
git push -q -u origin $BRANCH
BODY=${NOTES:-$(git log -1 --format=%s)}
ID=$(jq -n --arg t "$TAG" --arg n "$TITLE" --arg c "$(git rev-parse HEAD)" --arg b "$BODY" --argjson p $PRE \
'{tag_name:$t, target_commitish:$c, name:$n, body:$b, prerelease:$p}' |
ID=$(jq -n --arg t "$TAG" --arg c "$(git rev-parse HEAD)" --arg b "$BODY" --argjson p $PRE \
'{tag_name:$t, target_commitish:$c, name:$t, body:$b, prerelease:$p}' |
curl -fsS -H "Authorization: token $T" -H 'Content-Type: application/json' -d @- $API/releases | jq -r .id)
curl -fsS -o /dev/null -H "Authorization: token $T" -F "attachment=@$IPA" "$API/releases/$ID/assets?name=$(basename $IPA)"
curl -fsS -o /dev/null -X POST --data-binary @$IPA "$UP/api/upload/ipa$Q"
echo "published $TAG ($(basename $IPA)) to Gitea and $UP"
if [ $MODE = release ]; then
if [ $MODE = public ]; then
GITEA_TOKEN=$T python3 scripts/make-source.py
git add source.json && git commit -qm "iOS source.json for $TAG" && git push -q origin main
fi
+7 -7
View File
@@ -1,9 +1,9 @@
{
"name": "Stemify",
"identifier": "org.cdnutter.stemify.source",
"sourceURL": "https://git.iamchrisama.com/cdnutter/stemify/raw/branch/main/ios/source.json",
"iconURL": "https://git.iamchrisama.com/cdnutter/stemify/raw/branch/main/ios/Stemify/Resources/Assets.xcassets/AppIcon.appiconset/icon.png",
"website": "https://git.iamchrisama.com/cdnutter/stemify",
"sourceURL": "https://gitea.iamchrisama.com/cdnutter/stemify/raw/branch/main/ios/source.json",
"iconURL": "https://gitea.iamchrisama.com/cdnutter/stemify/raw/branch/main/ios/Stemify/Resources/Assets.xcassets/AppIcon.appiconset/icon.png",
"website": "https://gitea.iamchrisama.com/cdnutter/stemify",
"apps": [
{
"name": "Stemify",
@@ -11,7 +11,7 @@
"developerName": "cdnutter",
"subtitle": "Plex music player with live stem mixing.",
"localizedDescription": "Plays your Plex library and lets you mute vocals or remix stems on the fly. Works offline with downloads, and in the car with CarPlay.",
"iconURL": "https://git.iamchrisama.com/cdnutter/stemify/raw/branch/main/ios/Stemify/Resources/Assets.xcassets/AppIcon.appiconset/icon.png",
"iconURL": "https://gitea.iamchrisama.com/cdnutter/stemify/raw/branch/main/ios/Stemify/Resources/Assets.xcassets/AppIcon.appiconset/icon.png",
"tintColor": "#FA2D48",
"category": "entertainment",
"versions": [
@@ -21,7 +21,7 @@
"buildVersion": "52",
"date": "2026-11-20T12:25:58-08:00",
"localizedDescription": "Folded art-left: art's left edge matches the controls' padding",
"downloadURL": "https://git.iamchrisama.com/cdnutter/stemify/releases/download/ios-v0.10.1/stemify-0.10.1.ipa",
"downloadURL": "https://gitea.iamchrisama.com/cdnutter/stemify/releases/download/ios-v0.10.1/stemify-0.10.1.ipa",
"size": 3142623,
"minOSVersion": "17.0"
},
@@ -31,7 +31,7 @@
"buildVersion": "40",
"date": "2026-11-19T22:26:40-08:00",
"localizedDescription": "## iOS\n\n- New app icon: glowing stem-colored capsules on a night gradient.\n- Plays straight from Plex when the stem server is off or can't be reached. Stems come back once it's reachable again.\n- Picks the Plex server address again after a network change, when the app returns to the foreground, and when a stream fails.\n- Folded Now Playing uses the space at the bottom and shows bigger art.\n- iPhone Duo:\n - Folded is portrait only, and unfolded is landscape only.\n - Left-aligned art applies only when folded.\n - Unfolded stem bars are full width with roomier rows.\n - Deck stems fill the pane down to the hinge and the bottom edge.\n - Tab bar slots stay put across fold and unfold.\n\n## Web player\n\n- New layout: icon sidebar, blurred-art album headers, track table with an album column, play on card hover.\n- Graphite is the new default theme.\n- Album art can expand into a tile in the sidebar.\n- The mixer has vertical channel strips with live level meters. Drag anywhere on a strip, or use the wheel or arrow keys.\n- Save mix and Add to playlist buttons sit under the mixer.\n- The queue button moved to the right side of the player bar.\n- Tracks without stems are tagged NO STEMS.\n- Explanatory text is gone, and the playlist list is gone from the sidebar.\n- Assets are cache-busted, so a plain reload picks up new versions.",
"downloadURL": "https://git.iamchrisama.com/cdnutter/stemify/releases/download/ios-v0.10.0/stemify-0.10.0.ipa",
"downloadURL": "https://gitea.iamchrisama.com/cdnutter/stemify/releases/download/ios-v0.10.0/stemify-0.10.0.ipa",
"size": 3124915,
"minOSVersion": "17.0"
},
@@ -41,7 +41,7 @@
"buildVersion": "31",
"date": "2026-11-18T17:21:50-08:00",
"localizedDescription": "Stemify iOS 0.9.0: Duo split layout, Library Layout in Settings, folded Duo fixes.",
"downloadURL": "https://git.iamchrisama.com/cdnutter/stemify/releases/download/ios-v0.9.0/stemify-0.9.0.ipa",
"downloadURL": "https://gitea.iamchrisama.com/cdnutter/stemify/releases/download/ios-v0.9.0/stemify-0.9.0.ipa",
"size": 2710062,
"minOSVersion": "17.0"
}