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

Issue 11569046: Add a pub command for managing uploaders for packages. (Closed)

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

Description

Add a pub command for managing uploaders for packages. BUG=7363 Committed: https://code.google.com/p/dart/source/detail?r=16230

Patch Set 1 #

Total comments: 37

Patch Set 2 : Code review changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+370 lines, -196 lines) Patch
M utils/pub/command_lish.dart View 1 5 chunks +19 lines, -62 lines 0 comments Download
A utils/pub/command_uploader.dart View 1 1 chunk +82 lines, -0 lines 0 comments Download
M utils/pub/hosted_source.dart View 1 1 chunk +1 line, -0 lines 0 comments Download
M utils/pub/io.dart View 1 3 chunks +1 line, -78 lines 0 comments Download
M utils/pub/oauth2.dart View 1 3 chunks +16 lines, -1 line 0 comments Download
M utils/pub/pub.dart View 1 2 chunks +3 lines, -0 lines 0 comments Download
M utils/tests/pub/oauth2_test.dart View 1 chunk +30 lines, -0 lines 0 comments Download
M utils/tests/pub/pub_lish_test.dart View 1 chunk +0 lines, -29 lines 0 comments Download
M utils/tests/pub/pub_test.dart View 1 chunk +6 lines, -5 lines 0 comments Download
A utils/tests/pub/pub_uploader_test.dart View 1 1 chunk +186 lines, -0 lines 0 comments Download
M utils/tests/pub/test_pub.dart View 1 3 chunks +26 lines, -21 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
nweiz
I went ahead and added this because it seems likely that we'll be doing a ...
8 years ago (2012-12-15 02:13:26 UTC) #1
Bob Nystrom
https://codereview.chromium.org/11569046/diff/1/utils/pub/command_lish.dart File utils/pub/command_lish.dart (right): https://codereview.chromium.org/11569046/diff/1/utils/pub/command_lish.dart#newcode77 utils/pub/command_lish.dart:77: } else if (url.origin == server.origin) { What is ...
8 years ago (2012-12-17 18:41:58 UTC) #2
nweiz
https://codereview.chromium.org/11569046/diff/1/utils/pub/command_lish.dart File utils/pub/command_lish.dart (right): https://codereview.chromium.org/11569046/diff/1/utils/pub/command_lish.dart#newcode77 utils/pub/command_lish.dart:77: } else if (url.origin == server.origin) { On 2012/12/17 ...
8 years ago (2012-12-17 21:18:48 UTC) #3
Bob Nystrom
LGTM. https://codereview.chromium.org/11569046/diff/1/utils/tests/pub/pub_uploader_test.dart File utils/tests/pub/pub_uploader_test.dart (right): https://codereview.chromium.org/11569046/diff/1/utils/tests/pub/pub_uploader_test.dart#newcode69 utils/tests/pub/pub_uploader_test.dart:69: (request, response) { On 2012/12/17 21:18:48, nweiz wrote: ...
8 years ago (2012-12-17 21:26:58 UTC) #4
Sean Eagan
DBC I think "uploader" suggests there is an "upload" command, why not reuse "publish" and ...
8 years ago (2012-12-18 16:27:29 UTC) #5
nweiz
On 2012/12/18 16:27:29, seaneagan1 wrote: > DBC > > I think "uploader" suggests there is ...
8 years ago (2012-12-18 18:54:42 UTC) #6
Bob Nystrom
8 years ago (2012-12-18 18:59:07 UTC) #7
Message was sent while issue was closed.
On 2012/12/18 18:54:42, nweiz wrote:
> On 2012/12/18 16:27:29, seaneagan1 wrote:
> > DBC
> > 
> > I think "uploader" suggests there is an "upload" command, why not reuse
> > "publish" and do "publisher", i.e.:
> > 
> > pub publisher add mailto:jon@example.com
> > pub lisher add mailto:jon@example.com
> > 
> > or more terse would be separate commands for adding and removing:
> > 
> > pub grant mailto:jon@example.com
> > pub revoke mailto:jon@example.com
> > 
> > On 2012/12/15 02:13:26, nweiz wrote:
> > > I went ahead and added this because it seems likely that we'll be doing a
> > bunch
> > > of uploader munging next week.
> 
> I'm not too worried about being terse, but it does make sense to say
"publisher"
> rather than "uploader".

+1.

Powered by Google App Engine
This is Rietveld 408576698