05ccef7e81
Deploy Artifact Proxy Dev / ☁️ Artifact Proxy (push) Has been cancelled
Deploy Discord GCP Alerts / ☁️ Discord GCP Alerts (push) Has been cancelled
ci / 📄 License Check (push) Has been cancelled
ci / ✅ Semantic Pull Request (push) Has been cancelled
ci / 🔤 Check Spelling (push) Has been cancelled
ci / 👀 Detect Changes (push) Has been cancelled
Shorebird CI / changes (push) Has been cancelled
Shorebird CI / CSpell (push) Has been cancelled
ci / 🎯 Build ${{ matrix.package }} (${{ matrix.os }}) (push) Has been cancelled
ci / 🔎 Verify ${{ matrix.package }} (push) Has been cancelled
ci / ci (push) Has been cancelled
Shorebird CI / artifact_proxy (push) Has been cancelled
Shorebird CI / dex (push) Has been cancelled
Shorebird CI / discord_gcp_alerts (push) Has been cancelled
Shorebird CI / flutter_version_resolver (push) Has been cancelled
Shorebird CI / jwt (push) Has been cancelled
Shorebird CI / scoped_deps (push) Has been cancelled
Shorebird CI / shorebird_build_trace (push) Has been cancelled
Shorebird CI / shorebird_ci (push) Has been cancelled
Shorebird CI / shorebird_cli (push) Has been cancelled
Shorebird CI / shorebird_code_push_client (push) Has been cancelled
Shorebird CI / shorebird_code_push_protocol (push) Has been cancelled
Shorebird CI / shorebird_redis_client (push) Has been cancelled
Shorebird CI / stripe_api (push) Has been cancelled
Shorebird CI / required (push) Has been cancelled
ci / 🎯 Build ${{ matrix.package }} (push) Has been cancelled
# Conflicts: # packages/artifact_proxy/lib/src/artifact_proxy.dart # packages/scoped_deps/pubspec.yaml # packages/shorebird_cli/pubspec.yaml # packages/shorebird_code_push_client/lib/src/code_push_client.dart
Shorebird CodePush Protocol
The Shorebird CodePush Protocol is a Dart library which contains common interfaces used by Shorebird CodePush.
Regenerating from the OpenAPI spec
Everything under lib/src/ is generated from an OpenAPI spec by
space_gen. For this open workspace,
regenerate from the checked open spec at
../shorebird-server/internal/api/handlers/openapi.yaml or from the
self-hosted server's http://localhost:8080/openapi.yaml endpoint. Do not
regenerate from Shorebird's hosted API, or the generated protocol may drift
back toward closed service behavior.
dart run packages/shorebird_code_push_protocol/tool/gen.dart \
-i http://localhost:8080/openapi.yaml \
-o packages/shorebird_code_push_protocol
Hand-written files (lib/extensions/, lib/shorebird_code_push_protocol.dart)
are left untouched by the generator. The version of space_gen in use is
pinned in pubspec.yaml.