Devon Carew
9968728df1
Remove package:cli_util deps from package:analyzer.
...
Change-Id: I6bda63e31b9a8eb3e7ede406bd7e3e5748130ff6
Reviewed-on: https://dart-review.googlesource.com/51362
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Devon Carew <devoncarew@google.com >
2018-04-16 20:26:08 +00:00
Brian Wilkerson
bd6f28f4c7
Make analyzer_cli closer to Dart 2 clean
...
Change-Id: I2f9b9e5bf87b65e871699c16633b1bfcf7605de5
Reviewed-on: https://dart-review.googlesource.com/48061
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
2018-03-23 13:14:07 +00:00
Ross Wang
879431330e
Bumping protobuf version to ^0.7.0
...
Fuchsia is including some dart proto code that expects protobuf 0.7.0.
Change-Id: Ie42a3751a2d3a7e51e759b9913d0901ecefafc70
Reviewed-on: https://dart-review.googlesource.com/40480
Reviewed-by: Zach Anderson <zra@google.com >
Commit-Queue: Zach Anderson <zra@google.com >
2018-02-14 19:28:23 +00:00
Zachary Anderson
74fc14dad7
Update args deps in analysis_server pubspec
...
Change-Id: I10090757fa7b6d776b9ab6948cdaee60ef4129c4
Reviewed-on: https://dart-review.googlesource.com/35802
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Zach Anderson <zra@google.com >
2018-01-18 22:16:44 +00:00
Konstantin Shcheglov
776b7eb9cd
Cache PackageBundle instances in AnalyzerWorkerLoop and reuse for multiple requests.
...
There are many Bazel targets that have huge number of dependencies,
hundreds and thousands of them, and these dependencies are the same
as for other targets. So, we want to keep corresponding PackageBundle
instances, partially decoded, in memory and reuse.
R=brianwilkerson@google.com , paulberry@google.com
BUG=
Review-Url: https://codereview.chromium.org/3006543002 .
2017-08-24 11:32:20 -07:00
Konstantin Shcheglov
1db0b3a29c
Replace typed_mock with mockito in analyzer_cli.
...
R=brianwilkerson@google.com
BUG=
Review-Url: https://codereview.chromium.org/2989583003 .
2017-07-25 09:54:08 -07:00
Devon Carew
d4abd49df7
Add analytics to analyzer-cli and analysis server.
...
BUG=
R=brianwilkerson@google.com , scheglov@google.com , zra@google.com
Review-Url: https://codereview.chromium.org/2963323002 .
2017-07-05 23:29:46 -07:00
pq
ba1a6e39f3
Update to fresh cli_util (0.1.0).
...
BUG=
R=devoncarew@google.com
Review-Url: https://codereview.chromium.org/2894433002 .
2017-05-17 11:04:29 -07:00
Konstantin Shcheglov
ec282eb726
Switch analyzer_cli to 'package:test'.
...
R=brianwilkerson@google.com , paulberry@google.com
BUG=
Review URL: https://codereview.chromium.org/2395183002 .
2016-10-06 10:02:39 -07:00
Konstantin Shcheglov
ac81124b8c
Revert "Use dependency_overrides / analyzer in analysis_server."
...
This reverts commit 72f5463631 .
Yes, we do have bot failures :-(
R=brianwilkerson@google.com , paulberry@google.com
BUG=
Review URL: https://codereview.chromium.org/2298423002 .
2016-08-31 15:01:10 -07:00
Konstantin Shcheglov
72f5463631
Use dependency_overrides / analyzer in analysis_server.
...
RFC
We always do this locally, but until analysis_server is published,
we could just keep this change in repo.
R=brianwilkerson@google.com , paulberry@google.com
BUG=
Review URL: https://codereview.chromium.org/2298973002 .
2016-08-31 14:44:09 -07:00
Kevin Moore
17a2ddfd42
Update dependency on pkg/package_compiler
...
For analysis_server, analyzer, analyzer_cli, compiler packages
Progress on https://github.com/dart-lang/sdk/issues/26711
R=brianwilkerson@google.com
Review URL: https://codereview.chromium.org/2172683002 .
2016-07-27 08:42:05 -07:00
Konstantin Shcheglov
6682e74526
Use package_config 0.1.5 in analyzer_cli to get performance improvements.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org/2055363002 .
2016-06-10 13:30:05 -07:00
pq
40b03d2261
Server and CLI pubspec updates [TBR].
...
Should address version constraint issues introduced by dep on new plugin API.
BUG=
Review URL: https://codereview.chromium.org/1972193002 .
2016-05-12 06:21:46 -07:00
Brian Wilkerson
d87f9c09de
Update to use the latest version of the plugin package
...
R=pquitslund@google.com
Review URL: https://codereview.chromium.org/1965083002 .
2016-05-11 09:54:29 -07:00
Jacob MacDonald
d2e2241fc1
update to use bazel_worker package
...
BUG=
R=paulberry@google.com
Review URL: https://codereview.chromium.org/1885073002 .
2016-04-14 07:46:33 -07:00
Jacob MacDonald
92419d092b
Update worker mode to use the bazel protos directly instead of json
...
BUG=
R=paulberry@google.com
Review URL: https://codereview.chromium.org/1868663002 .
2016-04-06 13:49:32 -07:00
Konstantin Shcheglov
686b30e4cb
Initial hermetic package analyzer.
...
When --package-mode is specified, this turns ON the single package
analysis mode. My initial idea was to accept a single path - the root
folder of the package and analyze the package completely as Dart
Analysis Server does. But later I decided to accept a list of files
to analyze, at least for now.
We still need the --package-mode-path option with the path to the root
folder of the package because we need to know which libraries are in
the 'lib' folder and write these libraries into the output summary.
The option --package-name is used to write the same URIs into
summary as the clients are going to use to refer the package
libraries, and also as the package references itself.
Multiple --package-summary-input=pkg,summary options can be specified,
one for each package. Every referenced package (except itself) must
be listed.
If --package-summary-output is specified, the output summary of
the package is written to the specified file. It is up to the client
to specify the correct X.spec.sum or X.strong.sum names.
R=brianwilkerson@google.com , paulberry@google.com
BUG=
Review URL: https://codereview.chromium.org/1720963003 .
2016-02-22 17:19:27 -08:00
pq
63f24be16c
Update server/cli linter pubspec deps.
...
* bumps lower-bound to grab a `0.27.0`-compatible linter.
BUG=
R=brianwilkerson@google.com
Review URL: https://codereview.chromium.org/1520973002 .
2015-12-11 10:51:50 -08:00
pq
8d613feaf9
Migrate mockito mocks to typed_mock ( #24994 ).
...
BUG=24994
R=brianwilkerson@google.com , scheglov@google.com
Review URL: https://codereview.chromium.org/1462393002 .
2015-11-20 13:57:56 -08:00
pq
9ae1265ff5
analyzer_cli move to SDK.
...
Tracking bug: https://github.com/dart-lang/sdk/issues/24731
Note, dartium build changes are in a separate CL: https://codereview.chromium.org/1453413006/
Some tests had to be disabled for want of mockito in the SDK; tracking their reimplementation is here: https://github.com/dart-lang/sdk/issues/24994
BUG=24731
R=whesse@google.com
Review URL: https://codereview.chromium.org/1459683003 .
2015-11-19 14:52:54 -08:00
pq
5cc9a288bb
Revert "Move analyzer_cli into the SDK."
...
This reverts commit a573ed31f1 .
BUG=
R=whesse@google.com
Review URL: https://codereview.chromium.org/1462143002 .
2015-11-19 11:28:52 -08:00
pq
a573ed31f1
Move analyzer_cli into the SDK.
...
Build changes to follow.
Tracking bug: https://github.com/dart-lang/sdk/issues/24731
BUG=24731
R=brianwilkerson@google.com
Review URL: https://codereview.chromium.org/1464553003 .
2015-11-19 11:11:17 -08:00