Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 29609559: Issue 6021 - Refactoring build.py (Closed)

Created:
Nov. 15, 2017, 10:25 a.m. by tlucas
Modified:
Nov. 20, 2017, 11:36 a.m.
CC:
Sebastian Noack
Base URL:
https://hg.adblockplus.org/buildtools/file/79688f4a4aff
Visibility:
Public.

Description

Issue 6021 - Refactoring build.py

Patch Set 1 #

Total comments: 18

Patch Set 2 : Addressing Wladimir's comments #

Total comments: 7

Patch Set 3 : Reordering platforms to be consistent #

Patch Set 4 : Only construct subcommands if they would actually be available #

Patch Set 5 : Making platform-param required again #

Patch Set 6 : Fixing a regression in 'docs' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+290 lines, -405 lines) Patch
M build.py View 1 2 3 4 5 3 chunks +287 lines, -401 lines 0 comments Download
M tests/test_packagerWebExt.py View 2 chunks +3 lines, -3 lines 0 comments Download
M tox.ini View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 9
tlucas
Patch Set 1 * Refactoring build.py to use argparse * Purging flake8-ignores for build.py
Nov. 15, 2017, 10:26 a.m. (2017-11-15 10:26:28 UTC) #1
Wladimir Palant
https://codereview.adblockplus.org/29609559/diff/29609560/build.py File build.py (right): https://codereview.adblockplus.org/29609559/diff/29609560/build.py#newcode49 build.py:49: choices=platforms, required=True) This is suboptimal for repositories where only ...
Nov. 17, 2017, 9:26 a.m. (2017-11-17 09:26:11 UTC) #2
tlucas
Patch Set 2: * removed explicit subcommand names * reintroduced (and refactored) determination of valid ...
Nov. 17, 2017, 11:36 a.m. (2017-11-17 11:36:45 UTC) #3
Wladimir Palant
https://codereview.adblockplus.org/29609559/diff/29611559/build.py File build.py (right): https://codereview.adblockplus.org/29609559/diff/29611559/build.py#newcode79 build.py:79: 'metadata.* is required.', file=sys.stderr) This message is confusing now, ...
Nov. 17, 2017, 11:51 a.m. (2017-11-17 11:51:58 UTC) #4
tlucas
Patch Set 4 * Only construct subcommands if the would actually be available * Clarified ...
Nov. 17, 2017, 1:32 p.m. (2017-11-17 13:32:05 UTC) #5
tlucas
Patch Set 5 * Make platform param required if ambiguous
Nov. 17, 2017, 2:30 p.m. (2017-11-17 14:30:58 UTC) #6
Wladimir Palant
LGTM
Nov. 18, 2017, 9:36 a.m. (2017-11-18 09:36:38 UTC) #7
tlucas
Patch Set 6: * Fixed a regression, '-q' in 'docs' expected a parameter (is now ...
Nov. 20, 2017, 9:18 a.m. (2017-11-20 09:18:59 UTC) #8
Wladimir Palant
Nov. 20, 2017, 11:34 a.m. (2017-11-20 11:34:15 UTC) #9
Even more LGTM

Powered by Google App Engine
This is Rietveld