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

Issue 6508001: devserver: introduce --datadir option to override where devserver puts static (Closed)

Created:
9 years, 10 months ago by zbehan
Modified:
9 years, 7 months ago
Reviewers:
davidjames, rochberg, sosa
CC:
chromium-os-reviews_chromium.org, Nick Sanders, ericli, DaleCurtis
Visibility:
Public.

Description

devserver: introduce --datadir option to override where devserver puts static BUG=chromium-os:5246 TEST=create new unit test, make sure it fails before and passes after Change-Id: I21270f261eb067ace334a6414ce546f6235b1966 Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=5d21a2a

Patch Set 1 #

Patch Set 2 : Fixed a tab #

Total comments: 8

Patch Set 3 : Style fixes #

Total comments: 2

Patch Set 4 : Fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -7 lines) Patch
M devserver.py View 1 2 3 3 chunks +5 lines, -1 line 0 comments Download
M devserver_test.py View 1 2 3 7 chunks +57 lines, -6 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
zbehan
9 years, 10 months ago (2011-02-11 22:17:23 UTC) #1
zbehan
9 years, 10 months ago (2011-02-11 22:18:12 UTC) #2
davidjames
I don't know this file that well so I'll just put style comments. http://codereview.chromium.org/6508001/diff/2002/devserver.py File ...
9 years, 10 months ago (2011-02-11 23:31:53 UTC) #3
zbehan
9 years, 10 months ago (2011-02-11 23:41:41 UTC) #4
zbehan
Fixed all of them. PTAL On Sat, Feb 12, 2011 at 12:41 AM, <zbehan@chromium.org> wrote: ...
9 years, 10 months ago (2011-02-11 23:43:49 UTC) #5
sosa
Cpl Nits ... LGTM http://codereview.chromium.org/6508001/diff/3003/devserver.py File devserver.py (right): http://codereview.chromium.org/6508001/diff/3003/devserver.py#newcode124 devserver.py:124: parser.add_option('--datadir', dest='datadir', data_dir http://codereview.chromium.org/6508001/diff/3003/devserver.py#newcode191 devserver.py:191: ...
9 years, 10 months ago (2011-02-11 23:59:19 UTC) #6
zbehan
On Sat, Feb 12, 2011 at 12:59 AM, <sosa@chromium.org> wrote: > Cpl Nits ... LGTM ...
9 years, 10 months ago (2011-02-12 00:09:53 UTC) #7
sosa
You could also just remove the other one :) On Fri, Feb 11, 2011 at ...
9 years, 10 months ago (2011-02-12 00:24:19 UTC) #8
zbehan
Meh, like this, the new test is actually flaky. The file served by devserver has ...
9 years, 10 months ago (2011-02-12 00:24:40 UTC) #9
zbehan
9 years, 10 months ago (2011-02-12 00:36:59 UTC) #10
zbehan
Ok. Fixed datadir -> data_dir, and moved file copy before server start, which eliminates flakiness. ...
9 years, 10 months ago (2011-02-12 00:37:36 UTC) #11
sosa
9 years, 10 months ago (2011-02-12 00:52:21 UTC) #12
LGTM

Powered by Google App Engine
This is Rietveld 408576698