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

Issue 322910043: Support user project in tasks (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
6 years, 12 months ago by markhjelm
Modified:
6 years, 12 months ago
Reviewers:
houglum, thobrla
CC:
andrealin, gsutil-crs_google.com
Visibility:
Public.

Description

Support user project in tasks. Ensure user project is propagated to nested gsutil_api instances.

Patch Set 1 #

Total comments: 4

Patch Set 2 : Support user project in tasks #

Total comments: 1

Patch Set 3 : Support user project in tasks #

Patch Set 4 : Support user project in tasks #

Patch Set 5 : Support user project in tasks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -15 lines) Patch
M gslib/cloud_api_helper.py View 1 2 1 chunk +14 lines, -4 lines 0 comments Download
M gslib/command.py View 1 2 3 4 12 chunks +13 lines, -9 lines 0 comments Download
M gslib/copy_helper.py View 3 chunks +5 lines, -2 lines 0 comments Download
M gslib/tests/test_parallelism_framework.py View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 14
markhjelm
Ensures user project is propagated to nested gsutil_api instances via Task object.
6 years, 12 months ago (2017-04-24 17:27:09 UTC) #1
thobrla
https://codereview.appspot.com/322910043/diff/1/gslib/cloud_api_helper.py File gslib/cloud_api_helper.py (right): https://codereview.appspot.com/322910043/diff/1/gslib/cloud_api_helper.py#newcode56 gslib/cloud_api_helper.py:56: user_project: Project to be billed to, added as query ...
6 years, 12 months ago (2017-04-24 19:01:39 UTC) #2
markhjelm
On 2017/04/24 19:01:39, thobrla wrote: > https://codereview.appspot.com/322910043/diff/1/gslib/cloud_api_helper.py > File gslib/cloud_api_helper.py (right): > > https://codereview.appspot.com/322910043/diff/1/gslib/cloud_api_helper.py#newcode56 > ...
6 years, 12 months ago (2017-04-24 19:45:31 UTC) #3
houglum
https://codereview.appspot.com/322910043/diff/20001/gslib/cloud_api_helper.py File gslib/cloud_api_helper.py (right): https://codereview.appspot.com/322910043/diff/20001/gslib/cloud_api_helper.py#newcode68 gslib/cloud_api_helper.py:68: url += '&userProject=%s' % user_project Can we always be ...
6 years, 12 months ago (2017-04-24 20:19:14 UTC) #4
thobrla
https://codereview.appspot.com/322910043/diff/1/gslib/command.py File gslib/command.py (right): https://codereview.appspot.com/322910043/diff/1/gslib/command.py#newcode2108 gslib/command.py:2108: if self.thread_gsutil_api: On 2017/04/24 19:01:39, thobrla wrote: > Changing ...
6 years, 12 months ago (2017-04-24 20:54:53 UTC) #5
markhjelm
> If for EAP we don't support mixed-mode and the user must know ahead of ...
6 years, 12 months ago (2017-04-24 21:57:13 UTC) #6
markhjelm
On 2017/04/24 20:19:14, houglum wrote: > https://codereview.appspot.com/322910043/diff/20001/gslib/cloud_api_helper.py > File gslib/cloud_api_helper.py (right): > > https://codereview.appspot.com/322910043/diff/20001/gslib/cloud_api_helper.py#newcode68 > ...
6 years, 12 months ago (2017-04-24 22:03:50 UTC) #7
thobrla
Do you need to pass the argument to the ConsumerPool creation at https://github.com/GoogleCloudPlatform/gsutil/blob/master/gslib/command.py#L1233 ? If ...
6 years, 12 months ago (2017-04-24 22:08:15 UTC) #8
markhjelm
I found the minimal, non-invasive version of the fix to command.py. Please take a look.
6 years, 12 months ago (2017-04-26 17:43:19 UTC) #9
thobrla
LGTM
6 years, 12 months ago (2017-04-26 17:53:10 UTC) #10
markhjelm
Matt, any concerns? FYI, I looked at using urlparse, but it seemed unwieldy at best. ...
6 years, 12 months ago (2017-04-26 18:07:03 UTC) #11
markhjelm
Comments copied from https://codereview.appspot.com/316480043: > https://codereview.appspot.com/316480043/diff/60001/gslib/addlhelp/command_op... > File gslib/addlhelp/command_opts.py (right): > > https://codereview.appspot.com/316480043/diff/60001/gslib/addlhelp/command_op... > gslib/addlhelp/command_opts.py:123: ...
6 years, 12 months ago (2017-04-26 20:28:16 UTC) #12
houglum
LGTM
6 years, 12 months ago (2017-04-26 21:42:54 UTC) #13
markhjelm
6 years, 12 months ago (2017-04-26 21:50:23 UTC) #14
Pushed to origin/requester_pays.
Closing...
Sign in to reply to this message.

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