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

Issue 2927573002: [vpython] Fix PEP425 naming. (Closed)

Created:
3 years, 6 months ago by dnj (Google)
Modified:
3 years, 6 months ago
Reviewers:
dnj, iannucci, qyearsley
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] Fix PEP425 naming. Early choices resulted in some incorrect naming of PEP425 structure fields. Fix this before "vpython" is used in too many places to make fixing this feasible. The "Pep425Tag" Protobuf struct is now named "PEP425Tag" so that its Go-generated structure is more idiomatic. This has no impact on the text or binary protobuf format. The fields in a "Pep425Tag" have been renamed from "Version, ABI, Arch" to the proper "Python, ABI, Platform" terminology used in PEP425. This will break existing text protobuf naming, so we have updated the protobuf version from "v1" to "v2". BUG=None TEST=local Review-Url: https://codereview.chromium.org/2927573002 Committed: https://github.com/luci/luci-go/commit/0a455fedda06056a0be820f951c16655b3420899

Patch Set 1 #

Total comments: 6

Patch Set 2 : typos #

Patch Set 3 : rebase and update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+147 lines, -146 lines) Patch
M vpython/api/vpython/env.proto View 1 chunk +1 line, -1 line 0 comments Download
M vpython/api/vpython/env.pb.go View 4 chunks +20 lines, -19 lines 0 comments Download
M vpython/api/vpython/pep425.proto View 1 1 chunk +8 lines, -8 lines 0 comments Download
M vpython/api/vpython/pep425.pb.go View 1 2 chunks +25 lines, -25 lines 0 comments Download
M vpython/api/vpython/spec.proto View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M vpython/api/vpython/spec.pb.go View 1 2 5 chunks +22 lines, -22 lines 0 comments Download
M vpython/api/vpython/util.go View 2 chunks +10 lines, -10 lines 0 comments Download
M vpython/application/application.go View 1 2 1 chunk +1 line, -1 line 0 comments Download
M vpython/application/subcommand_verify.go View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M vpython/cipd/pep425.go View 1 4 chunks +9 lines, -9 lines 0 comments Download
M vpython/cipd/pep425_test.go View 2 chunks +6 lines, -6 lines 0 comments Download
M vpython/spec/match.go View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M vpython/spec/match_test.go View 1 2 6 chunks +19 lines, -19 lines 0 comments Download
M vpython/spec/spec.go View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M vpython/spec/spec_test.go View 1 2 3 chunks +8 lines, -8 lines 0 comments Download
M vpython/venv/venv.go View 3 chunks +6 lines, -6 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 13 (5 generated)
dnj
PTAL. This addresses a problem that qyearsley@ pointed out in a previous code review, namely ...
3 years, 6 months ago (2017-06-06 14:25:36 UTC) #2
qyearsley
LGTM https://codereview.chromium.org/2927573002/diff/1/vpython/api/vpython/pep425.proto File vpython/api/vpython/pep425.proto (right): https://codereview.chromium.org/2927573002/diff/1/vpython/api/vpython/pep425.proto#newcode9 vpython/api/vpython/pep425.proto:9: // Represnets a Python PEP425 tag. Unrelated typo ...
3 years, 6 months ago (2017-06-06 14:33:32 UTC) #3
dnj
iannucci@, ping?
3 years, 6 months ago (2017-06-06 19:32:51 UTC) #4
dnj (Google)
typos
3 years, 6 months ago (2017-06-06 19:34:47 UTC) #5
dnj
https://codereview.chromium.org/2927573002/diff/1/vpython/api/vpython/pep425.proto File vpython/api/vpython/pep425.proto (right): https://codereview.chromium.org/2927573002/diff/1/vpython/api/vpython/pep425.proto#newcode9 vpython/api/vpython/pep425.proto:9: // Represnets a Python PEP425 tag. On 2017/06/06 14:33:32, ...
3 years, 6 months ago (2017-06-06 19:34:50 UTC) #6
dnj (Google)
rebase and update
3 years, 6 months ago (2017-06-07 18:59:44 UTC) #7
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/2927573002/40001
3 years, 6 months ago (2017-06-07 19:01:43 UTC) #10
commit-bot: I haz the power
3 years, 6 months ago (2017-06-07 19:07:27 UTC) #13
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://github.com/luci/luci-go/commit/0a455fedda06056a0be820f951c16655b3420899

Powered by Google App Engine
This is Rietveld 408576698