Closed Bug 1032789 Opened 10 years ago Closed 10 years ago

GCLI should pull together the various plugin points into a 'system' so we know what needs what

Categories

(DevTools :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 33

People

(Reporter: jwalker, Assigned: jwalker)

References

Details

Attachments

(1 file)

Currently commands and types are encapsulated in objects, but the registered converters are stored at the module level. Better if all pluggable things are stored in objects in the same way.
This will make the client/server switch easier (bug 1032785).
Refactoring patch for GCLI.

In essence it takes the various plug-in points and unifies the way they work. There is one manager class for each of them now, and there is a single object that points to them all, called 'system'. Not complex just churn.

The easiest place to follow the changes is probably here: https://github.com/joewalker/gcli/pull/74
I merged those changes into the mozilla branch here: https://github.com/mozilla/gcli/pull/19 but that's got separate merge commits, so everything appears twice.

Probably the best review strategy is to read the change descriptions in the first pull request and then look on splinter.
Assignee: nobody → jwalker
Status: NEW → ASSIGNED
Attachment #8451594 - Flags: review?(mratcliffe)
Comment on attachment 8451594 [details] [diff] [review]
0001-Bug-1032789-Pull-together-the-various-GCLI-plugin-po.patch

Review of attachment 8451594 [details] [diff] [review]:
-----------------------------------------------------------------

I really like this patch, r+.
Attachment #8451594 - Flags: review?(mratcliffe) → review+
https://hg.mozilla.org/mozilla-central/rev/ed3d46b267f5
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → Firefox 33
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: