Michael Thomsen
Michael Thomsen
Good questions! Here's the high-level take: * `pubspec.lock` specifies a resolution of package versions that satisfy the SDK and package constraints in `pubspec.yaml`, and the source code origin (e.g. pub...
And some relevant things we should probably mention: https://pub.dev/packages/package_config, https://pub.dev/packages/pub_semver
cc @lrhn to keep me honest
Not sure; we might have to move things around a bit to fit this in.
I'm a but confused about the term "productive mode". Do you mean "production mode" @polina-c? If so, please update your readme. We have an overview that introduces those terms for...
The instructions for `tools/build.py --help` are irrelevant to the vast majority of Dart developers who do *not* ever build the SDK, or run it's python scripts. Terms like "product mode"...
cc @jmagman @goderbauer
cc @bkonyi @devoncarew @jonasfj
Yes, for `run` maybe we just check that: * both `pubspec.lock` and `.dart_tool/package_config.json` exist on disk * both have time stamps newer than `pubspec.yaml` * the `generatorVersion` tag in matches...
We should probably special cases commands where a `--packages` flag is passed to *not* call `get` in that case (passing the file implies that you already have one).