- Feb 01, 2019
-
-
Kevin Moore authored
-
Kevin Moore authored
-
- Jan 25, 2019
-
-
Sigurd Meldgaard authored
Adds a changelog validator that checks if the current version is mentioned.
-
- Jan 03, 2019
-
-
Kathy Walrath authored
Fixes #2001
-
Andrew Brogdon authored
-
Andrew Brogdon authored
-
Jonas Finnemann Jensen authored
This was rather consistently broken on travis. Probably because we were not setting up the request handler in `authorizePub` before we called the `redirect_uri`. Additionally, we never waited for the request to `'/api/packages/versions/new'` to actually happen.
-
Jonas Finnemann Jensen authored
-
- Dec 18, 2018
-
-
Andrew Brogdon authored
-
Andrew Brogdon authored
-
Andrew Brogdon authored
-
- Dec 17, 2018
-
-
Andrew Brogdon authored
-
- Oct 26, 2018
-
-
Kevin Moore authored
-
Kevin Moore authored
-
Kevin Moore authored
-
- Aug 17, 2018
-
-
Nate Bosch authored
Also add `publish_to: none` to document that this package will not be published on pub, and consistently skip quotes for version strings which don't need quotes.
-
- Aug 16, 2018
-
-
Nate Bosch authored
If the environment variable does not have a scheme it will produce a confusing error like `Bad state: Cannot use origin without a scheme`. - Add a `ConfigException` to correspond to the config exit code. - Change some non-reference usages of `[]` to backticks. - Stop setting a default of the `server` option since it depends on user config and could be incorrect. We never read the default value anyway and now access of that field can throw and this would throw before proper exception handling is set up. - Attempt to parse the scheme when we read `PUB_HOSTED_URL` and throw a more actionable exception when it is missing. - Update tests hardcoding the usage string.
-
Nate Bosch authored
According to the comment at `lib/src/validator.dart` lines 70-73 this behavior was intended to change when the stable SDK was released, so update the tests.
-
- Aug 08, 2018
-
-
Nate Bosch authored
Keep the old flag as an alias, run with checked mode if either is set. Behavior will be weird for cases like `--checked --no-enable-asserts` but it's not worth the extra complexity to track that down. Update tests using the flag. Use consistent single quotes in the files that were being edited anyway.
-
Nate Bosch authored
-
- Aug 07, 2018
-
-
Nate Bosch authored
Enable the `unnecessary_new` lint to prevent regressions.
-
- Aug 06, 2018
-
-
Nate Bosch authored
Enabled a bunch of lints which are (hopefully) not controversial and fix existing violations. Most of the fixes are pretty mechanical.
-
Nate Bosch authored
Closes #1952
-
- Aug 03, 2018
-
-
Nate Bosch authored
Towards #1952 Drops support for the flag and updates tests that were depending on it or referring to it, but does not remove the supporting code. That will be done in a followup. - Parse but ignore the flag and warn when it is used. - Drop tests specifically for the packages dir behavior. - Remove unnecessary references to the flag. - Drop utility test code and constants for the packages dir. - Wherever possible replace checks for content within the packages dir with checks for content in the package spec, and sometimes cache. - When working with git shas which are unpredictable and have an ugly format in the package spec check instead for lines that contain the sha, or which have a package spec which either specificially did or did not change after an upgrade.
-
- Jul 30, 2018
-
-
Nate Bosch authored
This library only exists to be an "entrypoint" in `lib/` rather than `lib/src/` and allow all other files to get rolled up into a single module. We don't publish this package anyway, but an `import` is more in line with our intentions here than `export`. See discussion in https://github.com/dart-lang/pub/pull/1955
-
Nate Bosch authored
Fixes #1951 Continues to allow _creating_ packages directories for now, but if they exist and aren't being created they won't be touched.
-
- Jul 27, 2018
-
-
Nate Bosch authored
Testing from kernel files saves time over testing from source. This does not switch Travis to test this way yet, but adds the deps to make it easier to use locally. Add a non-src lib file so get better behavior out of the coarse module strategy. Without this file every library ends up becoming it's own module.
-
- Jul 26, 2018
-
-
Kevin Moore authored
-
- Jul 10, 2018
-
-
Kevin Moore authored
-
- Jul 09, 2018
-
-
David Cao authored
In the simple error reporting example, root depends on baz ^1.0.0, not baz ^3.0.0
-
- Jun 26, 2018
-
-
Bob Nystrom authored
* Look for the new snapshot error message from the Dart 2 VM. * Reformat.
-
- Jun 22, 2018
-
-
Bob Nystrom authored
* Move pub fully onto Dart 2 and off Dart 1. - Have the tests run pub in Dart 2 mode. This unfortunately makes them much slower when running from source, but creating a pub snapshot helps. - Only generate Dart 2 snapshots when precompiling. - Remove tests around Dart 1 snapshots. - Remove test utility code for running pub in Dart 1 mode. - Change pub [global] run [un]checked mode tests to use assert(). The tests around outdated snapshots are failing because the old code for detecting a bad snapshot version error does not seem to work in the Dart 2 VM. I have an email thread going for that, but I wanted to send this out in the meantime. * Fix pub SDK snapshot extension.
-
- Jun 20, 2018
-
-
Bob Nystrom authored
* Fix pub now that the VM no longer supports "--preview-dart-2". Pub fails to create snapshots on install because it's passing a flag the VM no longer recognizes. This fixes that. Also fixed a couple of runtime cast errors in a test. * Create Dart 1 snapshot in Dart 1 mode.
-
- Jun 19, 2018
-
-
Kevin Moore authored
-
Kevin Moore authored
-
- Jun 13, 2018
-
-
Konstantin Scheglov authored
Call p.normalize() after p.absolute().
-
Konstantin Shcheglov authored
-
- Jun 12, 2018
-
-
Nate Bosch authored
Fixes #1917
-
- Jun 06, 2018
-
-
Konstantin Scheglov authored
Add AnalysisContextManager and create an analysis context per package. Use public apis to parse to AST and find imports.
-
- May 29, 2018
-
-
Nate Bosch authored
Closes https://github.com/dart-lang/sdk/issues/33256 The details of variable expansion when setting the PATH variable are a little hard to follow. `"$HOME"` should work in more places than `"~"`
-