Closed
Bug 1338047
Opened 9 years ago
Closed 8 years ago
Migrate all taskcluster-lib-* libraries to use import/export syntax
Categories
(Taskcluster :: Services, defect)
Taskcluster
Services
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: jonasfj, Assigned: ydidwania, Mentored)
Details
(Keywords: good-first-bug)
This might be a good first bug.
Do one at the time... And probably upgrade downstream repositories using the libraries as well.
It's important to identify any difference in semantics when doing this.
I'm pretty sure there is a difference when we do:
import abc from 'abc';
in some downstream projects already.
Hence, doing doing 'export ...' only statements might not be enough, we probably
need to defined 'export default' to avoid problems.
| Reporter | ||
Comment 1•9 years ago
|
||
Before picking this as a bug, probably ask on #tc-contributors or #taskcluster, and we'll file a specific bug for specific service or library. One at the time is a good way consume cookies and bugs alike :)
Updated•9 years ago
|
Mentor: jopsen
Keywords: good-first-bug
| Assignee | ||
Comment 2•8 years ago
|
||
Hi, I would like to work on this bug. I have a limited experience of JS.
Updated•8 years ago
|
Assignee: nobody → didwaniayashvardhan
| Assignee | ||
Comment 3•8 years ago
|
||
I read up about the difference in the two syntax. I think now I can work on this.
I didn't find the taskcluster-lib-* files in mozilla-central repository. And we don't use github primarily.
So where should I start from?
Flags: needinfo?(dustin)
Comment 4•8 years ago
|
||
The repositories are on Github. Firefox itself doesn't use Github primarily, but lots of other Mozilla projects do. I've forgotten which library we talked about starting with, but https://github.com/taskcluster/taskcluster-lib-api is an example.
Flags: needinfo?(dustin)
| Assignee | ||
Comment 5•8 years ago
|
||
I made a PR on github (https://github.com/taskcluster/taskcluster-lib-api/pull/62) . For some reason it does not show up here as attachment. Maybe that is disabled.
I am facing few issues with the file taskcluster-lib-api/test/validate_test.js which I have mentioned on github.
Kindly take a look.
Flags: needinfo?(dustin)
Comment 6•8 years ago
|
||
I'm not sure exactly what causes pull requests to be reflected into bugzilla.. sometimes it happens, sometimes it doesn't :)
Flags: needinfo?(dustin)
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
Comment 7•8 years ago
|
||
For context, this was resolved as invalid because Node does not yet support import/export, and we want to stop using Babel for our services. Once this is fully supported in Node, we will start using it.
Updated•7 years ago
|
Component: Platform Libraries → Services
You need to log in
before you can comment on or make changes to this bug.
Description
•