Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not use pub.dart.snapshot #1394

Merged
merged 5 commits into from
Aug 28, 2021

Conversation

annagrin
Copy link
Contributor

  • pub.dart.shapshot was removed starting from 2.15.0-49.0.dev
  • replace it by dartdev.dart.snapshot pub in webdev and tests
    • all versions 2.13.0 and higher contain this snapshot so
      no need to check for sdk version as it is guaranteed to be
      2.13.0 or higher by our min sdk constraints.

SDK commit: dart-lang/sdk@ae81cd5

- pub.dart.shapshot was removed since 2.15.0-49.0.dev
- replace it by `dartdev.dart.snapshot pub` in webdev and tests
  - all versions 2.13.0 and higher contain this snapshot so
    no need to check for version as it is guaranteed to be
    2.13.0 oe higher by our min sdk constraints.
Anna Gringauze added 2 commits August 26, 2021 17:10
Usage: pub <command> [arguments]

Global options:
-h, --help               Print this usage information.
    --version            Print pub version.
    --[no-]trace         Print debugging information when an error occurs.
    --verbosity          Control output verbosity.

          [all]          Show all output including internal tracing messages.
          [error]        Show only errors.
          [io]           Also show IO operations.
          [normal]       Show errors, warnings, and user messages.
          [solver]       Show steps during version resolution.
          [warning]      Show only errors and warnings.

-v, --verbose            Shortcut for "--verbosity=all".
-C, --directory=<dir>    Run the subcommand in the directory<dir>.
                         (defaults to ".")

Available commands:
  add         Add a dependency to pubspec.yaml.
  cache       Work with the system cache.
  deps        Print package dependencies.
  downgrade   Downgrade the current package's dependencies to oldest versions.
  get         Get the current package's dependencies.
  global      Work with global packages.
  login       Log into pub.dev.
  logout      Log out of pub.dev.
  outdated    Analyze your dependencies to find which ones can be upgraded.
  publish     Publish the current package to pub.dartlang.org.
  remove      Removes a dependency from the current package.
  run         Run an executable from a package.
  upgrade     Upgrade the current package's dependencies to latest versions.
  uploader    Manage uploaders for a package on pub.dartlang.org.
  version     Print pub version.

Run "pub help <command>" for more information about a command.
See https://dart.dev/tools/pub/cmd for detailed documentation. or pub.dart.snapshot
@annagrin annagrin merged commit 487155d into dart-lang:master Aug 28, 2021
@kevmoo
Copy link
Member

kevmoo commented Sep 13, 2021

Can we get a version of webdev published with this fix, too?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants