Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(134)

Issue 180970043: code review 180970043: google-api-go-client: Step 1 of supporting resuma...

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 1 month ago by gmlewis1
Modified:
11 years ago
Reviewers:
CC:
bradfitz, jbd, golang-codereviews
Visibility:
Public.

Description

google-api-go-client: Step 1 of supporting resumable uploads. This creates the infrastructure needed to support resumable uploads. The next step is to modify the generator and the APIs to enable users to choose resumable uploads.

Patch Set 1 #

Patch Set 2 : diff -r 6ddfebb10ece https://code.google.com/p/google-api-go-client #

Patch Set 3 : diff -r 6ddfebb10ece https://code.google.com/p/google-api-go-client #

Patch Set 4 : diff -r 6ddfebb10ece https://code.google.com/p/google-api-go-client #

Total comments: 20

Patch Set 5 : diff -r 6ddfebb10ece https://code.google.com/p/google-api-go-client #

Patch Set 6 : diff -r 6ddfebb10ece https://code.google.com/p/google-api-go-client #

Patch Set 7 : diff -r 6ddfebb10ece https://code.google.com/p/google-api-go-client #

Patch Set 8 : diff -r 6ddfebb10ece https://code.google.com/p/google-api-go-client #

Patch Set 9 : diff -r 6ddfebb10ece https://code.google.com/p/google-api-go-client #

Patch Set 10 : diff -r 6ddfebb10ece https://code.google.com/p/google-api-go-client #

Total comments: 22

Patch Set 11 : diff -r 6ddfebb10ece https://code.google.com/p/google-api-go-client #

Patch Set 12 : diff -r 6ddfebb10ece https://code.google.com/p/google-api-go-client #

Total comments: 12

Patch Set 13 : diff -r 6ddfebb10ece https://code.google.com/p/google-api-go-client #

Unified diffs Side-by-side diffs Delta from patch set Stats (+345 lines, -2 lines) Patch
M googleapi/googleapi.go View 4 chunks +146 lines, -2 lines 0 comments Download
M googleapi/googleapi_test.go View 2 chunks +199 lines, -0 lines 0 comments Download

Messages

Total messages: 22
gmlewis1
Hello bradfitz@golang.org (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/google-api-go-client
11 years, 1 month ago (2014-11-20 05:43:03 UTC) #1
bradfitz
https://codereview.appspot.com/180970043/diff/60001/googleapi/googleapi.go File googleapi/googleapi.go (right): https://codereview.appspot.com/180970043/diff/60001/googleapi/googleapi.go#newcode281 googleapi/googleapi.go:281: // ResumableUpload is an interface used to provide resumable ...
11 years, 1 month ago (2014-11-20 22:08:08 UTC) #2
gmlewis1
Thank you, Brad! PTAL. https://codereview.appspot.com/180970043/diff/60001/googleapi/googleapi.go File googleapi/googleapi.go (right): https://codereview.appspot.com/180970043/diff/60001/googleapi/googleapi.go#newcode281 googleapi/googleapi.go:281: // ResumableUpload is an interface ...
11 years, 1 month ago (2014-11-20 22:54:53 UTC) #3
gmlewis1
> On 2014/11/20 22:08:08, bradfitz wrote: > > This also seems like a knob people ...
11 years, 1 month ago (2014-11-20 23:31:46 UTC) #4
bradfitz
Can you point me at some documentation for all this? What is it for? What ...
11 years, 1 month ago (2014-11-20 23:35:18 UTC) #5
gmlewis1
There is no documentation for this yet, but I'm implementing this so that the Google ...
11 years, 1 month ago (2014-11-20 23:45:24 UTC) #6
bradfitz
Here's the API I'd like to see: resp, err := rawService(ctx).Objects.Insert(bucket, object).Media(myReader).Do() That's it. or ...
11 years, 1 month ago (2014-11-21 00:25:31 UTC) #7
gmlewis1
On 2014/11/21 00:25:31, bradfitz wrote: > Here's the API I'd like to see: > > ...
11 years, 1 month ago (2014-11-21 06:03:14 UTC) #8
bradfitz
https://codereview.appspot.com/180970043/diff/180001/googleapi/googleapi.go File googleapi/googleapi.go (right): https://codereview.appspot.com/180970043/diff/180001/googleapi/googleapi.go#newcode285 googleapi/googleapi.go:285: Client *http.Client if we don't expect to deal with ...
11 years, 1 month ago (2014-11-21 19:30:10 UTC) #9
bradfitz
http://godoc.org/code.google.com/p/google-api-go-client/storage/v1beta2#ObjectsInsertCall.Media currently takes a Reader, not a ReadSeeker... we should probably keep that, so the ...
11 years, 1 month ago (2014-11-21 19:44:17 UTC) #10
gmlewis1
I'm replying to a subset of your comments... and will work on moving this to ...
11 years, 1 month ago (2014-11-21 20:02:46 UTC) #11
bradfitz
I think buffering is fine. The buffering would be bounded at the size of a ...
11 years, 1 month ago (2014-11-21 21:04:34 UTC) #12
gmlewis1
On 2014/11/21 21:04:34, bradfitz wrote: > I think buffering is fine. The buffering would be ...
11 years, 1 month ago (2014-11-22 01:45:59 UTC) #13
gmlewis1
Reading through the docs for "internal" packages here: http://tip.golang.org/doc/go1.4#internalpackages it looks like placing this code ...
11 years, 1 month ago (2014-12-02 19:43:24 UTC) #14
gmlewis1
I believe I have addressed all your comments and implemented the buffering (but could not ...
11 years, 1 month ago (2014-12-02 23:39:28 UTC) #15
bradfitz
https://codereview.appspot.com/180970043/diff/220001/googleapi/googleapi.go File googleapi/googleapi.go (right): https://codereview.appspot.com/180970043/diff/220001/googleapi/googleapi.go#newcode288 googleapi/googleapi.go:288: // It is not used by developers directly. If ...
11 years, 1 month ago (2014-12-04 18:58:35 UTC) #16
gmlewis1
https://codereview.appspot.com/180970043/diff/220001/googleapi/googleapi.go File googleapi/googleapi.go (right): https://codereview.appspot.com/180970043/diff/220001/googleapi/googleapi.go#newcode288 googleapi/googleapi.go:288: // It is not used by developers directly. On ...
11 years, 1 month ago (2014-12-09 23:06:29 UTC) #17
bradfitz
Today we (with much pain) moved this project from hg to git. It now lives ...
11 years, 1 month ago (2014-12-10 06:05:14 UTC) #18
jbd
+proppy As far as I remember, you were considering a vanity import path for this ...
11 years, 1 month ago (2014-12-10 20:05:39 UTC) #19
bradfitz
Yup. We started to do it yesterday but ran out of time. It's on our ...
11 years, 1 month ago (2014-12-10 20:08:05 UTC) #20
bradfitz
It is now done. On Thu, Dec 11, 2014 at 7:08 AM, Brad Fitzpatrick <bradfitz@golang.org> ...
11 years, 1 month ago (2014-12-11 01:13:16 UTC) #21
gobot
11 years ago (2014-12-19 05:17:07 UTC) #22
R=close

To the author of this CL:

The Go project has moved to Gerrit Code Review.

If this CL should be continued, please see the latest version of
https://golang.org/doc/contribute.html for instructions on
how to set up Git and the Go project's Gerrit codereview plugin,
and then create a new change with your current code.

If there has been discussion on this CL, please give a link to it
(golang.org/cl/180970043 is best) in the description in your
new CL.

Thanks very much.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b