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

Issue 2925723004: [vpython] Implement smart probing. (Closed)

Created:
3 years, 6 months ago by dnj (Google)
Modified:
3 years, 6 months ago
Reviewers:
dnj, iannucci
CC:
chromium-reviews, infra-reviews+luci-go_chromium.org, maruel+w_chromium.org, tandrii+luci-go_chromium.org
Target Ref:
refs/heads/master
Project:
luci-go
Visibility:
Public.

Description

[vpython] Implement smart probing. Use the "prober" package to enable "vpython" to probe for its wrapped Python instance without risk of hitting another "vpython" instance. Previously, identification was just done by name. This allows "vpython" to be named "python" without infinitely calling itself. BUG=chromium:730649 TEST=local Review-Url: https://codereview.chromium.org/2925723004 Committed: https://github.com/luci/luci-go/commit/5cf5e3db67fbf52c83ae0875d70d58ece1b73b86

Patch Set 1 #

Patch Set 2 : move to system #

Total comments: 5

Patch Set 3 : sentinel text #

Unified diffs Side-by-side diffs Delta from patch set Stats (+237 lines, -18 lines) Patch
M vpython/application/application.go View 1 2 9 chunks +37 lines, -6 lines 0 comments Download
A vpython/application/probe.go View 1 2 1 chunk +137 lines, -0 lines 0 comments Download
M vpython/python/find.go View 3 chunks +49 lines, -3 lines 0 comments Download
M vpython/python/interpreter.go View 1 2 3 chunks +8 lines, -7 lines 0 comments Download
M vpython/venv/config.go View 2 chunks +5 lines, -1 line 0 comments Download
M vpython/venv/venv_test.go View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 17 (6 generated)
dnj (Google)
move to system
3 years, 6 months ago (2017-06-07 17:10:21 UTC) #2
dnj
(ready now)
3 years, 6 months ago (2017-06-07 17:28:00 UTC) #4
dnj
+reviewer
3 years, 6 months ago (2017-06-07 17:28:12 UTC) #6
iannucci
lgtm https://codereview.chromium.org/2925723004/diff/20001/vpython/application/application.go File vpython/application/application.go (right): https://codereview.chromium.org/2925723004/diff/20001/vpython/application/application.go#newcode183 vpython/application/application.go:183: lp := lookPath{ doesn't git implement this too? ...
3 years, 6 months ago (2017-06-07 17:40:26 UTC) #7
dnj
https://codereview.chromium.org/2925723004/diff/20001/vpython/application/application.go File vpython/application/application.go (right): https://codereview.chromium.org/2925723004/diff/20001/vpython/application/application.go#newcode183 vpython/application/application.go:183: lp := lookPath{ On 2017/06/07 17:40:26, iannucci wrote: > ...
3 years, 6 months ago (2017-06-07 17:43:26 UTC) #8
dnj
https://codereview.chromium.org/2925723004/diff/20001/vpython/application/probe.go File vpython/application/probe.go (right): https://codereview.chromium.org/2925723004/diff/20001/vpython/application/probe.go#newcode99 vpython/application/probe.go:99: // since no Python interpreter would return non-zero for ...
3 years, 6 months ago (2017-06-07 17:45:51 UTC) #9
dnj (Google)
sentinel text
3 years, 6 months ago (2017-06-07 18:03:12 UTC) #10
iannucci
lgtm
3 years, 6 months ago (2017-06-07 18:04:31 UTC) #11
dnj
3 years, 6 months ago (2017-06-07 18:05:14 UTC) #12
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/2925723004/40001
3 years, 6 months ago (2017-06-07 18:05:23 UTC) #14
commit-bot: I haz the power
3 years, 6 months ago (2017-06-07 18:15:17 UTC) #17
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://github.com/luci/luci-go/commit/5cf5e3db67fbf52c83ae0875d70d58ece1b73b86

Powered by Google App Engine
This is Rietveld 408576698