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

Issue 6646052: Remove --client_prefix argument and check. (Closed)

Created:
9 years, 9 months ago by Greg Spencer (Chromium)
Modified:
9 years, 6 months ago
Reviewers:
petkov, zbehan, sosa
CC:
chromium-os-reviews_chromium.org, ericli, DaleCurtis, anush, Nick Sanders
Visibility:
Public.

Description

This removes the --client_prefix argument from the dev server, because it's no longer necessary. BUG=none TEST=ran an update from a current dev image without any arguments. Ran devserver_test.py Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=c8b59b2

Patch Set 1 #

Patch Set 2 : Fixing test. #

Patch Set 3 : Removing flag entirely. #

Total comments: 2

Patch Set 4 : Added deprecation warning #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -40 lines) Patch
M autoupdate.py View 1 2 5 chunks +3 lines, -11 lines 0 comments Download
M devserver.py View 1 2 3 3 chunks +7 lines, -4 lines 0 comments Download
M devserver_test.py View 1 3 chunks +9 lines, -22 lines 0 comments Download
M host/start_devserver View 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Greg Spencer (Chromium)
I've grepped through all the code I can find, and I don't see any references ...
9 years, 9 months ago (2011-03-10 21:29:15 UTC) #1
Nick Sanders
This will break factory install. Zdenek has a plan to fork factory install devserver and ...
9 years, 9 months ago (2011-03-12 06:33:47 UTC) #2
zbehan
Yep, LBTM. The factory workflow still uses (and likely will keep using) Memento updater. There's ...
9 years, 9 months ago (2011-03-12 10:07:57 UTC) #3
Greg Spencer (Chromium)
OK, any chance we can get the factory scripts to specify '--client_prefix MementoSoftwareUpdate' so that ...
9 years, 9 months ago (2011-03-14 15:25:42 UTC) #4
sosa
Do we even need the client prefix? Why not just remove it now and accept ...
9 years, 9 months ago (2011-03-14 18:53:17 UTC) #5
petkov
On Mon, Mar 14, 2011 at 11:53 AM, Chris Sosa <sosa@chromium.org> wrote: > Do we ...
9 years, 9 months ago (2011-03-14 18:57:42 UTC) #6
Greg Spencer (Chromium)
Cool. I'll change this CL into a CL removing the option entirely. -Greg. On Mon, ...
9 years, 9 months ago (2011-03-14 19:03:45 UTC) #7
sosa
Also, please send me, Ryan, adlr or petkov the review for this since we've worked ...
9 years, 9 months ago (2011-03-14 19:06:55 UTC) #8
sosa
Sorry I meant to say ... Anush doesn't seem to be a good reviewer for ...
9 years, 9 months ago (2011-03-14 19:09:16 UTC) #9
Greg Spencer (Chromium)
On Mon, Mar 14, 2011 at 12:09 PM, Chris Sosa <sosa@chromium.org> wrote: > On Mon, ...
9 years, 9 months ago (2011-03-14 20:27:08 UTC) #10
Greg Spencer (Chromium)
OK, reviewers, please take another look. I've removed the client prefix check.
9 years, 9 months ago (2011-03-15 18:57:12 UTC) #11
petkov
LGTM
9 years, 9 months ago (2011-03-15 20:28:52 UTC) #12
sosa
LGTM as well. Thanks for fixing the assert http://codereview.chromium.org/6646052/diff/10001/devserver.py File devserver.py (right): http://codereview.chromium.org/6646052/diff/10001/devserver.py#newcode121 devserver.py:121: parser.add_option('--client_prefix', ...
9 years, 9 months ago (2011-03-15 20:33:49 UTC) #13
Greg Spencer (Chromium)
http://codereview.chromium.org/6646052/diff/10001/devserver.py File devserver.py (right): http://codereview.chromium.org/6646052/diff/10001/devserver.py#newcode121 devserver.py:121: parser.add_option('--client_prefix', dest='client_prefix_deprecated', On 2011/03/15 20:33:49, sosa wrote: > Maybe ...
9 years, 9 months ago (2011-03-15 21:14:37 UTC) #14
sosa
9 years, 9 months ago (2011-03-15 21:31:09 UTC) #15
Thanks!

On Tue, Mar 15, 2011 at 2:14 PM,  <gspencer@chromium.org> wrote:
>
> http://codereview.chromium.org/6646052/diff/10001/devserver.py
> File devserver.py (right):
>
> http://codereview.chromium.org/6646052/diff/10001/devserver.py#newcode121
> devserver.py:121: parser.add_option('--client_prefix',
> dest='client_prefix_deprecated',
> On 2011/03/15 20:33:49, sosa wrote:
>>
>> Maybe instead of in the help ... print out something later that prints
>
> out a fat
>>
>> warning that says to change your script.
>
> OK, added this.
>
> http://codereview.chromium.org/6646052/
>

Powered by Google App Engine
This is Rietveld 408576698