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

Issue 29762564: Issue 6625 - Expose webpack's resolve.alias to the packagers (Closed)

Created:
April 26, 2018, 8:41 a.m. by tlucas
Modified:
April 30, 2018, 5:58 p.m.
Reviewers:
Sebastian Noack, kzar
Visibility:
Public.

Description

Issue 6625 - Expose webpack's resolve.alias to the packagers We might want to adjust adblockpluschrome's README afterwards, to name this exposure and it's limits (i.e. only requires from the configured resolve_paths can be aliased)

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -17 lines) Patch
M README.md View 1 chunk +1 line, -0 lines 0 comments Download
M packagerChrome.py View 1 3 chunks +17 lines, -0 lines 1 comment Download
M tests/README.md View 1 chunk +1 line, -0 lines 0 comments Download
M tests/metadata.chrome View 1 chunk +1 line, -0 lines 0 comments Download
M tests/metadata.edge View 1 chunk +2 lines, -4 lines 3 comments Download
M tests/test_packagerWebExt.py View 2 chunks +16 lines, -1 line 0 comments Download
M webpack_runner.js View 2 chunks +2 lines, -12 lines 0 comments Download

Messages

Total messages: 11
tlucas
Patch Set 1 * Expose resolve.alias fully to create_bundles()
April 26, 2018, 8:44 a.m. (2018-04-26 08:44:06 UTC) #1
Sebastian Noack
https://codereview.adblockplus.org/29762564/diff/29762565/packagerChrome.py File packagerChrome.py (right): https://codereview.adblockplus.org/29762564/diff/29762565/packagerChrome.py#newcode17 packagerChrome.py:17: import ConfigParser Nit: ConfigParser is a corelib module. So ...
April 26, 2018, 11:30 a.m. (2018-04-26 11:30:39 UTC) #2
tlucas
Patch Set 2 * Addressed Sebastian's comments https://codereview.adblockplus.org/29762564/diff/29762565/packagerChrome.py File packagerChrome.py (right): https://codereview.adblockplus.org/29762564/diff/29762565/packagerChrome.py#newcode17 packagerChrome.py:17: import ConfigParser ...
April 26, 2018, 11:40 a.m. (2018-04-26 11:40:58 UTC) #3
Sebastian Noack
LGTM. But I want kzar to review this change as well, since he is a ...
April 26, 2018, 3:10 p.m. (2018-04-26 15:10:27 UTC) #4
tlucas
On 2018/04/26 15:10:27, Sebastian Noack wrote: > LGTM. But I want kzar to review this ...
April 27, 2018, 9:09 a.m. (2018-04-27 09:09:09 UTC) #5
kzar
I would have preferred it if we could have figured out a way to work ...
April 30, 2018, 11:05 a.m. (2018-04-30 11:05:08 UTC) #6
tlucas
Hey Dave, thanks for your comments! Please find the discussion below, cheers! https://codereview.adblockplus.org/29762564/diff/29762578/tests/metadata.edge File tests/metadata.edge ...
April 30, 2018, 1:01 p.m. (2018-04-30 13:01:06 UTC) #7
kzar
https://codereview.adblockplus.org/29762564/diff/29762578/tests/metadata.edge File tests/metadata.edge (right): https://codereview.adblockplus.org/29762564/diff/29762578/tests/metadata.edge#newcode43 tests/metadata.edge:43: mogo = edge On 2018/04/30 13:01:06, tlucas wrote: > ...
April 30, 2018, 1:53 p.m. (2018-04-30 13:53:13 UTC) #8
kzar
https://codereview.adblockplus.org/29762564/diff/29762578/packagerChrome.py File packagerChrome.py (right): https://codereview.adblockplus.org/29762564/diff/29762578/packagerChrome.py#newcode171 packagerChrome.py:171: aliases.update(params['metadata'].items('module_alias')) I guess maybe we should make the vales ...
April 30, 2018, 2 p.m. (2018-04-30 14:00:14 UTC) #9
kzar
Tristan and I discussed this for a while in IRC today, the summary seems to ...
April 30, 2018, 5:37 p.m. (2018-04-30 17:37:31 UTC) #10
tlucas
April 30, 2018, 5:58 p.m. (2018-04-30 17:58:16 UTC) #11
On 2018/04/30 17:37:31, kzar wrote:
> Tristan and I discussed this for a while in IRC today, the summary seems to be
> that neither of us are 100% sure how aliases work with regards to relative and
> absolute paths. Tristan is going to do some experimenting to make sure his
> implementation as it stands can be used in practice for what we want
(replacing
> one module with another depending on the target build), but assuming that it
can
> then this LGTM.

I could confirm that this change does, what it's supposed to do (with the
example of #6621)
I also added some integration notes to #6625, in order to mention this machinery
in the README's after updating to the new revision.

Powered by Google App Engine
This is Rietveld