From a212802e2c6558d483af693d2b17f67172661dfb Mon Sep 17 00:00:00 2001 From: Brian Quinlan Date: Thu, 9 May 2024 14:38:59 -0700 Subject: [PATCH 1/3] Prepare http_profile for publish --- .github/workflows/dart.yml | 20 ++++++++++---------- pkgs/http_profile/pubspec.yaml | 6 ++---- 2 files changed, 12 insertions(+), 14 deletions(-) diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index 30bd5b5055..a294017b2b 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -118,23 +118,23 @@ jobs: if: "always() && steps.pkgs_web_socket_conformance_tests_pub_upgrade.conclusion == 'success'" working-directory: pkgs/web_socket_conformance_tests job_004: - name: "analyze_and_format; linux; Dart 3.4.0-154.0.dev; PKG: pkgs/http_profile; `dart analyze --fatal-infos`" + name: "analyze_and_format; linux; Dart 3.4.0; PKG: pkgs/http_profile; `dart analyze --fatal-infos`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0-154.0.dev;packages:pkgs/http_profile;commands:analyze_1" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0;packages:pkgs/http_profile;commands:analyze_1" restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0-154.0.dev;packages:pkgs/http_profile - os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0-154.0.dev + os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0;packages:pkgs/http_profile + os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0 os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK uses: dart-lang/setup-dart@f0ead981b4d9a35b37f30d36160575d60931ec30 with: - sdk: "3.4.0-154.0.dev" + sdk: "3.4.0" - id: checkout name: Checkout repository uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 @@ -535,23 +535,23 @@ jobs: - job_007 - job_008 job_014: - name: "unit_test; linux; Dart 3.4.0-154.0.dev; PKG: pkgs/http_profile; `dart test --platform vm`" + name: "unit_test; linux; Dart 3.4.0; PKG: pkgs/http_profile; `dart test --platform vm`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0-154.0.dev;packages:pkgs/http_profile;commands:test_2" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0;packages:pkgs/http_profile;commands:test_2" restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0-154.0.dev;packages:pkgs/http_profile - os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0-154.0.dev + os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0;packages:pkgs/http_profile + os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0 os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK uses: dart-lang/setup-dart@f0ead981b4d9a35b37f30d36160575d60931ec30 with: - sdk: "3.4.0-154.0.dev" + sdk: "3.4.0" - id: checkout name: Checkout repository uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 diff --git a/pkgs/http_profile/pubspec.yaml b/pkgs/http_profile/pubspec.yaml index b86ddc200c..11e0332510 100644 --- a/pkgs/http_profile/pubspec.yaml +++ b/pkgs/http_profile/pubspec.yaml @@ -3,12 +3,10 @@ description: >- A library used by HTTP client authors to integrate with the DevTools Network tab. repository: https://github.com/dart-lang/http/tree/master/pkgs/http_profile - -publish_to: none +version: 0.1.0 environment: - # TODO(derekxu16): Change the following constraint to ^3.4.0 before publishing this package. - sdk: ^3.4.0-154.0.dev + sdk: ^3.4.0 dev_dependencies: dart_flutter_team_lints: ^2.1.1 From d7a177313ce264bfa3b547ba6b00e13ebada8e0a Mon Sep 17 00:00:00 2001 From: Brian Quinlan Date: Thu, 9 May 2024 14:40:56 -0700 Subject: [PATCH 2/3] Update CHANGELOG.md --- pkgs/http_profile/CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/http_profile/CHANGELOG.md b/pkgs/http_profile/CHANGELOG.md index 8f2e70fcf2..b9455a4ed6 100644 --- a/pkgs/http_profile/CHANGELOG.md +++ b/pkgs/http_profile/CHANGELOG.md @@ -1,3 +1,3 @@ -## 0.0.1 +## 0.1.0 -* Skeleton class and test definitions. +* Initial **experimental** release. From 658ec3959ed71996ddf7bc1534405798d8e92d5e Mon Sep 17 00:00:00 2001 From: Brian Quinlan Date: Tue, 14 May 2024 08:05:59 -0700 Subject: [PATCH 3/3] Update pkgs/http_profile/pubspec.yaml Co-authored-by: Derek Xu --- pkgs/http_profile/pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/http_profile/pubspec.yaml b/pkgs/http_profile/pubspec.yaml index 11e0332510..b908d2c22d 100644 --- a/pkgs/http_profile/pubspec.yaml +++ b/pkgs/http_profile/pubspec.yaml @@ -1,7 +1,7 @@ name: http_profile description: >- A library used by HTTP client authors to integrate with the DevTools Network - tab. + View. repository: https://github.com/dart-lang/http/tree/master/pkgs/http_profile version: 0.1.0