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

Issue 18999006: Added a uploadsdk python script. (Closed)

Created:
7 years, 5 months ago by janicejl
Modified:
7 years, 5 months ago
CC:
ricow1
Visibility:
Public.

Description

Added a uploadsdk python script. removed docs/ prefix in library_list.txt R=efortuna@google.com Committed: https://code.google.com/p/dart/source/detail?r=24932

Patch Set 1 #

Patch Set 2 : #

Total comments: 17

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 8

Patch Set 7 : #

Total comments: 1

Patch Set 8 : #

Total comments: 4

Patch Set 9 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -1 line) Patch
A pkg/docgen/bin/upload_docgen.py View 1 2 3 4 5 6 7 8 1 chunk +80 lines, -0 lines 0 comments Download
M pkg/docgen/lib/docgen.dart View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
janicejl
Removed the docs/ previous on all the files when outputting file names in library_list.txt Python ...
7 years, 5 months ago (2013-07-10 20:53:29 UTC) #1
Emily Fortuna
Can we simply generalize the editor script or the tools/upload_sdk.py script to upload to a ...
7 years, 5 months ago (2013-07-10 21:23:32 UTC) #2
janicejl
I tried modifying the upload_sdk.py in tools but it can't seem to find GSUTIL the ...
7 years, 5 months ago (2013-07-11 00:02:08 UTC) #3
Andrei Mouravski
On 2013/07/11 00:02:08, janicejl wrote: > I tried modifying the upload_sdk.py in tools but it ...
7 years, 5 months ago (2013-07-11 18:08:54 UTC) #4
Emily Fortuna
Very nice, Janice! Just a few adjustments. https://codereview.chromium.org/18999006/diff/19001/pkg/docgen/bin/uploadsdk.py File pkg/docgen/bin/uploadsdk.py (right): https://codereview.chromium.org/18999006/diff/19001/pkg/docgen/bin/uploadsdk.py#newcode1 pkg/docgen/bin/uploadsdk.py:1: #!/usr/bin/python nit: ...
7 years, 5 months ago (2013-07-11 18:40:37 UTC) #5
janicejl
Removed the files being created by the script. https://codereview.chromium.org/18999006/diff/19001/pkg/docgen/bin/uploadsdk.py File pkg/docgen/bin/uploadsdk.py (right): https://codereview.chromium.org/18999006/diff/19001/pkg/docgen/bin/uploadsdk.py#newcode1 pkg/docgen/bin/uploadsdk.py:1: #!/usr/bin/python ...
7 years, 5 months ago (2013-07-11 20:44:28 UTC) #6
Emily Fortuna
just one question, then lgtm https://codereview.chromium.org/18999006/diff/5629499534213120/pkg/docgen/bin/upload_docgen.py File pkg/docgen/bin/upload_docgen.py (right): https://codereview.chromium.org/18999006/diff/5629499534213120/pkg/docgen/bin/upload_docgen.py#newcode54 pkg/docgen/bin/upload_docgen.py:54: Upload('./docs/*', GS_SITE + '/' ...
7 years, 5 months ago (2013-07-11 20:47:32 UTC) #7
janicejl
PTAL. Changed quite a few of the file paths to make them relative to the ...
7 years, 5 months ago (2013-07-11 21:45:49 UTC) #8
Emily Fortuna
looks good. just small adjustments https://codereview.chromium.org/18999006/diff/26001/pkg/docgen/bin/upload_docgen.py File pkg/docgen/bin/upload_docgen.py (right): https://codereview.chromium.org/18999006/diff/26001/pkg/docgen/bin/upload_docgen.py#newcode15 pkg/docgen/bin/upload_docgen.py:15: sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), here's a little ...
7 years, 5 months ago (2013-07-11 22:41:23 UTC) #9
janicejl
https://codereview.chromium.org/18999006/diff/26001/pkg/docgen/bin/upload_docgen.py File pkg/docgen/bin/upload_docgen.py (right): https://codereview.chromium.org/18999006/diff/26001/pkg/docgen/bin/upload_docgen.py#newcode15 pkg/docgen/bin/upload_docgen.py:15: sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), On 2013/07/11 22:41:24, Emily Fortuna wrote: > here's ...
7 years, 5 months ago (2013-07-11 22:53:10 UTC) #10
Emily Fortuna
lgtm!
7 years, 5 months ago (2013-07-11 22:56:08 UTC) #11
janicejl
Committed patchset #9 manually as r24932 (presubmit successful).
7 years, 5 months ago (2013-07-11 23:01:16 UTC) #12
kustermann
7 years, 5 months ago (2013-07-12 17:17:29 UTC) #13
Message was sent while issue was closed.
On 2013/07/11 18:08:54, Andrei Mouravski wrote:
> On 2013/07/11 00:02:08, janicejl wrote:
> > I tried modifying the upload_sdk.py in tools but it can't seem to find
GSUTIL
> > the same way. I think this is because upload_sdk.py in tools is ran by the
> build
> > bots. 
> > 
> > From buildbots, GSUTIL is at /b/build/scripts/slave/gsutil
> > and docgen is looking in third_party/gsutil/gsutil 
> > 
> > Should I also try to get the docgen version of to run on build bot, and in
> that
> > case probably just modify the upload_sdk.py?
> 
> I added ricow and kusterman in case they have an idea.

I came across this as well. We should've just renamed the method in utils.py to
"utils.GetGSUtilPath()' and changed it to search at both places.

(Sorry that I'm commenting so late -- I was a bit busy with other things.)

Powered by Google App Engine
This is Rietveld 408576698