Convert toolkit/mozapps/downloads to ES modules
Categories
(Toolkit :: Downloads API, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox114 | --- | fixed |
People
(Reporter: standard8, Assigned: tiwari.abhishektiwari23, Mentored)
References
(Blocks 1 open bug)
Details
(Keywords: good-first-bug, Whiteboard: [esmification-timeline][lang=js])
Attachments
(2 files, 2 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.
Reporter | ||
Updated•2 years ago
|
Reporter | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Depends on D172024
Updated•2 years ago
|
Assignee | ||
Comment 2•2 years ago
|
||
Depends on D172049
Assignee | ||
Comment 3•2 years ago
|
||
Depends on D172050
Assignee | ||
Comment 4•2 years ago
|
||
I have made all the changes, but I still think it requires some changes. I will work on them, and the number of commits is high because the error becomes visible only after making the commits, so please don't mind.
Thanks
Assignee | ||
Comment 5•2 years ago
|
||
I have deleted the file I was working on, so I am making a new patch for it. Thanks
Assignee | ||
Comment 6•2 years ago
|
||
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Reporter | ||
Comment 7•2 years ago
|
||
Hi Abhishek, are you still working on this? If you need help with the rebase, please ask in #introduction on Matrix.
Assignee | ||
Comment 8•2 years ago
|
||
I apologize for the delay in getting back to you. Last week, I was mostly inactive due to my exam in Infrastructure Economics, which took place today. (https://onlinecourses.nptel.ac.in/noc23_mg25/announcements?force=true) Now that the exam is over, I am available and will be able to handle this issue promptly. Thank you for your understanding.
Updated•2 years ago
|
Comment 10•2 years ago
|
||
bugherder |
Description
•