Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(245)

Issue 12433014: Dev dependencies. (Closed)

Created:
7 years, 9 months ago by Bob Nystrom
Modified:
7 years, 9 months ago
Reviewers:
nweiz
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Dev dependencies. BUG=dartbug.com/5358 Committed: https://code.google.com/p/dart/source/detail?r=19966

Patch Set 1 #

Patch Set 2 : Updated after discussing. #

Total comments: 2

Patch Set 3 : List all colliding package names. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+406 lines, -141 lines) Patch
M utils/pub/pubspec.dart View 1 2 4 chunks +44 lines, -3 lines 0 comments Download
M utils/pub/sdk_source.dart View 1 chunk +1 line, -1 line 0 comments Download
M utils/pub/version_solver.dart View 2 chunks +10 lines, -2 lines 0 comments Download
A utils/tests/pub/dev_dependency_test.dart View 1 1 chunk +116 lines, -0 lines 0 comments Download
M utils/tests/pub/pubspec_test.dart View 1 1 chunk +126 lines, -94 lines 0 comments Download
M utils/tests/pub/test_pub.dart View 1 2 chunks +3 lines, -2 lines 0 comments Download
M utils/tests/pub/version_solver_test.dart View 7 chunks +106 lines, -39 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Bob Nystrom
I had a hunch this would be easy to implement so I figured I'd take ...
7 years, 9 months ago (2013-03-06 22:03:15 UTC) #1
nweiz
Code changes LGTM. Let's talk about the design in-person.
7 years, 9 months ago (2013-03-06 22:26:25 UTC) #2
kevmoo-old
> Before this goes in, we should discuss whether or not this is the actual ...
7 years, 9 months ago (2013-03-07 00:30:39 UTC) #3
kevmoo-old
Does this lead to a dart_analyzer feature request? Something like --exclude-dev-dependencies pubspec.yaml So analyzer would ...
7 years, 9 months ago (2013-03-07 00:38:53 UTC) #4
Bob Nystrom
On 2013/03/07 00:30:39, kevmoo wrote: > Pub special-cases a specific directory: lib. > > In ...
7 years, 9 months ago (2013-03-13 18:28:39 UTC) #5
Bob Nystrom
On 2013/03/07 00:38:53, kevmoo wrote: > Does this lead to a dart_analyzer feature request? > ...
7 years, 9 months ago (2013-03-13 18:30:58 UTC) #6
Bob Nystrom
As per our discussion: * Make it fail if you have a package collision between ...
7 years, 9 months ago (2013-03-13 18:31:42 UTC) #7
nweiz
One suggestion, otherwise LGTM. https://codereview.chromium.org/12433014/diff/3001/utils/pub/pubspec.dart File utils/pub/pubspec.dart (right): https://codereview.chromium.org/12433014/diff/3001/utils/pub/pubspec.dart#newcode124 utils/pub/pubspec.dart:124: 'and "dev_dependencies".'); Let's list all ...
7 years, 9 months ago (2013-03-13 18:46:29 UTC) #8
Bob Nystrom
Committed patchset #3 manually as r19966 (presubmit successful).
7 years, 9 months ago (2013-03-13 19:40:40 UTC) #9
Bob Nystrom
Thanks!
7 years, 9 months ago (2013-03-13 19:42:25 UTC) #10
Bob Nystrom
7 years, 9 months ago (2013-03-13 19:42:44 UTC) #11
Message was sent while issue was closed.
https://codereview.chromium.org/12433014/diff/3001/utils/pub/pubspec.dart
File utils/pub/pubspec.dart (right):

https://codereview.chromium.org/12433014/diff/3001/utils/pub/pubspec.dart#new...
utils/pub/pubspec.dart:124: 'and "dev_dependencies".');
On 2013/03/13 18:46:29, nweiz wrote:
> Let's list all the collisions so users don't have to run commands over and
over
> again.

Done.

Powered by Google App Engine
This is Rietveld 408576698