Skip to content
Merged
Show file tree
Hide file tree
Changes from 34 commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
481ddd5
Add melos setup and check only set up Dart for now
buenaflor Jul 29, 2025
82fa1bc
Update
buenaflor Jul 30, 2025
af3e3ee
Update]
buenaflor Jul 30, 2025
7734657
Update]
buenaflor Jul 30, 2025
b5e5b42
Update
buenaflor Jul 30, 2025
75e40d4
Update
buenaflor Jul 30, 2025
086519b
Update
buenaflor Jul 30, 2025
f977b38
Fix CHANGELOG
buenaflor Aug 5, 2025
ecce8da
Update gitignore
buenaflor Aug 5, 2025
c692b29
Fix symlink in CHANGELOG
buenaflor Aug 5, 2025
0cae93e
Add logging to melos
buenaflor Aug 5, 2025
1d983dd
Update
buenaflor Aug 5, 2025
030fb25
Merge branch 'umbrella/melos' into chore/melos/logging
buenaflor Aug 5, 2025
831a6de
Update
buenaflor Aug 5, 2025
412240d
Update
buenaflor Aug 5, 2025
26ec9b8
Update
buenaflor Aug 5, 2025
33a6226
Add dio to packages
buenaflor Aug 5, 2025
f0b3ecf
Update workflow
buenaflor Aug 5, 2025
17289a5
Update
buenaflor Aug 5, 2025
feb0e3f
Update
buenaflor Aug 5, 2025
4bc5a30
Update
buenaflor Aug 5, 2025
dae9306
Update
buenaflor Aug 5, 2025
7cc04b4
Update
buenaflor Aug 5, 2025
0706b8a
Add hive to packages
buenaflor Aug 5, 2025
47ea449
Update
buenaflor Aug 5, 2025
0679ecf
Add file to packages
buenaflor Aug 5, 2025
784ef2d
Add link to packages
buenaflor Aug 5, 2025
f5a74a7
Update
buenaflor Aug 5, 2025
326b809
Update
buenaflor Aug 5, 2025
1364687
Update
buenaflor Aug 5, 2025
b7af752
Update
buenaflor Aug 5, 2025
e3e05e5
Fix test
buenaflor Aug 5, 2025
ea6336a
Fix test
buenaflor Aug 5, 2025
ccbc158
Fix test
buenaflor Aug 5, 2025
049e3dc
Fix test
buenaflor Aug 5, 2025
476b8ed
Fix test
buenaflor Aug 5, 2025
ff06f18
Merge branch 'umbrella/melos' into chore/melos/drif
buenaflor Aug 6, 2025
6065975
Update drift.yml
buenaflor Aug 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/dio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ on:
- '.github/workflows/analyze.yml'
- '.github/actions/dart-test/**'
- '.github/actions/coverage/**'
- 'dart/**'
- 'dio/**'
- 'packages/dart/**'
- 'packages/dio/**'

jobs:
cancel-previous-workflow:
Expand All @@ -39,17 +39,17 @@ jobs:

- uses: ./.github/actions/dart-test
with:
directory: dio
directory: packages/dio

- uses: ./.github/actions/coverage
if: runner.os == 'Linux' && matrix.sdk == 'stable'
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: dio
directory: packages/dio
coverage: sentry_dio
min-coverage: 81

analyze:
uses: ./.github/workflows/analyze.yml
with:
package: dio
package: packages/dio
40 changes: 26 additions & 14 deletions .github/workflows/drift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ on:
- '!**/class-diagram.svg'
- '.github/workflows/drift.yml'
- '.github/workflows/analyze.yml'
- '.github/actions/flutter-test/**'
- '.github/actions/dart-test/**'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch 👍

- '.github/actions/coverage/**'
- 'dart/**'
- 'drift/**'
- 'packages/dart/**'
- 'packages/drift/**'

jobs:
cancel-previous-workflow:
Expand All @@ -25,36 +25,48 @@ jobs:
access_token: ${{ github.token }}

build:
name: '${{ matrix.target }} | ${{ matrix.sdk }}'
runs-on: ${{ matrix.target == 'linux' && 'ubuntu' || matrix.target }}-latest
name: '${{ matrix.os }} | ${{ matrix.sdk }}'
runs-on: ${{ matrix.os }}-latest
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
target: [macos, linux, windows]
os: [ ubuntu, macos, windows ]
sdk: [stable, beta]

