Closed Bug 1392635 Opened 7 years ago Closed 7 years ago

Perform a last "sweep" and make sure devtools works without the SDK

Categories

(DevTools :: General, enhancement, P1)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 57

People

(Reporter: sole, Assigned: sole)

References

Details

(Whiteboard: [nosdk])

Before we declare DevTools "SDK free" we should run a series of "checks"

1) run egrep again to ensure there are no SDK mentions anywhere: egrep -Eoh "\"sdk/.*\"" -r devtools/ | sort | uniq -c
2) also do something similar to what has been done on bug 1350646 or Bug 1389469  when removing SDK modules from the Firefox tree: delete the actual SDK files and also delete mentions to them in the appropriate moz.build file. Then build Firefox and run tests, a try build... get things green or file follow up bugs as required.

At this point it is my understanding that other components such as Test Pilot are SDK free so it should be possible to remove the SDK completely and have working DevTools (once we're SDK free, of course)
Whiteboard: [nosdk] → [nosdk] [triage]
Flags: qe-verify-
Priority: -- → P2
Whiteboard: [nosdk] [triage] → [nosdk]
Assignee: nobody → spenades
Status: NEW → ASSIGNED
Priority: P2 → P1
Target Milestone: --- → Firefox 57
While

    egrep -Eoh "\"sdk/.*\"" -r devtools/ | sort | uniq -c

provides a *count* of appearances of "sdk/.*", the following:
 
    grep -ir "\"sdk/" devtools/*

provides a list of files and the specific string that matches, which is a tad more informative :-)
Blocks: 1368939
No longer blocks: 1350645
Blocks: 1350645
No longer blocks: 1368939
Depends on: 1392602
This was a successful try where addon-sdk was removed and devtools tests pass https://treeherder.mozilla.org/#/jobs?repo=try&revision=6e6396e26ce369a3d543cff720a428665ee0dd45

Kris, do you think this is covering all we need for devtools? Did I miss something?
Flags: needinfo?(kmaglione+bmo)
Well, Kris went further and he removed the addon-sdk folder in this bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1371065

I pulled the code from m-c when it landed, made a try build and ran the DevTools test suite. We seem to be safe, so I'll mark this bug as resolved (fingers crossed...)

https://treeherder.mozilla.org/#/jobs?repo=try&revision=c536dd20ce83f459f6b32fbe107e8862e317ca33&selectedJob=130988473
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Flags: needinfo?(kmaglione+bmo)
Resolution: --- → FIXED
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.