fuchsia_ctl 0.0.4

fuchsia_ctl #

This package is used by Flutter CI systems to manage paving and testing Fuchsia devices.

It offers some functionality similar to the fx command in the Fuchsia SDK.

It is not intended for general use.

Building #

This tool is meant to be published as an AOT compiled binary distributed via CIPD. To build the AOT binary, run tool/build.sh. This must be done on a Linux machine, and will automatically download a suitable version of Dart to build the AOT bundle and include the dartaotruntime.

To create the CIPD package, make sure that the build/ folder does not contain any files from testing (e.g. a generated .ssh folder from paving or a copy of dev_finder or pm). Then run:

cipd create -in build                   \
  -name flutter/fuchsia_ctl/linux-amd64 \
  -ref stable                           \
  -tag version:n.n.n

with an appropriate version string, after running tool/build.sh.


0.0.4 #

  • Fix issue where tests results were not printing.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  fuchsia_ctl: ^0.0.4

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter pub get

Alternatively, your editor might support pub get or flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:fuchsia_ctl/fuchsia_ctl.dart';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Feb 13, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.1
  • pana: 0.13.5

Health suggestions

Fix lib/src/image_paver.dart. (-1 points)

Analysis of lib/src/image_paver.dart reported 2 hints:

line 104 col 5: Future results in async function bodies must be awaited or marked unawaited using package:pedantic.

line 110 col 5: Future results in async function bodies must be awaited or marked unawaited using package:pedantic.

Fix lib/src/ssh_client.dart. (-0.50 points)

Analysis of lib/src/ssh_client.dart reported 1 hint:

line 67 col 5: Future results in async function bodies must be awaited or marked unawaited using package:pedantic.

Maintenance issues and suggestions

Homepage URL doesn't exist. (-20 points)

At the time of the analysis the homepage field https://github.com/flutter/packags/tree/master/packages/fuchsia_ctl was unreachable.

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and fuchsia_ctl.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Package is pre-v0.1 release. (-10 points)

While nothing is inherently wrong with versions of 0.0.*, it might mean that the author is still experimenting with the general direction of the API.

The description is too long. (-10 points)

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.4.0 <3.0.0
args ^1.5.2 1.5.2
file ^5.0.10 5.1.0
meta ^1.1.7 1.1.8
process ^3.0.12 3.0.12
uuid ^2.0.2 2.0.4
Transitive dependencies
charcode 1.1.3
collection 1.14.12
convert 2.1.1
crypto 2.1.4
intl 0.16.1
path 1.6.4
platform 2.2.1
typed_data 1.1.6
Dev dependencies
mockito ^4.1.1
test ^1.6.9