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

Issue 5652679430766592: Issue 2443 - Honour SKIP_DEPENDENCY_UPDATES environment variable (Closed)

Created:
May 1, 2015, 10:03 a.m. by kzar
Modified:
May 8, 2015, 1:51 p.m.
CC:
Felix Dahlke, mathias
Visibility:
Public.

Description

Issue 2443 - Honour SKIP_DEPENDENCY_UPDATES environment variable

Patch Set 1 #

Total comments: 11

Patch Set 2 : Ignore falsey values. #

Total comments: 4

Patch Set 3 : Only warn if revision is wrong #

Total comments: 4

Patch Set 4 : Addressed Sebastian's feedback #

Total comments: 4

Patch Set 5 : Addressed further feedback from Sebastian #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -7 lines) Patch
M ensure_dependencies.py View 1 2 3 4 3 chunks +22 lines, -7 lines 0 comments Download

Messages

Total messages: 23
kzar
Patch Set 1
May 1, 2015, 10:04 a.m. (2015-05-01 10:04:42 UTC) #1
Sebastian Noack
http://codereview.adblockplus.org/5652679430766592/diff/5629499534213120/ensure_dependencies.py File ensure_dependencies.py (right): http://codereview.adblockplus.org/5652679430766592/diff/5629499534213120/ensure_dependencies.py#newcode300 ensure_dependencies.py:300: if os.environ.get("SKIP_ENSURE_DEPENDENCIES"): This will merely check whether the variable ...
May 4, 2015, 11:33 a.m. (2015-05-04 11:33:00 UTC) #2
kzar
Patch Set 2 : Ignore falsey values. http://codereview.adblockplus.org/5652679430766592/diff/5629499534213120/ensure_dependencies.py File ensure_dependencies.py (right): http://codereview.adblockplus.org/5652679430766592/diff/5629499534213120/ensure_dependencies.py#newcode300 ensure_dependencies.py:300: if os.environ.get("SKIP_ENSURE_DEPENDENCIES"): ...
May 5, 2015, 1:25 p.m. (2015-05-05 13:25:22 UTC) #3
Sebastian Noack
http://codereview.adblockplus.org/5652679430766592/diff/5629499534213120/ensure_dependencies.py File ensure_dependencies.py (right): http://codereview.adblockplus.org/5652679430766592/diff/5629499534213120/ensure_dependencies.py#newcode301 ensure_dependencies.py:301: logging.warning("SKIP_ENSURE_DEPENDENCIES environment variable set, skipping.") On 2015/05/05 13:25:22, kzar ...
May 5, 2015, 2:33 p.m. (2015-05-05 14:33:24 UTC) #4
Wladimir Palant
http://codereview.adblockplus.org/5652679430766592/diff/5629499534213120/ensure_dependencies.py File ensure_dependencies.py (right): http://codereview.adblockplus.org/5652679430766592/diff/5629499534213120/ensure_dependencies.py#newcode301 ensure_dependencies.py:301: logging.warning("SKIP_ENSURE_DEPENDENCIES environment variable set, skipping.") While I'm not sure ...
May 5, 2015, 2:46 p.m. (2015-05-05 14:46:37 UTC) #5
kzar
http://codereview.adblockplus.org/5652679430766592/diff/5629499534213120/ensure_dependencies.py File ensure_dependencies.py (right): http://codereview.adblockplus.org/5652679430766592/diff/5629499534213120/ensure_dependencies.py#newcode301 ensure_dependencies.py:301: logging.warning("SKIP_ENSURE_DEPENDENCIES environment variable set, skipping.") On 2015/05/05 14:46:37, Wladimir ...
May 6, 2015, 4:23 p.m. (2015-05-06 16:23:53 UTC) #6
Felix Dahlke
http://codereview.adblockplus.org/5652679430766592/diff/5629499534213120/ensure_dependencies.py File ensure_dependencies.py (right): http://codereview.adblockplus.org/5652679430766592/diff/5629499534213120/ensure_dependencies.py#newcode301 ensure_dependencies.py:301: logging.warning("SKIP_ENSURE_DEPENDENCIES environment variable set, skipping.") On 2015/05/06 16:23:53, kzar ...
May 6, 2015, 4:31 p.m. (2015-05-06 16:31:23 UTC) #7
mathias
Agreed; thus patch-set 2 is just fine.
May 6, 2015, 4:36 p.m. (2015-05-06 16:36:25 UTC) #8
Sebastian Noack
http://codereview.adblockplus.org/5652679430766592/diff/5629499534213120/ensure_dependencies.py File ensure_dependencies.py (right): http://codereview.adblockplus.org/5652679430766592/diff/5629499534213120/ensure_dependencies.py#newcode301 ensure_dependencies.py:301: logging.warning("SKIP_ENSURE_DEPENDENCIES environment variable set, skipping.") On 2015/05/06 16:31:23, Felix ...
May 6, 2015, 4:59 p.m. (2015-05-06 16:59:22 UTC) #9
Felix Dahlke
http://codereview.adblockplus.org/5652679430766592/diff/5629499534213120/ensure_dependencies.py File ensure_dependencies.py (right): http://codereview.adblockplus.org/5652679430766592/diff/5629499534213120/ensure_dependencies.py#newcode301 ensure_dependencies.py:301: logging.warning("SKIP_ENSURE_DEPENDENCIES environment variable set, skipping.") On 2015/05/06 16:59:23, Sebastian ...
May 6, 2015, 5:14 p.m. (2015-05-06 17:14:57 UTC) #10
Wladimir Palant
I could insist on naming the variable ENABLE_FHD_MATZE_FOOTGUN but let's just LGTM this to stop ...
May 6, 2015, 5:40 p.m. (2015-05-06 17:40:47 UTC) #11
Felix Dahlke
On 2015/05/06 17:40:47, Wladimir Palant wrote: > I could insist on naming the variable ENABLE_FHD_MATZE_FOOTGUN ...
May 6, 2015, 5:43 p.m. (2015-05-06 17:43:40 UTC) #12
Wladimir Palant
On 2015/05/06 17:43:40, Felix H. Dahlke wrote: > To be fair, I don't think anyone ...
May 6, 2015, 5:55 p.m. (2015-05-06 17:55:06 UTC) #13
Sebastian Noack
On 2015/05/06 17:43:40, Felix H. Dahlke wrote: > To be fair, I don't think anyone ...
May 6, 2015, 5:56 p.m. (2015-05-06 17:56:14 UTC) #14
Felix Dahlke
On 2015/05/06 17:55:06, Wladimir Palant wrote: > On 2015/05/06 17:43:40, Felix H. Dahlke wrote: > ...
May 6, 2015, 5:57 p.m. (2015-05-06 17:57:05 UTC) #15
Wladimir Palant
http://codereview.adblockplus.org/5652679430766592/diff/5724160613416960/ensure_dependencies.py File ensure_dependencies.py (right): http://codereview.adblockplus.org/5652679430766592/diff/5724160613416960/ensure_dependencies.py#newcode229 ensure_dependencies.py:229: resolved_revision = repo_types[type].get_revision_id(target, revision) For reference, I think the ...
May 6, 2015, 6:17 p.m. (2015-05-06 18:17:32 UTC) #16
kzar
Patch Set 3 : Only warn if revision is wrong http://codereview.adblockplus.org/5652679430766592/diff/5724160613416960/ensure_dependencies.py File ensure_dependencies.py (right): http://codereview.adblockplus.org/5652679430766592/diff/5724160613416960/ensure_dependencies.py#newcode229 ...
May 7, 2015, 1:02 p.m. (2015-05-07 13:02:38 UTC) #17
Sebastian Noack
http://codereview.adblockplus.org/5652679430766592/diff/5724160613416960/ensure_dependencies.py File ensure_dependencies.py (right): http://codereview.adblockplus.org/5652679430766592/diff/5724160613416960/ensure_dependencies.py#newcode229 ensure_dependencies.py:229: resolved_revision = repo_types[type].get_revision_id(target, revision) On 2015/05/07 13:02:38, kzar wrote: ...
May 7, 2015, 1:17 p.m. (2015-05-07 13:17:19 UTC) #18
kzar
Patch Set 4 : Addressed Sebastian's feedback http://codereview.adblockplus.org/5652679430766592/diff/5724160613416960/ensure_dependencies.py File ensure_dependencies.py (right): http://codereview.adblockplus.org/5652679430766592/diff/5724160613416960/ensure_dependencies.py#newcode229 ensure_dependencies.py:229: resolved_revision = ...
May 7, 2015, 1:44 p.m. (2015-05-07 13:44:29 UTC) #19
Sebastian Noack
http://codereview.adblockplus.org/5652679430766592/diff/5754903989321728/ensure_dependencies.py File ensure_dependencies.py (right): http://codereview.adblockplus.org/5652679430766592/diff/5754903989321728/ensure_dependencies.py#newcode200 ensure_dependencies.py:200: def skip_dependency_updates_p(): I'd suggest to make it either a ...
May 7, 2015, 2:06 p.m. (2015-05-07 14:06:31 UTC) #20
kzar
Patch Set 5 : Addressed further feedback from Sebastian http://codereview.adblockplus.org/5652679430766592/diff/5754903989321728/ensure_dependencies.py File ensure_dependencies.py (right): http://codereview.adblockplus.org/5652679430766592/diff/5754903989321728/ensure_dependencies.py#newcode200 ensure_dependencies.py:200: ...
May 7, 2015, 2:20 p.m. (2015-05-07 14:20:01 UTC) #21
Sebastian Noack
LGTM
May 7, 2015, 2:23 p.m. (2015-05-07 14:23:08 UTC) #22
Wladimir Palant
May 8, 2015, 1:17 p.m. (2015-05-08 13:17:04 UTC) #23
LGTM

Powered by Google App Engine
This is Rietveld