Fix 'publish' and 'test' failures (#346)

Enabling the new publishing checks was done in a PR that touched at
least one package, so didn't actually run on the whole repo, causing
post-submit breakage.

This fixes the publish errors:
- Corrects a version mismatch in fuchsia_ctl and standardizes the format
  it uses for listing recent versions.
- Removes all pre-release SDK requirements now that null safety is
  stable.
- Fixes a publish warning about the use of 'docs' rather than 'doc' in
  pigeon.

It also fixes the test in error in bsdiff by reverting #342 and fixing
it correctly. That change was completely wrong, but CI didn't catch it
since it wasn't running any tests for third_party/packages/ yet.
This commit is contained in:
stuartmorgan
2021-05-10 15:40:13 -04:00
committed by GitHub
parent 4804697bf2
commit a150e4838d
14 changed files with 17 additions and 30 deletions

View File

@ -6,7 +6,7 @@ publish_to: none
version: 0.0.1
environment:
sdk: ">=2.12.0-259.9.beta <3.0.0"
sdk: ">=2.12.0 <3.0.0"
dependencies:
animations:

View File

@ -4,7 +4,7 @@ version: 2.0.0
homepage: https://github.com/flutter/packages/tree/master/packages/animations
environment:
sdk: '>=2.12.0-259.9.beta <3.0.0'
sdk: '>=2.12.0 <3.0.0'
dependencies:
flutter:

View File

@ -3,7 +3,7 @@ description: Demonstrates how to use the flutter_markdown package.
publish_to: "none"
environment:
sdk: '>=2.12.0-0 <3.0.0'
sdk: '>=2.12.0 <3.0.0'
flutter: ">=1.17.0"
dependencies:

View File

@ -1,20 +1,8 @@
# CHANGELOG
## version:0.0.27
- Flush the content of iosink when writing output to a file.
## version:0.0.26
- Replace amberctl with pkgctl.
## version:0.0.25
- Added log-file option to stream logs to a file.
## 0.0.24
- Flush the content of iosink when writing output to a file.
- Replace amberctl with pkgctl.
- Added log-file option to stream logs to a file.
- Use fuchsia sdk `device-finder` instead of `dev_finder`.
## 0.0.23

View File

@ -4,7 +4,7 @@ description: >
Fuchsia Device. This package is primarily intended for use in Flutter's
continuous integration/testing infrastructure.
homepage: https://github.com/flutter/packages/tree/master/packages/fuchsia_ctl
version: 0.0.23
version: 0.0.24
environment:
sdk: ">=2.4.0 <3.0.0"

View File

@ -10,4 +10,4 @@ dev_dependencies:
test: "^1.16.5"
environment:
sdk: ">=2.12.0-0 <3.0.0"
sdk: ">=2.12.0 <3.0.0"

View File

@ -14,7 +14,7 @@ uses `dart:mirrors` to parse the generated file, creating an
[AST](https://en.wikipedia.org/wiki/Abstract_syntax_tree), then running code
generators with that AST.
![State Diagram](./docs/pigeon_state.png)
![State Diagram](./doc/pigeon_state.png)
## Source Index

View File

Before

Width:  |  Height:  |  Size: 106 KiB

After

Width:  |  Height:  |  Size: 106 KiB

View File

@ -4,7 +4,7 @@ publish_to: 'none'
version: 1.0.0
environment:
sdk: ">=2.12.0-0 <3.0.0"
sdk: ">=2.12.0 <3.0.0"
flutter: ">=1.26.0-0" # For integration_test from sdk
dependencies:

View File

@ -4,7 +4,7 @@ repository: https://github.com/flutter/packages
version: 0.9.0
environment:
sdk: ">=2.12.0-0 <3.0.0"
sdk: ">=2.12.0 <3.0.0"
flutter: ">=1.17.0"
dependencies:

View File

@ -4,7 +4,7 @@ version: 0.2.0
homepage: https://github.com/flutter/packages/tree/master/packages/xdg_directories
environment:
sdk: ">=2.12.0-0 <3.0.0"
sdk: ">=2.12.0 <3.0.0"
dependencies:
meta: ^1.3.0

View File

@ -96,7 +96,7 @@ void _split(List<int> idata, List<int> vdata, int start, int len, int h) {
void _qsufsort(List<int> idata, List<int> vdata, Uint8List olddata) {
final int oldsize = olddata.length;
final List<int> buckets = <int>[256];
final List<int> buckets = List<int>.filled(256, 0);
for (int i = 0; i < 256; i++) {
buckets[i] = 0;
@ -212,8 +212,8 @@ Uint8List bsdiff(List<int> olddata, List<int> newdata) {
final int oldsize = olddata.length;
final int newsize = newdata.length;
final List<int> idata = <int>[oldsize + 1];
_qsufsort(idata, <int>[oldsize + 1], olddata);
final List<int> idata = List<int>.filled(oldsize + 1, 0);
_qsufsort(idata, List<int>.filled(oldsize + 1, 0), olddata);
final Uint8List db = Uint8List(newsize + 1);
final Uint8List eb = Uint8List(newsize + 1);
@ -379,7 +379,7 @@ Uint8List bspatch(List<int> olddata, List<int> diffdata) {
int newpos = 0;
while (newpos < newsize) {
final List<int> ctrl = <int>[3];
final List<int> ctrl = List<int>.filled(3, 0);
for (int i = 0; i <= 2; i++) {
ctrl[i] = cpfdata.getInt64(8 * cpfpos++);
}

View File

@ -1,6 +1,5 @@
name: bsdiff
description: Binary diff/patch algorithm based on bsdiff by Colin Percival.
author: Flutter Team <flutter-dev@googlegroups.com>
homepage: https://github.com/flutter/packages/tree/master/third_party/packages/bsdiff
version: 0.1.0
@ -8,4 +7,4 @@ dev_dependencies:
test: "^1.3.4"
environment:
sdk: ">=2.1.1-dev.2.0 <3.0.0"
sdk: ">=2.1.2 <3.0.0"