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

Issue 2728303004: [package.proto] add canonical_base_url field. (Closed)

Created:
3 years, 9 months ago by iannucci
Modified:
3 years, 9 months ago
CC:
chromium-reviews, infra-reviews+recipes-py_chromium.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

[package.proto] add canonical_base_url field. Also document the fields in package.proto and re-run protoc. canonical_base_url will be used when generating new Markdown documentation to allow for meaningful hyperlinks. It's also generally a good idea so when packages get mirrored, they'll always point to the source of truth. NOTE: This changes the tag values for the proto definition... however, since we've never used the binary form of the package message, it shouldn't be a problem. This allows canonical base url to sort above 'deps'. Otherwise it gets sorted to the bottom of the file, which is weird. R=dnj@chromium.org, martiniss@chromium.org, phajdan.jr@chromium.org BUG= Review-Url: https://codereview.chromium.org/2728303004 Committed: https://github.com/luci/recipes-py/commit/22e413ad35481ecd49d232620e7794ce6f544958

Patch Set 1 #

Total comments: 17

Patch Set 2 : update package.py too #

Total comments: 2

Patch Set 3 : fix test #

Patch Set 4 : fix test #

Patch Set 5 : spaces #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -19 lines) Patch
M infra/config/recipes.cfg View 1 1 chunk +1 line, -0 lines 0 comments Download
M recipe_engine/arguments_pb2.py View 1 chunk +1 line, -1 line 0 comments Download
M recipe_engine/package.proto View 1 2 3 1 chunk +45 lines, -2 lines 0 comments Download
M recipe_engine/package.py View 1 2 3 4 9 chunks +23 lines, -10 lines 0 comments Download
M recipe_engine/package_pb2.py View 1 2 3 3 chunks +12 lines, -5 lines 0 comments Download
M recipe_engine/result_pb2.py View 1 chunk +1 line, -1 line 0 comments Download
M unittests/package_test.py View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 27 (16 generated)
iannucci
3 years, 9 months ago (2017-03-07 02:38:52 UTC) #1
Paweł Hajdan Jr.
I'm not sure why we involve protos here. It may be introducing a layer of ...
3 years, 9 months ago (2017-03-07 17:51:19 UTC) #6
iannucci
On 2017/03/07 17:51:19, Paweł Hajdan Jr. wrote: > I'm not sure why we involve protos ...
3 years, 9 months ago (2017-03-07 18:05:06 UTC) #7
martiniss
lgtm https://codereview.chromium.org/2728303004/diff/1/recipe_engine/package.proto File recipe_engine/package.proto (right): https://codereview.chromium.org/2728303004/diff/1/recipe_engine/package.proto#newcode23 recipe_engine/package.proto:23: // The git commit ID that we depend ...
3 years, 9 months ago (2017-03-07 18:56:38 UTC) #8
dnj
lgtm w/ some nits https://codereview.chromium.org/2728303004/diff/1/recipe_engine/package.proto File recipe_engine/package.proto (right): https://codereview.chromium.org/2728303004/diff/1/recipe_engine/package.proto#newcode17 recipe_engine/package.proto:17: // The url of where ...
3 years, 9 months ago (2017-03-07 18:58:53 UTC) #9
iannucci
https://codereview.chromium.org/2728303004/diff/1/recipe_engine/package.proto File recipe_engine/package.proto (right): https://codereview.chromium.org/2728303004/diff/1/recipe_engine/package.proto#newcode17 recipe_engine/package.proto:17: // The url of where to fetch the package ...
3 years, 9 months ago (2017-03-08 03:28:37 UTC) #12
dnj
https://codereview.chromium.org/2728303004/diff/20001/recipe_engine/package.py File recipe_engine/package.py (right): https://codereview.chromium.org/2728303004/diff/20001/recipe_engine/package.py#newcode639 recipe_engine/package.py:639: RootRepoSpec(proto_file)) nit: two more spaces
3 years, 9 months ago (2017-03-08 03:28:59 UTC) #13
iannucci
https://codereview.chromium.org/2728303004/diff/20001/recipe_engine/package.py File recipe_engine/package.py (right): https://codereview.chromium.org/2728303004/diff/20001/recipe_engine/package.py#newcode639 recipe_engine/package.py:639: RootRepoSpec(proto_file)) On 2017/03/08 03:28:59, dnj wrote: > nit: two ...
3 years, 9 months ago (2017-03-08 03:33:31 UTC) #18
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/2728303004/80001
3 years, 9 months ago (2017-03-08 03:36:23 UTC) #23
commit-bot: I haz the power
Committed patchset #5 (id:80001) as https://github.com/luci/recipes-py/commit/22e413ad35481ecd49d232620e7794ce6f544958
3 years, 9 months ago (2017-03-08 03:39:42 UTC) #26
iannucci
3 years, 9 months ago (2017-03-08 04:23:37 UTC) #27
Message was sent while issue was closed.
A revert of this CL (patchset #5 id:80001) has been created in
https://chromiumcodereview.appspot.com/2739803002/ by iannucci@chromium.org.

The reason for reverting is: aand kitchen needs to handle this proto.
reverting..

Powered by Google App Engine
This is Rietveld 408576698