Convert toolkit/crashreporter to ES modules
Categories
(Toolkit :: Crash Reporting, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox113 | --- | fixed |
People
(Reporter: standard8, Assigned: ianiket23, Mentored)
References
Details
(Keywords: good-first-bug, Whiteboard: [esmification-timeline][lang=js])
Attachments
(1 file, 3 obsolete files)
I'm happy to mentor work towards this bug. Please don't ask to be assigned to it, though you can say you're working on it. You'll be automatically assigned when you upload the first patches.
Here's what to do:
- Make sure you have a local build of Firefox up and running. Use these instructions if you haven't already.
- If you need help setting up, ask in #introduction on Matrix
- Using the ESMification walkthrough as a guide:
- Run
./mach esmify --convert path/to/files
- Examine the output for any errors from ESLint and fix them.
- Commit the changes with a commit messages such as "Bug nnnnnn - Convert path/to/files to ES modules. r?Standard8"
- Next convert the imports -
./mach esmify --import . --prefix path/to/files
- Again, check for any errors and fix them.
- Run a build to check it passes.
- Also run
./mach eslint --fix path/to/files
and check there are no raised failures - Commit the changes with a commit message such as "Bug nnnnnn - Convert consumers of path/to/files to import ES modules directly. r?Standard8"
- Run
- Use
moz-phab submit
to submit the patches for review.
Updated•3 years ago
|
Hey Mark, I submitted my patch. This is my first open source contribution! Please let me know if I did something wrong:)
Reporter | ||
Comment 7•3 years ago
|
||
(In reply to ianiket23 from comment #6)
D171967 is the most recent revision. It passes the test.
When modifying code, please don't create new revisions, but modify your existing commit - see the documentation here for how to do that.
Also, please can you abandon the unwanted revisions - to do that, go into each revision on phabricator, and scroll down to the bottom. Just above the comment box, there is an action box that lets you select "Abandon Revision", you can then submit that and it'll be marked as obsolete.
Updated•3 years ago
|
Updated•3 years ago
|
(In reply to Mark Banner (:standard8) from comment #7)
(In reply to ianiket23 from comment #6)
D171967 is the most recent revision. It passes the test.
When modifying code, please don't create new revisions, but modify your existing commit - see the documentation here for how to do that.
Also, please can you abandon the unwanted revisions - to do that, go into each revision on phabricator, and scroll down to the bottom. Just above the comment box, there is an action box that lets you select "Abandon Revision", you can then submit that and it'll be marked as obsolete.
I will do that for next time!
Also, I abandoned the unwanted revision.
Reporter | ||
Comment 9•3 years ago
|
||
Did you see my comments on the phabricator revision? It seems that the wrong patch is in the queue.
Updated•3 years ago
|
Assignee | ||
Comment 11•3 years ago
|
||
Assignee | ||
Comment 12•3 years ago
|
||
I submitted a new revision!
Assignee | ||
Comment 13•3 years ago
|
||
I reverted the changes you asked for
Comment 14•3 years ago
|
||
Comment 15•3 years ago
|
||
bugherder |
Description
•