Adapt mach esmify for comm-central
Categories
(Thunderbird :: Upstream Synchronization, task)
Tracking
(thunderbird_esr102 unaffected, thunderbird107 fixed)
Tracking | Status | |
---|---|---|
thunderbird_esr102 | --- | unaffected |
thunderbird107 | --- | fixed |
People
(Reporter: rjl, Assigned: rjl)
References
Details
Attachments
(1 file, 1 obsolete file)
mach esmify helps with esmification. As is, it probably isn't too useful for comm-central code.
![]() |
Assignee | |
Comment 1•3 years ago
|
||
Initial notes
The HGUtils class won't handle files in comm/
because it's a nested repo. It's inconvenient, but it's not a problem that hasn't been dealt with before. (Though completing comm-central one-repo project would help a lot here.)
Once HGUtils is hacked up, running ./mach esmify comm/mail
completes, but with numerous warnings "Unknown module" warnings during rewrite_imports
. That's probably because map.json
doesn't list anything from comm-central.
Last, the eslint step needs some adjustment. When ESLint runs in CI, it is run from the comm/
sub-directory like ../mach eslint
.
![]() |
Assignee | |
Comment 2•3 years ago
|
||
This won't work -- too much is relying on the javascript portion
living in /tools/esmify.
Updated•3 years ago
|
![]() |
Assignee | |
Comment 3•3 years ago
|
||
Depends on D155870
![]() |
Assignee | |
Updated•3 years ago
|
![]() |
Assignee | |
Updated•3 years ago
|
Updated•3 years ago
|
Pushed by martin@humanoids.be:
https://hg.mozilla.org/comm-central/rev/36e0a3e4b5bd
mach tb-esmify command. r=aleca
Updated•3 years ago
|
Updated•3 years ago
|
Comment 5•3 years ago
|
||
Great job Rob, thanks for getting this going!
Updated•3 years ago
|
Description
•