Skip to content

Commit b1cae6c

Browse files
committed
Merge branch 'master' into copilot/fix-1
2 parents 3504656 + 8aa7eef commit b1cae6c

3 files changed

Lines changed: 104 additions & 37 deletions

File tree

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: "Copilot Setup Steps"
2+
3+
# Automatically run the setup steps when they are changed to allow for easy validation, and
4+
# allow manual testing through the repository's "Actions" tab
5+
on:
6+
workflow_dispatch:
7+
push:
8+
paths:
9+
- .github/workflows/copilot-setup-steps.yml
10+
pull_request:
11+
paths:
12+
- .github/workflows/copilot-setup-steps.yml
13+
14+
jobs:
15+
# The job MUST be called `copilot-setup-steps` or it will not be picked up by Copilot.
16+
copilot-setup-steps:
17+
runs-on: ubuntu-latest
18+
19+
# Set the permissions to the lowest permissions possible needed for your steps.
20+
# Copilot will be given its own token for its operations.
21+
permissions:
22+
# If you want to clone the repository as part of your setup steps, for example to install dependencies, you'll need the `contents: read` permission. If you don't clone the repository in your setup steps, Copilot will do this for you automatically after the steps complete.
23+
contents: read
24+
25+
# You can define any steps you want, and they will run before the agent starts.
26+
# If you do not check out your code, Copilot will do this for you.
27+
steps:
28+
- name: Checkout code
29+
uses: actions/checkout@v4
30+
31+
- name: Setup Dart
32+
uses: dart-lang/setup-dart@v1
33+
with:
34+
sdk: "stable"
35+
- name: 🐦 Setup Flutter
36+
uses: subosito/flutter-action@v2
37+
with:
38+
flutter-version: 3.32.8
39+
channel: stable
40+
cache: true
41+
cache-key: flutter-:os:-:channel:-:version:-:arch:-:hash:-${{ hashFiles('**/pubspec.lock') }}
42+
43+
- name: 📦 Install Dependencies
44+
run: |
45+
flutter pub get

codemagic_manager/.github/workflows/copilot-setup-steps.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,23 +28,19 @@ jobs:
2828
- name: Checkout code
2929
uses: actions/checkout@v4
3030

31-
# - name: Set up Node.js
32-
# uses: actions/setup-node@v4
33-
# with:
34-
# node-version: "20"
35-
# cache: "npm"
36-
37-
# - name: Install JavaScript dependencies
38-
# run: npm ci
39-
31+
- name: Setup Dart
32+
uses: dart-lang/setup-dart@v1
33+
with:
34+
sdk: "stable"
4035
- name: 🐦 Setup Flutter
4136
uses: subosito/flutter-action@v2
4237
with:
4338
flutter-version: 3.32.8
4439
channel: stable
4540
cache: true
46-
cache-key: flutter-:os:-:channel:-:version:-:arch:-:hash:-${{ hashFiles('**/pubspec.lock') }}
41+
cache-key: flutter-:os:-:channel:-:version:-:arch:-
4742

4843
- name: 📦 Install Dependencies
4944
run: |
50-
flutter pub get
45+
cd codemagic_manager
46+
dart pub get

codemagic_manager/CHANGELOG.md

Lines changed: 52 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,67 +1,93 @@
1-
## [0.5.0] - Complete API endpoints implementation
2-
3-
- **NEW**: Added support for all missing Codemagic API endpoints
4-
- **NEW**: Applications API - `getApplications()` to list all applications
5-
- **NEW**: Builds API - `getBuild(id)` and `getBuildsForApplication(appId)` for detailed build queries
6-
- **NEW**: Artifacts API - `getArtifacts(buildId)` and `getArtifact(id)` for build artifact management
7-
- **NEW**: Caches API - `getCaches()`, `getCache(id)`, and `deleteCache(id)` for cache management
8-
- **NEW**: Teams API - `getTeams()`, `getTeam(id)`, and `getTeamMembers(teamId)` for team management
9-
- **NEW**: Enhanced example application with tabbed interface showcasing all new functionality
10-
- **NEW**: Comprehensive test coverage for all new endpoints
11-
- **IMPROVED**: Enhanced documentation for existing methods (`getBuilds`, `getApplication`, `startBuild`)
12-
- **NEW**: Added proper model classes: `Applications`, `Artifacts`, `Cache`, `Team`, `TeamMember`, etc.
13-
- **NEW**: All models use json_serializable for consistent serialization
14-
15-
## [0.4.0] - Dart SDK 3.0.0 and null safety
1+
## 0.5.0
2+
3+
Complete API endpoints implementation
4+
5+
- Added support for all missing Codemagic API endpoints
6+
- Applications API - `getApplications()` to list all applications
7+
- Builds API - `getBuild(id)` and `getBuildsForApplication(appId)` for detailed build queries
8+
- Artifacts API - `getArtifacts(buildId)` and `getArtifact(id)` for build artifact management
9+
- Caches API - `getCaches()`, `getCache(id)`, and `deleteCache(id)` for cache management
10+
- Teams API - `getTeams()`, `getTeam(id)`, and `getTeamMembers(teamId)` for team management
11+
- Enhanced example application with tabbed interface showcasing all new functionality
12+
- Comprehensive test coverage for all new endpoints
13+
- IMPROVED: Enhanced documentation for existing methods (`getBuilds`, `getApplication`, `startBuild`)
14+
- Added proper model classes: `Applications`, `Artifacts`, `Cache`, `Team`, `TeamMember`, etc.
15+
- All models use json_serializable for consistent serialization
16+
17+
## 0.4.0
18+
19+
Dart SDK 3.0.0 and null safety
1620

1721
- Updated dependencies
1822
- Migrated to null safety
1923

20-
## [0.3.0+1] - Maintenance update
24+
## 0.3.0+1
25+
26+
Maintenance update
2127

2228
- Docs update
2329

24-
## [0.3.0] - Null-safety support
30+
## 0.3.0
31+
32+
Null-safety support
2533

2634
- Migrate to null-safety - please report bugs if found!
2735

28-
## [0.3.0-nullsafety.1] - Null-safety migration
36+
## 0.3.0-nullsafety.1
37+
38+
Null-safety migration
2939

3040
- update docs
3141

32-
## [0.3.0-nullsafety.0] - Null-safety migration
42+
## 0.3.0-nullsafety.0
43+
44+
Null-safety migration
3345

3446
- Migrated to nnbd
3547
- Removed freezed dependency
3648
- Removed dio dependency in favor of HttpClient
3749
- Added basic tests
3850
- Simplified API - some properties might change, so please this might be slight BREAKING CHANGE
3951

40-
## [0.2.1] - Tweaks and docs
52+
## 0.2.1
53+
54+
Tweaks and docs
4155

4256
- Updated docs and dependencies
4357
- Removed `sshAccessEnabled` in `startBuild` as it's [no longer configured when starting build](https://docs.codemagic.io/troubleshooting/accessing-builder-machine-via-ssh/) but always available
4458

45-
## [0.2.0] - Starting and cancelling builds
59+
## 0.2.0
60+
61+
Starting and cancelling builds
4662

4763
- Added methods to start and cancel running build
4864

49-
## [0.1.3] - Platform issues
65+
## 0.1.3
66+
67+
Platform issues
5068

5169
- Fixed missing platforms
5270

53-
## [0.1.2+1] - Package info
71+
## 0.1.2+1
72+
73+
Package info
5474

5575
- Added some package information like issue tracker
5676

57-
## [0.1.2] - Platforms
77+
## 0.1.2
78+
79+
Platforms
5880

5981
- Added missing platforms
6082

61-
## [0.1.1+1] - Improvements
83+
## 0.1.1+1
84+
85+
Improvements
6286

6387
- Improve quality of code, document API etc.
6488

65-
## [0.1.0] - Initial release 🎉
89+
## 0.1.0
90+
91+
Initial release 🎉
6692

6793
- First version allowing to query applications and builds in a limited manner

0 commit comments

Comments
 (0)