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

Issue 1644913002: Caterpillar now generates app.info.js, a metadata script. Resolves #12. (Closed)

Created:
4 years, 10 months ago by Matthew Alger
Modified:
4 years, 10 months ago
Reviewers:
raymes, Matt Giuca
Base URL:
git@github.com:chromium/caterpillar.git@dependency-script-injection
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Caterpillar now generates app.info.js, a metadata script. Resolves #12. app.info.js is used by the runtime polyfill and possibly in future polyfills. It includes the manifest file and the app ID. https://github.com/chromium/caterpillar/issues/12 R=mgiuca@chromium.org, raymes@chromium.org Committed: 122627e4dfaf7e35e439b1f6a6250b56527b2496

Patch Set 1 #

Total comments: 4

Patch Set 2 : Merge #

Patch Set 3 : Response to CR + whitespace fix #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -5 lines) Patch
M src/caterpillar.py View 1 2 5 chunks +32 lines, -2 lines 3 comments Download
M src/caterpillar_test.py View 1 2 2 chunks +26 lines, -0 lines 0 comments Download
M src/js/polyfills/runtime.polyfill.js View 1 2 2 chunks +1 line, -2 lines 0 comments Download
M tests/js/polyfills/runtime.polyfill.test.js View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M tests/test_app_minimal/app.info.js View 1 2 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 15 (3 generated)
Matthew Alger
mgiuca: Could you please look at caterpillar.py, caterpillar_test.py, and configuration.py? These are the main changes ...
4 years, 10 months ago (2016-01-28 06:38:17 UTC) #2
Matt Giuca
Hmm, I have a general feeling that we shouldn't do this. The user is migrating ...
4 years, 10 months ago (2016-01-28 07:33:23 UTC) #3
Matthew Alger
I agree with not having the IDs; I've removed them. I think having the manifest ...
4 years, 10 months ago (2016-01-28 23:24:45 UTC) #5
Matthew Alger
https://codereview.chromium.org/1644913002/diff/60001/src/caterpillar.py File src/caterpillar.py (right): https://codereview.chromium.org/1644913002/diff/60001/src/caterpillar.py#newcode455 src/caterpillar.py:455: separators=(',', ': ')).replace('"', "'") Changed this to drop trailing ...
4 years, 10 months ago (2016-01-28 23:25:32 UTC) #6
Matt Giuca
> I think having the manifest available is still important though. What is it for, ...
4 years, 10 months ago (2016-01-29 02:34:27 UTC) #7
Matthew Alger
On 2016/01/29 02:34:27, Matt Giuca wrote: > > I think having the manifest available is ...
4 years, 10 months ago (2016-01-29 02:44:03 UTC) #8
Matt Giuca
Ah, I didn't see the chrome.app.manifest part. I think the same principle applies to that ...
4 years, 10 months ago (2016-01-29 03:06:53 UTC) #9
Matthew Alger
On 2016/01/29 03:06:53, Matt Giuca wrote: > Ah, I didn't see the chrome.app.manifest part. > ...
4 years, 10 months ago (2016-01-29 03:21:17 UTC) #10
Matt Giuca
On 2016/01/29 03:21:17, Matthew Alger wrote: > On 2016/01/29 03:06:53, Matt Giuca wrote: > > ...
4 years, 10 months ago (2016-01-29 03:24:04 UTC) #11
raymes
.js lgtm
4 years, 10 months ago (2016-01-31 23:54:41 UTC) #12
Matt Giuca
OK lgtm, I am convinced (as discussed, I think it is useful for a web ...
4 years, 10 months ago (2016-02-01 00:05:59 UTC) #13
Matthew Alger
4 years, 10 months ago (2016-02-01 06:22:42 UTC) #15
Message was sent while issue was closed.
Committed patchset #3 (id:60001) manually as
122627e4dfaf7e35e439b1f6a6250b56527b2496 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698