steps:
- uses: actions/checkout@v4

- name: Install libsqlite3
if: matrix.target == 'linux'
- name: Install libsqlite3 (Linux)
if: matrix.os == 'ubuntu'
run: sudo apt-get -y install libsqlite3-dev

- uses: ./.github/actions/flutter-test
- name: Install SQLite (macOS)
if: matrix.os == 'macos'
run: brew install sqlite3

- name: Install SQLite (Windows)
if: matrix.os == 'windows'
shell: powershell
run: |
Invoke-WebRequest -Uri "https://www.sqlite.org/2023/sqlite-dll-win64-x64-3420000.zip" -OutFile "sqlite.zip"
Expand-Archive -Path "sqlite.zip" -DestinationPath "C:\sqlite"
echo "C:\sqlite" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append

- uses: ./.github/actions/dart-test
with:
directory: drift
directory: packages/drift
web: 'false'

- uses: ./.github/actions/coverage
if: matrix.target == 'linux' && matrix.sdk == 'stable'
if: matrix.os == 'ubuntu' && matrix.sdk == 'stable'
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: drift
directory: packages/drift
coverage: sentry_drift
min-coverage: 80

analyze:
uses: ./.github/workflows/analyze.yml
with:
package: drift
sdk: flutter
package: packages/drift
12 changes: 6 additions & 6 deletions .github/workflows/file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ on:
- '.github/workflows/analyze.yml'
- '.github/actions/dart-test/**'
- '.github/actions/coverage/**'
- 'dart/**'
- 'flutter/**'
- 'file/**'
- 'packages/dart/**'
- 'packages/flutter/**'
- 'packages/file/**'

jobs:
cancel-previous-workflow:
Expand All @@ -40,19 +40,19 @@ jobs:

- uses: ./.github/actions/dart-test
with:
directory: file
directory: packages/file
web: false

- uses: ./.github/actions/coverage
if: runner.os == 'Linux' && matrix.sdk == 'stable'
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: file
directory: packages/file
coverage: sentry_file
min-coverage: 55

analyze:
uses: ./.github/workflows/analyze.yml
with:
package: file
package: packages/file
panaThreshold: 90
10 changes: 5 additions & 5 deletions .github/workflows/hive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ on:
- '.github/workflows/analyze.yml'
- '.github/actions/dart-test/**'
- '.github/actions/coverage/**'
- 'dart/**'
- 'hive/**'
- 'packages/dart/**'
- 'packages/hive/**'

jobs:
cancel-previous-workflow:
Expand All @@ -39,19 +39,19 @@ jobs:

- uses: ./.github/actions/dart-test
with:
directory: hive
directory: packages/hive
web: false

- uses: ./.github/actions/coverage
if: runner.os == 'Linux' && matrix.sdk == 'stable'
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: hive
directory: packages/hive
coverage: sentry_hive
min-coverage: 55

analyze:
uses: ./.github/workflows/analyze.yml
with:
package: hive
package: packages/hive
panaThreshold: 90
8 changes: 4 additions & 4 deletions .github/workflows/link.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ on:
- '.github/workflows/analyze.yml'
- '.github/actions/dart-test/**'
- '.github/actions/coverage/**'
- 'dart/**'
- 'link/**'
- 'packages/dart/**'
- 'packages/link/**'

jobs:
cancel-previous-workflow:
Expand All @@ -39,7 +39,7 @@ jobs:

- uses: ./.github/actions/dart-test
with:
directory: link
directory: packages/link
web: false

# TODO: don't set coverage for now to finish publishing it
Expand All @@ -54,4 +54,4 @@ jobs:
analyze:
uses: ./.github/workflows/analyze.yml
with:
package: link
package: packages/link
10 changes: 5 additions & 5 deletions .github/workflows/logging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ on:
- '.github/workflows/analyze.yml'
- '.github/actions/dart-test/**'
- '.github/actions/coverage/**'
- 'dart/**'
- 'logging/**'
- 'packages/dart/**'
- 'packages/logging/**'

jobs:
cancel-previous-workflow:
Expand All @@ -39,17 +39,17 @@ jobs:

