Closed Bug 1648858 Opened 4 years ago Closed 4 years ago

Move d3.js from devtools/ to third_party/

Categories

(Toolkit :: General, task, P2)

task

Tracking

()

RESOLVED FIXED
mozilla80
Tracking Status
firefox80 --- fixed

People

(Reporter: MattN, Assigned: MattN)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

Attachments

(4 files)

Bug 1303176 would like to use d3-dsv for csvparse and that's already in-tree as part of d3.js so I think it makes sense to move it to toolkit so it can be shared.

If you agree with vendoring in toolkit/vendor/ then I can also move others such as toolkit/components/jsoncpp and toolkit/components/protobuf.

Depends on D81436

(In reply to Matthew N. [:MattN] from comment #3)

If you agree with vendoring in toolkit/vendor/ then I can also move others such as toolkit/components/jsoncpp and toolkit/components/protobuf.

I'm now starting to change my mind about this… maybe I should vendor in /third_party/js/d3/d3.js as I see other code not in toolkit/ that does chrome registration in toolkit.jar e.g. https://searchfox.org/mozilla-central/source/layout/style/jar.mn. My current patch would be adding one more place people could vendor, adding to the decision process and I'm not sure I see much benefit over toolkit/ if we're fine with a jar.mn in /third_party. Dave, which do you prefer? Or do you have another suggestion?

Flags: needinfo?(dtownsend)

We should upgrade to an even newer version but I don't want to break the devtools memory toolbox with a potential breaking change in 4.x.
This should allow using parts of d3.js without a document e.g. d3-dsv.

Attachment #9159870 - Attachment description: Bug 1648858 - Allow BSD-3-Clause license in moz.yaml. r=mhoye → Bug 1648858 - Allow BSD-3-Clause, CC0-1.0, Unlicense, WTFPL, & Zlib licenses in moz.yaml. r=mhoye
Pushed by mozilla@noorenberghe.ca:
https://hg.mozilla.org/integration/autoland/rev/3a9ae16f63c9
Replace reference to Makefile.in with moz.build in sqlite3/README.MOZILLA. r=mossop
https://hg.mozilla.org/integration/autoland/rev/f5770886187d
Allow BSD-3-Clause, CC0-1.0, Unlicense, WTFPL, & Zlib licenses in moz.yaml. r=mhoye
https://hg.mozilla.org/integration/autoland/rev/1622eb497b04
Move d3.js from devtools/ to toolkit/. r=mossop
https://hg.mozilla.org/integration/autoland/rev/2a107eabe00c
Update d3.js to latest 3.x version (3.5.17). r=mossop

(In reply to Matthew N. [:MattN] from comment #4)

(In reply to Matthew N. [:MattN] from comment #3)

If you agree with vendoring in toolkit/vendor/ then I can also move others such as toolkit/components/jsoncpp and toolkit/components/protobuf.

I'm now starting to change my mind about this… maybe I should vendor in /third_party/js/d3/d3.js as I see other code not in toolkit/ that does chrome registration in toolkit.jar e.g. https://searchfox.org/mozilla-central/source/layout/style/jar.mn. My current patch would be adding one more place people could vendor, adding to the decision process and I'm not sure I see much benefit over toolkit/ if we're fine with a jar.mn in /third_party. Dave, which do you prefer? Or do you have another suggestion?

Oh sorry totally missed this. I think /third_party is probably a good options, though if you've already landed I don't think it's worth changing.

Flags: needinfo?(dtownsend)
Attachment #9159871 - Attachment description: Bug 1648858 - Move d3.js from devtools/ to toolkit/. r=Mossop → Bug 1648858 - Move d3.js from devtools/ to third_party/js/. r=Mossop
Pushed by mozilla@noorenberghe.ca:
https://hg.mozilla.org/integration/autoland/rev/8ae692d68b1b
Replace reference to Makefile.in with moz.build in sqlite3/README.MOZILLA. r=mossop
https://hg.mozilla.org/integration/autoland/rev/816eaac72512
Allow BSD-3-Clause, CC0-1.0, Unlicense, WTFPL, & Zlib licenses in moz.yaml. r=mhoye
https://hg.mozilla.org/integration/autoland/rev/3a1b5e883a4e
Move d3.js from devtools/ to third_party/js/. r=mossop
https://hg.mozilla.org/integration/autoland/rev/5a612e42b77d
Update d3.js to latest 3.x version (3.5.17). r=mossop

I'll go with third_party/js/ to simplify things a bit then.

Flags: needinfo?(MattN+bmo)
Pushed by mozilla@noorenberghe.ca:
https://hg.mozilla.org/integration/autoland/rev/0ccf9b057fe1
Replace reference to Makefile.in with moz.build in sqlite3/README.MOZILLA. r=mossop
https://hg.mozilla.org/integration/autoland/rev/36fe4ce13340
Allow BSD-3-Clause, CC0-1.0, Unlicense, WTFPL, & Zlib licenses in moz.yaml. r=mhoye
https://hg.mozilla.org/integration/autoland/rev/94f58715cbde
Move d3.js from devtools/ to third_party/js/. r=mossop
https://hg.mozilla.org/integration/autoland/rev/8ead55149095
Update d3.js to latest 3.x version (3.5.17). r=mossop

Don't think I've broken SM builds before…

Flags: needinfo?(MattN+bmo)
Flags: needinfo?(MattN+bmo)
Summary: Move d3.js from devtools/ to toolkit/ → Move d3.js from devtools/ to third_party/
Pushed by mozilla@noorenberghe.ca:
https://hg.mozilla.org/integration/autoland/rev/05899359d009
Replace reference to Makefile.in with moz.build in sqlite3/README.MOZILLA. r=mossop
https://hg.mozilla.org/integration/autoland/rev/fe1888836b94
Allow BSD-3-Clause, CC0-1.0, Unlicense, WTFPL, & Zlib licenses in moz.yaml. r=mhoye
https://hg.mozilla.org/integration/autoland/rev/8f3bdf366147
Move d3.js from devtools/ to third_party/js/. r=mossop
https://hg.mozilla.org/integration/autoland/rev/1de371f3cb2d
Update d3.js to latest 3.x version (3.5.17). r=mossop
Regressions: 1650437
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: