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

Issue 29330140: Issue 3312 - Serve release update manifests for Adblock Browser (Closed)

Created:
Nov. 13, 2015, 7:41 a.m. by Felix Dahlke
Modified:
Nov. 19, 2015, 3:55 p.m.
Reviewers:
Sebastian Noack
CC:
Wladimir Palant, mathias
Visibility:
Public.

Description

Issue 3312 - Serve release update manifests for Adblock Browser

Patch Set 1 #

Total comments: 6

Patch Set 2 : Use os.path.splitext, remove devbuild flag #

Total comments: 2

Patch Set 3 : Don't call get_config() multiple times in a row #

Total comments: 5

Patch Set 4 : Add some whitespace #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -18 lines) Patch
M .sitescripts.example View 1 chunk +1 line, -0 lines 0 comments Download
M sitescripts/extensions/web/adblockbrowserUpdates.py View 1 2 3 4 chunks +36 lines, -18 lines 0 comments Download

Messages

Total messages: 10
Felix Dahlke
Nov. 13, 2015, 7:44 a.m. (2015-11-13 07:44:51 UTC) #1
Sebastian Noack
https://codereview.adblockplus.org/29330140/diff/29330141/sitescripts/extensions/web/adblockbrowserUpdates.py File sitescripts/extensions/web/adblockbrowserUpdates.py (right): https://codereview.adblockplus.org/29330140/diff/29330141/sitescripts/extensions/web/adblockbrowserUpdates.py#newcode52 sitescripts/extensions/web/adblockbrowserUpdates.py:52: apk_path = re.sub(r"\.json$", ".apk", json_path) Checking for the file ...
Nov. 13, 2015, 10:07 p.m. (2015-11-13 22:07:39 UTC) #2
Felix Dahlke
New patch set is up. https://codereview.adblockplus.org/29330140/diff/29330141/sitescripts/extensions/web/adblockbrowserUpdates.py File sitescripts/extensions/web/adblockbrowserUpdates.py (right): https://codereview.adblockplus.org/29330140/diff/29330141/sitescripts/extensions/web/adblockbrowserUpdates.py#newcode52 sitescripts/extensions/web/adblockbrowserUpdates.py:52: apk_path = re.sub(r"\.json$", ".apk", ...
Nov. 14, 2015, 12:41 a.m. (2015-11-14 00:41:05 UTC) #3
Sebastian Noack
https://codereview.adblockplus.org/29330140/diff/29330209/sitescripts/extensions/web/adblockbrowserUpdates.py File sitescripts/extensions/web/adblockbrowserUpdates.py (right): https://codereview.adblockplus.org/29330140/diff/29330209/sitescripts/extensions/web/adblockbrowserUpdates.py#newcode100 sitescripts/extensions/web/adblockbrowserUpdates.py:100: builds_url = get_config().get("extensions", "downloadsURL").rstrip("/") How about caching the config ...
Nov. 14, 2015, 9:09 p.m. (2015-11-14 21:09:23 UTC) #4
Felix Dahlke
New patch set is up. https://codereview.adblockplus.org/29330140/diff/29330209/sitescripts/extensions/web/adblockbrowserUpdates.py File sitescripts/extensions/web/adblockbrowserUpdates.py (right): https://codereview.adblockplus.org/29330140/diff/29330209/sitescripts/extensions/web/adblockbrowserUpdates.py#newcode100 sitescripts/extensions/web/adblockbrowserUpdates.py:100: builds_url = get_config().get("extensions", "downloadsURL").rstrip("/") ...
Nov. 19, 2015, 9:37 a.m. (2015-11-19 09:37:34 UTC) #5
Sebastian Noack
https://codereview.adblockplus.org/29330140/diff/29330408/sitescripts/extensions/web/adblockbrowserUpdates.py File sitescripts/extensions/web/adblockbrowserUpdates.py (right): https://codereview.adblockplus.org/29330140/diff/29330408/sitescripts/extensions/web/adblockbrowserUpdates.py#newcode100 sitescripts/extensions/web/adblockbrowserUpdates.py:100: builds_dir = config.get("extensions", "downloadsDirectory") Mit: Please set newlines consistent ...
Nov. 19, 2015, 9:48 a.m. (2015-11-19 09:48:40 UTC) #6
Felix Dahlke
https://codereview.adblockplus.org/29330140/diff/29330408/sitescripts/extensions/web/adblockbrowserUpdates.py File sitescripts/extensions/web/adblockbrowserUpdates.py (right): https://codereview.adblockplus.org/29330140/diff/29330408/sitescripts/extensions/web/adblockbrowserUpdates.py#newcode100 sitescripts/extensions/web/adblockbrowserUpdates.py:100: builds_dir = config.get("extensions", "downloadsDirectory") On 2015/11/19 09:48:40, Sebastian Noack ...
Nov. 19, 2015, 9:50 a.m. (2015-11-19 09:50:34 UTC) #7
Felix Dahlke
https://codereview.adblockplus.org/29330140/diff/29330408/sitescripts/extensions/web/adblockbrowserUpdates.py File sitescripts/extensions/web/adblockbrowserUpdates.py (right): https://codereview.adblockplus.org/29330140/diff/29330408/sitescripts/extensions/web/adblockbrowserUpdates.py#newcode100 sitescripts/extensions/web/adblockbrowserUpdates.py:100: builds_dir = config.get("extensions", "downloadsDirectory") On 2015/11/19 09:50:34, Felix Dahlke ...
Nov. 19, 2015, 9:51 a.m. (2015-11-19 09:51:13 UTC) #8
Sebastian Noack
https://codereview.adblockplus.org/29330140/diff/29330408/sitescripts/extensions/web/adblockbrowserUpdates.py File sitescripts/extensions/web/adblockbrowserUpdates.py (right): https://codereview.adblockplus.org/29330140/diff/29330408/sitescripts/extensions/web/adblockbrowserUpdates.py#newcode100 sitescripts/extensions/web/adblockbrowserUpdates.py:100: builds_dir = config.get("extensions", "downloadsDirectory") On 2015/11/19 09:50:34, Felix Dahlke ...
Nov. 19, 2015, 9:53 a.m. (2015-11-19 09:53:01 UTC) #9
Felix Dahlke
Nov. 19, 2015, 3:55 p.m. (2015-11-19 15:55:23 UTC) #10
New patch set up with more whitespace. Being such a minor change, I'll consider
this approved and land it.

https://codereview.adblockplus.org/29330140/diff/29330408/sitescripts/extensi...
File sitescripts/extensions/web/adblockbrowserUpdates.py (right):

https://codereview.adblockplus.org/29330140/diff/29330408/sitescripts/extensi...
sitescripts/extensions/web/adblockbrowserUpdates.py:100: builds_dir =
config.get("extensions", "downloadsDirectory")
On 2015/11/19 09:53:01, Sebastian Noack wrote:
> On 2015/11/19 09:50:34, Felix Dahlke wrote:
> > On 2015/11/19 09:48:40, Sebastian Noack wrote:
> > > Mit: Please set newlines consistent with the handler below.
> > 
> > IMHO, readlines only help readability in rare cases, and I only use them
when
> I
> > believe that's the case. Up here, in a four line function doing just one
> thing,
> > I don't think it helps.
> > 
> > If you do disagree and think it helps readability here though, I'll change
it.
> 
> I think it does, but I guess it's matter of taste. LGTM

Changed it since you do disagree.

Powered by Google App Engine
This is Rietveld