- uses: ./.github/actions/dart-test
with:
directory: logging
directory: packages/logging

- uses: ./.github/actions/coverage
if: runner.os == 'Linux' && matrix.sdk == 'stable'
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: logging
directory: packages/logging
coverage: sentry_logging
min-coverage: 90

analyze:
uses: ./.github/workflows/analyze.yml
with:
package: logging
package: packages/logging
1 change: 0 additions & 1 deletion dio/CHANGELOG.md

This file was deleted.

1 change: 0 additions & 1 deletion dio/dartdoc_options.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions dio/pubspec_overrides.yaml

This file was deleted.

1 change: 0 additions & 1 deletion drift/CHANGELOG.md

This file was deleted.

1 change: 0 additions & 1 deletion drift/dartdoc_options.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions drift/pubspec_overrides.yaml

This file was deleted.

1 change: 0 additions & 1 deletion file/CHANGELOG.md

This file was deleted.

1 change: 0 additions & 1 deletion file/dartdoc_options.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions file/pubspec_overrides.yaml

This file was deleted.

1 change: 0 additions & 1 deletion hive/CHANGELOG.md

This file was deleted.

1 change: 0 additions & 1 deletion hive/dartdoc_options.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions hive/pubspec_overrides.yaml

This file was deleted.

1 change: 0 additions & 1 deletion link/CHANGELOG.md

This file was deleted.

3 changes: 0 additions & 3 deletions link/pubspec_overrides.yaml

This file was deleted.

1 change: 0 additions & 1 deletion logging/CHANGELOG.md

This file was deleted.

1 change: 0 additions & 1 deletion logging/dartdoc_options.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions logging/pubspec_overrides.yaml

This file was deleted.

File renamed without changes.
1 change: 1 addition & 0 deletions packages/dio/CHANGELOG.md
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
1 change: 1 addition & 0 deletions packages/dio/dartdoc_options.yaml
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions packages/dio/pubspec_overrides.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# melos_managed_dependency_overrides: sentry
dependency_overrides:
sentry:
path: ../dart
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions packages/drift/CHANGELOG.md
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions packages/drift/dartdoc_options.yaml
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 1 addition & 3 deletions drift/pubspec.yaml → packages/drift/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,11 @@ dependencies:

dev_dependencies:
lints: '>=2.0.0'
flutter_test:
sdk: flutter
test: ^1.26.3
coverage: ^1.3.0
mockito: ^5.1.0
build_runner: ^2.4.6
drift_dev: ^2.13.0
yaml: ^3.1.0 # needed for version match (code and pubspec)
sqlite3_flutter_libs: ^0.5.0
sqlite3: ^2.1.0
archive: ^3.1.2
4 changes: 4 additions & 0 deletions packages/drift/pubspec_overrides.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# melos_managed_dependency_overrides: sentry
dependency_overrides:
sentry:
path: ../dart
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import 'package:drift/drift.dart';
import 'package:drift/native.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:test/test.dart';
import 'package:mockito/mockito.dart';
import 'package:sentry/sentry.dart';
import 'package:sentry/src/sentry_tracer.dart';
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions packages/file/CHANGELOG.md
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
1 change: 1 addition & 0 deletions packages/file/dartdoc_options.yaml
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions packages/file/pubspec_overrides.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# melos_managed_dependency_overrides: sentry
dependency_overrides:
sentry:
path: ../dart
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions packages/hive/CHANGELOG.md
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions packages/hive/dartdoc_options.yaml
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions packages/hive/pubspec_overrides.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# melos_managed_dependency_overrides: sentry
dependency_overrides:
sentry:
path: ../dart
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions packages/link/CHANGELOG.md
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions packages/link/dartdoc_options.yaml
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions packages/link/pubspec_overrides.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# melos_managed_dependency_overrides: sentry
dependency_overrides:
sentry:
path: ../dart
File renamed without changes
File renamed without changes.
1 change: 1 addition & 0 deletions packages/logging/CHANGELOG.md
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
1 change: 1 addition & 0 deletions packages/logging/dartdoc_options.yaml
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions packages/logging/pubspec_overrides.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# melos_managed_dependency_overrides: sentry
dependency_overrides:
sentry:
path: ../dart
File renamed without changes.
File renamed without changes.
Loading