[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:
stuartmorgan
2021-12-02 15:01:20 -05:00
committed by GitHub
parent 62c9db672b
commit f850e38672
28 changed files with 88 additions and 10 deletions

View File

@ -4,4 +4,4 @@
# found in the LICENSE file.
dart pub global run flutter_plugin_tools build-examples --windows \
--packages-for-branch
--packages-for-branch --log-timing

View File

@ -4,4 +4,4 @@
# found in the LICENSE file.
dart pub global run flutter_plugin_tools native-test --windows \
--no-integration --packages-for-branch
--no-integration --packages-for-branch --log-timing

View File

@ -8,4 +8,4 @@ git fetch origin master
# Pinned version of the plugin tools, to avoid breakage in this repository
# 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

View File

@ -45,7 +45,20 @@ task:
# TODO(stuartmorgan): Remove once the fix for https://github.com/dart-lang/pub/issues/3152
# rolls into Flutter master.
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
depends_on:
- format+analyze

View File

@ -28,7 +28,7 @@ jobs:
with:
fetch-depth: 0 # Fetch all history so the tool can get all the tags to determine version.
- 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.
- name: Wait on all tests

View File

@ -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
import io.flutter.embedding.android.FlutterActivity

View File

@ -1,3 +1,7 @@
## NEXT
- Updates package description.
## 1.1.1
- Moved source to flutter/packages

View File

@ -1,5 +1,5 @@
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
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+css_colors%22
version: 1.1.1

View File

@ -1,3 +1,7 @@
## NEXT
- Updates package description.
## 4.1.0
- Added custom header support.

View File

@ -1,6 +1,6 @@
name: flutter_image
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
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+flutter_image%22
version: 4.1.0

View 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.

View File

@ -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
import io.flutter.embedding.android.FlutterActivity

View File

@ -1,3 +1,7 @@
## NEXT
* Updates package description.
## 4.0.0
* Move assets common to all app templates to a new `app_shared` directory

View File

@ -1,5 +1,5 @@
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
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

View File

@ -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
import androidx.test.platform.app.InstrumentationRegistry

View File

@ -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
import androidx.appcompat.app.AppCompatActivity

View File

@ -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
import io.flutter.embedding.android.FlutterActivity

View File

@ -1,3 +1,7 @@
## NEXT
* Updates package description.
## 0.3.1
* Close IPv6 sockets on [MDnsClient.stop].

View File

@ -1,5 +1,5 @@
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
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+multicast_dns%22
version: 0.3.1

View File

@ -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
import io.flutter.embedding.android.FlutterActivity

View File

@ -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
import androidx.annotation.NonNull;

View File

@ -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
import io.flutter.embedding.android.FlutterActivity

6
packages/rfw/AUTHORS Normal file
View 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.

View File

@ -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
import io.flutter.embedding.android.FlutterActivity

View File

@ -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
import io.flutter.embedding.android.FlutterActivity

View File

@ -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
import io.flutter.embedding.android.FlutterActivity

View File

@ -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
import io.flutter.embedding.android.FlutterActivity

View File

@ -9,4 +9,5 @@ REPO_DIR="$(dirname "$SCRIPT_DIR")"
# The tool expects to be run from the repo root.
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