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

Issue 2136203002: Fix bootstrap cwd (Closed)

Created:
4 years, 5 months ago by martiniss
Modified:
4 years, 5 months ago
CC:
chromium-reviews, estaab, infra-reviews+recipes-py_chromium.org
Base URL:
https://chromium.googlesource.com/external/github.com/luci/recipes-py@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fix bootstrap cwd The cwd of the subprocess (when bootstrapping) was set to the location of the recipe engine. This caused anything which referenced a package with the --package arg to refer to the recipe engine package. TBR=iannucci Committed: https://github.com/luci/recipes-py/commit/0a6ab680699355151bf3387074f4656c48698d72

Patch Set 1 #

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

Messages

Total messages: 10 (5 generated)
martiniss
PTAL Fixes a semi critical bug in the autoroller.
4 years, 5 months ago (2016-07-11 20:09:27 UTC) #2
martiniss
TBR because fairly urgent to land; all reviewers are either asleep or at gopher con
4 years, 5 months ago (2016-07-11 20:46:06 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2136203002/1
4 years, 5 months ago (2016-07-11 20:46:17 UTC) #6
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://github.com/luci/recipes-py/commit/0a6ab680699355151bf3387074f4656c48698d72
4 years, 5 months ago (2016-07-11 20:48:16 UTC) #8
dnj (Google)
4 years, 5 months ago (2016-07-11 20:57:06 UTC) #10
Message was sent while issue was closed.
lgtm, few comments

https://codereview.chromium.org/2136203002/diff/1/recipes.py
File recipes.py (right):

https://codereview.chromium.org/2136203002/diff/1/recipes.py#newcode396
recipes.py:396: os.path.join(ROOT_DIR, 'recipes.py')] + original_sys_argv[1:])
We already have this value as ROOT_DIR, don't we?

https://codereview.chromium.org/2136203002/diff/1/recipes.py#newcode396
recipes.py:396: os.path.join(ROOT_DIR, 'recipes.py')] + original_sys_argv[1:])
Are all these forward slashes Windows-compatible? Seems like we should be using
"os.path.join"?

Powered by Google App Engine
This is Rietveld 408576698