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

Issue 1002313002: jinja2: support file references in templates. (Closed)

Created:
5 years, 9 months ago by newt (away)
Modified:
5 years, 9 months ago
Reviewers:
cjhopman, jbudorick
CC:
chromium-reviews, klundberg+watch_chromium.org, yfriedman+watch_chromium.org, jbudorick+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

jinja2: support file references in templates. This allows jinja2 templates to reference other templates by path name, e.g. to extend them or include them. BUG=467069 Committed: https://crrev.com/031bd459554280a3653a1541221e224a6678eda2 Cr-Commit-Position: refs/heads/master@{#320963}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : correct deps #

Total comments: 6

Patch Set 4 : set; relative paths #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -11 lines) Patch
M build/android/gyp/jinja_template.py View 1 2 3 3 chunks +27 lines, -11 lines 0 comments Download
M build/android/jinja_template.gypi View 1 2 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (4 generated)
newt (away)
PTAL
5 years, 9 months ago (2015-03-13 17:44:21 UTC) #2
cjhopman
lgtm
5 years, 9 months ago (2015-03-14 00:41:26 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1002313002/20001
5 years, 9 months ago (2015-03-14 00:42:13 UTC) #5
cjhopman
wait, not lgtm. We need a way to ensure that build steps that use this ...
5 years, 9 months ago (2015-03-14 00:43:57 UTC) #7
cjhopman
On 2015/03/14 00:43:57, cjhopman wrote: > wait, not lgtm. We need a way to ensure ...
5 years, 9 months ago (2015-03-14 00:49:00 UTC) #8
newt (away)
On 2015/03/14 00:49:00, cjhopman wrote: > On 2015/03/14 00:43:57, cjhopman wrote: > > wait, not ...
5 years, 9 months ago (2015-03-14 01:02:33 UTC) #9
newt (away)
Ptal
5 years, 9 months ago (2015-03-17 03:17:02 UTC) #10
cjhopman
https://codereview.chromium.org/1002313002/diff/40001/build/android/gyp/jinja_template.py File build/android/gyp/jinja_template.py (right): https://codereview.chromium.org/1002313002/diff/40001/build/android/gyp/jinja_template.py#newcode25 build/android/gyp/jinja_template.py:25: self.loaded_templates = [] Should this be a set? Idk ...
5 years, 9 months ago (2015-03-17 18:03:33 UTC) #11
newt (away)
https://codereview.chromium.org/1002313002/diff/40001/build/android/gyp/jinja_template.py File build/android/gyp/jinja_template.py (right): https://codereview.chromium.org/1002313002/diff/40001/build/android/gyp/jinja_template.py#newcode28 build/android/gyp/jinja_template.py:28: contents, filename, uptodate = jinja2.FileSystemLoader.get_source( On 2015/03/17 18:03:33, cjhopman ...
5 years, 9 months ago (2015-03-17 18:44:47 UTC) #12
newt (away)
https://codereview.chromium.org/1002313002/diff/40001/build/android/gyp/jinja_template.py File build/android/gyp/jinja_template.py (right): https://codereview.chromium.org/1002313002/diff/40001/build/android/gyp/jinja_template.py#newcode25 build/android/gyp/jinja_template.py:25: self.loaded_templates = [] On 2015/03/17 18:03:33, cjhopman wrote: > ...
5 years, 9 months ago (2015-03-17 18:58:29 UTC) #13
cjhopman
lgtm https://codereview.chromium.org/1002313002/diff/40001/build/android/gyp/jinja_template.py File build/android/gyp/jinja_template.py (right): https://codereview.chromium.org/1002313002/diff/40001/build/android/gyp/jinja_template.py#newcode28 build/android/gyp/jinja_template.py:28: contents, filename, uptodate = jinja2.FileSystemLoader.get_source( On 2015/03/17 18:58:28, ...
5 years, 9 months ago (2015-03-17 19:01:53 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1002313002/60001
5 years, 9 months ago (2015-03-17 19:11:18 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 9 months ago (2015-03-17 20:37:35 UTC) #17
commit-bot: I haz the power
5 years, 9 months ago (2015-03-17 20:38:20 UTC) #18
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/031bd459554280a3653a1541221e224a6678eda2
Cr-Commit-Position: refs/heads/master@{#320963}

Powered by Google App Engine
This is Rietveld 408576698