mirror of
https://github.com/flutter/packages.git
synced 2025-06-21 23:52:15 +08:00
[ci] Roll repo tooling to 0.7.3 (#520)
Updates tool pin to 0.7.3 - Enables versiond and CHANGELOG update checks. - Enables timing logging. Changes to allow the roll to pass: - Adds missing licenses to Kotlin files (which were not previously checked). - Adds missing AUTHORS files. - Adjusts package descriptions to meet pub.dev length guidelines, which the tooling now enforces.
This commit is contained in:
@ -4,4 +4,4 @@
|
|||||||
# found in the LICENSE file.
|
# found in the LICENSE file.
|
||||||
|
|
||||||
dart pub global run flutter_plugin_tools build-examples --windows \
|
dart pub global run flutter_plugin_tools build-examples --windows \
|
||||||
--packages-for-branch
|
--packages-for-branch --log-timing
|
||||||
|
@ -4,4 +4,4 @@
|
|||||||
# found in the LICENSE file.
|
# found in the LICENSE file.
|
||||||
|
|
||||||
dart pub global run flutter_plugin_tools native-test --windows \
|
dart pub global run flutter_plugin_tools native-test --windows \
|
||||||
--no-integration --packages-for-branch
|
--no-integration --packages-for-branch --log-timing
|
||||||
|
@ -8,4 +8,4 @@ git fetch origin master
|
|||||||
|
|
||||||
# Pinned version of the plugin tools, to avoid breakage in this repository
|
# Pinned version of the plugin tools, to avoid breakage in this repository
|
||||||
# when pushing updates from flutter/plugins.
|
# when pushing updates from flutter/plugins.
|
||||||
dart pub global activate flutter_plugin_tools 0.7.1
|
dart pub global activate flutter_plugin_tools 0.7.3
|
||||||
|
15
.cirrus.yml
15
.cirrus.yml
@ -45,7 +45,20 @@ task:
|
|||||||
# TODO(stuartmorgan): Remove once the fix for https://github.com/dart-lang/pub/issues/3152
|
# TODO(stuartmorgan): Remove once the fix for https://github.com/dart-lang/pub/issues/3152
|
||||||
# rolls into Flutter master.
|
# rolls into Flutter master.
|
||||||
CHANNEL: stable
|
CHANNEL: stable
|
||||||
version_script: ./script/tool_runner.sh version-check
|
CHANGE_DESC: "/tmp/change-description.txt"
|
||||||
|
version_script:
|
||||||
|
# For pre-submit, pass the PR description to the script to allow for
|
||||||
|
# version check overrides.
|
||||||
|
# For post-submit, ignore missing version/CHANGELOG detection; the PR
|
||||||
|
# description isn't reliably part of the commit message, so using the
|
||||||
|
# same flags as for presubmit would likely result in false-positive
|
||||||
|
# post-submit failures.
|
||||||
|
- if [[ $CIRRUS_PR == "" ]]; then
|
||||||
|
- ./script/tool_runner.sh version-check
|
||||||
|
- else
|
||||||
|
- echo "$CIRRUS_CHANGE_MESSAGE" > "$CHANGE_DESC"
|
||||||
|
- ./script/tool_runner.sh version-check --check-for-missing-changes --change-description-file="$CHANGE_DESC"
|
||||||
|
- fi
|
||||||
publishable_script: ./script/tool_runner.sh publish-check
|
publishable_script: ./script/tool_runner.sh publish-check
|
||||||
depends_on:
|
depends_on:
|
||||||
- format+analyze
|
- format+analyze
|
||||||
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -28,7 +28,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0 # Fetch all history so the tool can get all the tags to determine version.
|
fetch-depth: 0 # Fetch all history so the tool can get all the tags to determine version.
|
||||||
- name: Set up tools
|
- name: Set up tools
|
||||||
run: dart pub global activate flutter_plugin_tools 0.6.0+1
|
run: dart pub global activate flutter_plugin_tools 0.7.3
|
||||||
|
|
||||||
# # This workflow should be the last to run. So wait for all the other tests to succeed.
|
# # This workflow should be the last to run. So wait for all the other tests to succeed.
|
||||||
- name: Wait on all tests
|
- name: Wait on all tests
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
// Copyright 2013 The Flutter Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
package dev.flutter.packages.animations.example
|
package dev.flutter.packages.animations.example
|
||||||
|
|
||||||
import io.flutter.embedding.android.FlutterActivity
|
import io.flutter.embedding.android.FlutterActivity
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
## NEXT
|
||||||
|
|
||||||
|
- Updates package description.
|
||||||
|
|
||||||
## 1.1.1
|
## 1.1.1
|
||||||
|
|
||||||
- Moved source to flutter/packages
|
- Moved source to flutter/packages
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
name: css_colors
|
name: css_colors
|
||||||
description: Defines constants for the CSS Colors
|
description: Defines constant dart:ui Color objects for CSS colors (for use in Flutter code).
|
||||||
repository: https://github.com/flutter/packages/tree/master/packages/css_colors
|
repository: https://github.com/flutter/packages/tree/master/packages/css_colors
|
||||||
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+css_colors%22
|
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+css_colors%22
|
||||||
version: 1.1.1
|
version: 1.1.1
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
## NEXT
|
||||||
|
|
||||||
|
- Updates package description.
|
||||||
|
|
||||||
## 4.1.0
|
## 4.1.0
|
||||||
|
|
||||||
- Added custom header support.
|
- Added custom header support.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
name: flutter_image
|
name: flutter_image
|
||||||
description: >
|
description: >
|
||||||
Image utilities for Flutter: providers, effects, etc
|
Image utilities for Flutter: improved network providers, effects, etc.
|
||||||
repository: https://github.com/flutter/packages/tree/master/packages/flutter_image
|
repository: https://github.com/flutter/packages/tree/master/packages/flutter_image
|
||||||
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+flutter_image%22
|
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+flutter_image%22
|
||||||
version: 4.1.0
|
version: 4.1.0
|
||||||
|
6
packages/flutter_lints/AUTHORS
Normal file
6
packages/flutter_lints/AUTHORS
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# Below is a list of people and organizations that have contributed
|
||||||
|
# to the Flutter project. Names should be added to the list like so:
|
||||||
|
#
|
||||||
|
# Name/Organization <email address>
|
||||||
|
|
||||||
|
Google Inc.
|
@ -1,3 +1,6 @@
|
|||||||
|
// Copyright 2013 The Flutter Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
package io.flutter.packages.flutter_markdown_example
|
package io.flutter.packages.flutter_markdown_example
|
||||||
|
|
||||||
import io.flutter.embedding.android.FlutterActivity
|
import io.flutter.embedding.android.FlutterActivity
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
## NEXT
|
||||||
|
|
||||||
|
* Updates package description.
|
||||||
|
|
||||||
## 4.0.0
|
## 4.0.0
|
||||||
|
|
||||||
* Move assets common to all app templates to a new `app_shared` directory
|
* Move assets common to all app templates to a new `app_shared` directory
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
name: flutter_template_images
|
name: flutter_template_images
|
||||||
description: Image files for use in flutter_tools templates.
|
description: Image files for use in flutter_tools templates without adding binary files to flutter/flutter.
|
||||||
repository: https://github.com/flutter/packages/tree/master/packages/flutter_template_images
|
repository: https://github.com/flutter/packages/tree/master/packages/flutter_template_images
|
||||||
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+flutter_template_images%22
|
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+flutter_template_images%22
|
||||||
version: 4.0.0
|
version: 4.0.0
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
// Copyright 2013 The Flutter Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
package dev.flutter.imitation_game.smiley
|
package dev.flutter.imitation_game.smiley
|
||||||
|
|
||||||
import androidx.test.platform.app.InstrumentationRegistry
|
import androidx.test.platform.app.InstrumentationRegistry
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
// Copyright 2013 The Flutter Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
package dev.flutter.imitation_game.smiley
|
package dev.flutter.imitation_game.smiley
|
||||||
|
|
||||||
import androidx.appcompat.app.AppCompatActivity
|
import androidx.appcompat.app.AppCompatActivity
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
// Copyright 2013 The Flutter Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
package com.example.smiley
|
package com.example.smiley
|
||||||
|
|
||||||
import io.flutter.embedding.android.FlutterActivity
|
import io.flutter.embedding.android.FlutterActivity
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
## NEXT
|
||||||
|
|
||||||
|
* Updates package description.
|
||||||
|
|
||||||
## 0.3.1
|
## 0.3.1
|
||||||
|
|
||||||
* Close IPv6 sockets on [MDnsClient.stop].
|
* Close IPv6 sockets on [MDnsClient.stop].
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
name: multicast_dns
|
name: multicast_dns
|
||||||
description: Dart package for mDNS queries (e.g. Bonjour, Avahi).
|
description: Dart package for performing mDNS queries (e.g. Bonjour, Avahi).
|
||||||
repository: https://github.com/flutter/packages/tree/master/packages/multicast_dns
|
repository: https://github.com/flutter/packages/tree/master/packages/multicast_dns
|
||||||
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+multicast_dns%22
|
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+multicast_dns%22
|
||||||
version: 0.3.1
|
version: 0.3.1
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
// Copyright 2013 The Flutter Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
package io.flutter.packages.palettegenerator.imagecolors
|
package io.flutter.packages.palettegenerator.imagecolors
|
||||||
|
|
||||||
import io.flutter.embedding.android.FlutterActivity
|
import io.flutter.embedding.android.FlutterActivity
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
// Copyright 2013 The Flutter Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
package com.example.test_objc
|
package com.example.test_objc
|
||||||
|
|
||||||
import androidx.annotation.NonNull;
|
import androidx.annotation.NonNull;
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
// Copyright 2013 The Flutter Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
package com.example.android_unit_tests
|
package com.example.android_unit_tests
|
||||||
|
|
||||||
import io.flutter.embedding.android.FlutterActivity
|
import io.flutter.embedding.android.FlutterActivity
|
||||||
|
6
packages/rfw/AUTHORS
Normal file
6
packages/rfw/AUTHORS
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# Below is a list of people and organizations that have contributed
|
||||||
|
# to the Flutter project. Names should be added to the list like so:
|
||||||
|
#
|
||||||
|
# Name/Organization <email address>
|
||||||
|
|
||||||
|
Google Inc.
|
@ -1,3 +1,6 @@
|
|||||||
|
// Copyright 2013 The Flutter Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
package dev.flutter.rfw.examples.hello
|
package dev.flutter.rfw.examples.hello
|
||||||
|
|
||||||
import io.flutter.embedding.android.FlutterActivity
|
import io.flutter.embedding.android.FlutterActivity
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
// Copyright 2013 The Flutter Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
package dev.flutter.rfw.examples.local
|
package dev.flutter.rfw.examples.local
|
||||||
|
|
||||||
import io.flutter.embedding.android.FlutterActivity
|
import io.flutter.embedding.android.FlutterActivity
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
// Copyright 2013 The Flutter Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
package dev.flutter.rfw.examples.remote
|
package dev.flutter.rfw.examples.remote
|
||||||
|
|
||||||
import io.flutter.embedding.android.FlutterActivity
|
import io.flutter.embedding.android.FlutterActivity
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
// Copyright 2013 The Flutter Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
package dev.flutter.rfw.examples.wasm
|
package dev.flutter.rfw.examples.wasm
|
||||||
|
|
||||||
import io.flutter.embedding.android.FlutterActivity
|
import io.flutter.embedding.android.FlutterActivity
|
||||||
|
@ -9,4 +9,5 @@ REPO_DIR="$(dirname "$SCRIPT_DIR")"
|
|||||||
|
|
||||||
# The tool expects to be run from the repo root.
|
# The tool expects to be run from the repo root.
|
||||||
cd "$REPO_DIR"
|
cd "$REPO_DIR"
|
||||||
dart pub global run flutter_plugin_tools "$@" --packages-for-branch $BUILD_SHARDING
|
dart pub global run flutter_plugin_tools "$@" --packages-for-branch \
|
||||||
|
--log-timing $BUILD_SHARDING
|
||||||
|
Reference in New Issue
Block a user