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

Issue 11474047: Validate that an uploaded package has a LICENSE file. (Closed)

Created:
8 years ago by nweiz
Modified:
8 years ago
Reviewers:
Bob Nystrom
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Validate that an uploaded package has a LICENSE file. BUG=7045 Committed: https://code.google.com/p/dart/source/detail?r=15879

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -2 lines) Patch
M utils/pub/validator.dart View 2 chunks +2 lines, -0 lines 0 comments Download
A utils/pub/validator/license.dart View 1 chunk +28 lines, -0 lines 2 comments Download
M utils/tests/pub/oauth2_test.dart View 1 chunk +6 lines, -1 line 0 comments Download
M utils/tests/pub/pub_lish_test.dart View 1 chunk +6 lines, -1 line 0 comments Download
M utils/tests/pub/validator_test.dart View 4 chunks +42 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
nweiz
8 years ago (2012-12-08 03:18:33 UTC) #1
Bob Nystrom
I think this be a warning, but I'm guessing you disagree. Either way, LGTM. https://codereview.chromium.org/11474047/diff/1/utils/pub/validator/license.dart ...
8 years ago (2012-12-08 03:21:50 UTC) #2
nweiz
8 years ago (2012-12-08 03:24:27 UTC) #3
https://codereview.chromium.org/11474047/diff/1/utils/pub/validator/license.dart
File utils/pub/validator/license.dart (right):

https://codereview.chromium.org/11474047/diff/1/utils/pub/validator/license.d...
utils/pub/validator/license.dart:18: return
listDir(entrypoint.root.dir).transform((files) {
On 2012/12/08 03:21:50, Bob Nystrom wrote:
> Does this do a recursive list?

No, we don't want it picking up files in third_party or whatever.

Powered by Google App Engine
This is Rietveld 408576698