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

Issue 11574007: Move parsing of TRYSERVER_* so options.root is not overwritten (Closed)

Created:
8 years ago by kjellander_chromium
Modified:
8 years ago
CC:
chromium-reviews, Dirk Pranke, cmp+cc_chromium.org, M-A Ruel, iannucci+depot_tools_chromium.org, ajm
Visibility:
Public.

Description

Move parsing of TRYSERVER_* so options.root is not overwritten Since the helper function for the parsing of the TRYSERVER_* variables relies on them being unset (i.e. value is None) in order to apply the settings from codereview.settings, this parsing must take place before the code that figures out the root path (since that sets the options.root value if it's not set). Otherwise the TRYSERVER_ROOT setting will never be set, even if configured in codereview.settings, essentially making it useless. This has probably not been discovered previously since almost all Chrome projects use src as the root dir. In WebRTC and some other projects we use 'trunk' usually, which is giving us trouble in our own try server setups (where we have to use 'src' because many other scripts have that root dir hardcoded). I am not sure if there is a case for another project where this change may have any negative effect. Please let me know if theres's any investigation needed that I can assist with. BUG=none TEST=submitting try job to local try master with a codereview.settings file with TRYSERVER_ROOT set. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=173694

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -3 lines) Patch
M trychange.py View 2 chunks +2 lines, -3 lines 2 comments Download

Messages

Total messages: 6 (0 generated)
kjellander_chromium
8 years ago (2012-12-13 17:48:22 UTC) #1
M-A Ruel
https://codereview.chromium.org/11574007/diff/1/trychange.py File trychange.py (right): https://codereview.chromium.org/11574007/diff/1/trychange.py#newcode171 trychange.py:171: self._GclStyleSettings() I'm pretty sure there was a reason for ...
8 years ago (2012-12-13 23:58:06 UTC) #2
kjellander_chromium
I'll go ahead and commit it today. I'll be prepared to revert it but I ...
8 years ago (2012-12-18 08:52:15 UTC) #3
phoglund_chromium
I think the change is correct. The two methods only have interactions on options.root in ...
8 years ago (2012-12-18 09:03:14 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kjellander@chromium.org/11574007/1
8 years ago (2012-12-18 09:28:43 UTC) #5
commit-bot: I haz the power
8 years ago (2012-12-18 09:31:15 UTC) #6
Message was sent while issue was closed.
Change committed as 173694

Powered by Google App Engine
This is Rietveld 408576698