Closed
Bug 609421
Opened 14 years ago
Closed 14 years ago
Combine various JSMs
Categories
(Firefox :: Sync, defect)
Firefox
Sync
Tracking
()
RESOLVED
FIXED
People
(Reporter: philikon, Assigned: philikon)
References
Details
(Keywords: perf, Whiteboard: [qa-])
Attachments
(5 files)
47.69 KB,
patch
|
rnewman
:
review+
|
Details | Diff | Splinter Review |
29.24 KB,
patch
|
rnewman
:
review+
|
Details | Diff | Splinter Review |
70.98 KB,
patch
|
rnewman
:
review+
|
Details | Diff | Splinter Review |
16.81 KB,
patch
|
rnewman
:
review+
|
Details | Diff | Splinter Review |
793 bytes,
patch
|
rnewman
:
review+
|
Details | Diff | Splinter Review |
* all type_record/* files can be merged with the relevant engines/* files
* the base_record/* files can be merged into one (top-level) file
* tracker.js and store.js can be merged into engines.js
Comment 1•14 years ago
|
||
Would be nice to wait for Bug 603489 before attempting this; otherwise it'd be a hell of a merge.
Depends on: 603489
Assignee | ||
Comment 2•14 years ago
|
||
status.js can be merged into main.js.
(Rationale: While we want to keep main.js as lightweight as possible, as not to penalize users who don't use Sync, we don't have to worry about about status.js: anybody who wants to check whether Sync is configured will import main.js and call Weave.Status.checkSetup() which will import status.js anyway.)
Assignee | ||
Comment 3•14 years ago
|
||
auth.js can be merged into resource.js
Assignee | ||
Comment 4•14 years ago
|
||
Combine type_record/* files with their respective engines/* counterparts
Assignee | ||
Comment 5•14 years ago
|
||
Attachment #504624 -
Flags: review?(rnewman)
Assignee | ||
Comment 6•14 years ago
|
||
Attachment #504626 -
Flags: review?(rnewman)
Assignee | ||
Comment 7•14 years ago
|
||
auth.js and resource.js are very much designed to work together, so let's combine them.
Attachment #504629 -
Flags: review?(rnewman)
Comment 8•14 years ago
|
||
Comment on attachment 504619 [details] [diff] [review]
Part 1: Death to type_records
[Checked in: See comment 19]
Thanks for arranging these patches neatly :)
I'm going to review in layers, too. This one is good.
Attachment #504619 -
Flags: review?(rnewman) → review+
Updated•14 years ago
|
Attachment #504624 -
Flags: review?(rnewman) → review+
Comment 9•14 years ago
|
||
Comment on attachment 504626 [details] [diff] [review]
Part 3: Combine base_record/* files into record.js
[Checked in: Seec omment 17]
Looks good.
Patch failed to apply on one of the tests, which is bizarre, because it's a trivial change.
Easy to fix by hand, and produces a patch of the same size, so I'm not concerned.
Attachment #504626 -
Flags: review?(rnewman) → review+
Comment 10•14 years ago
|
||
Comment on attachment 504629 [details] [diff] [review]
Part 4: Combine auth.js and resource.js
[Checked in: See comment 15]
As mentioned on IRC, these patches as presented need a little fiddling to apply, but you're probably all set in your queue.
Attachment #504629 -
Flags: review?(rnewman) → review+
Assignee | ||
Comment 11•14 years ago
|
||
Part 1: https://hg.mozilla.org/services/fx-sync/rev/3fd7feaf01db
Part 2: https://hg.mozilla.org/services/fx-sync/rev/355020081192
Part 3: https://hg.mozilla.org/services/fx-sync/rev/d7e68780d2e2
Part 4: https://hg.mozilla.org/services/fx-sync/rev/7080fdd0c506
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 12•14 years ago
|
||
Attachment #505193 -
Flags: review?(rnewman)
Comment 13•14 years ago
|
||
Comment on attachment 505193 [details] [diff] [review]
small follow up to fix copypasta
Looks like it should be there, so thumbs up.
(Confirmed in IRC that this fixes CW failures.)
(Still have no idea why it doesn't fail on my machine.)
Attachment #505193 -
Flags: review?(rnewman) → review+
Assignee | ||
Comment 14•14 years ago
|
||
Landed copypasta fix: https://hg.mozilla.org/services/fx-sync/rev/97b56ae1a5ce
Updated•14 years ago
|
Whiteboard: [qa-]
Comment 15•13 years ago
|
||
Comment on attachment 504629 [details] [diff] [review]
Part 4: Combine auth.js and resource.js
[Checked in: See comment 15]
http://hg.mozilla.org/mozilla-central/rev/11935a5a21ad
without patch Makefile.in part.
Attachment #504629 -
Attachment description: Part 4: Combine auth.js and resource.js → Part 4: Combine auth.js and resource.js
[Checked in: See comment 15]
Comment 16•13 years ago
|
||
(In reply to Serge Gautherie (:sgautherie) from comment #15)
> without patch Makefile.in part.
s/Makefile.in/Makefile/
Comment 17•13 years ago
|
||
Comment on attachment 504626 [details] [diff] [review]
Part 3: Combine base_record/* files into record.js
[Checked in: Seec omment 17]
http://hg.mozilla.org/mozilla-central/rev/50fd43f87ff4
without Makefile part
Attachment #504626 -
Attachment description: Part 3: Combine base_record/* files into record.js → Part 3: Combine base_record/* files into record.js
[Checked in: Seec omment 17]
Comment 18•13 years ago
|
||
Comment on attachment 504624 [details] [diff] [review]
Part 2: Move store and tracker implementation into engines.js
[Checked in: See comment 18]
http://hg.mozilla.org/mozilla-central/rev/cb0da1fdfe9e
without Makefile part
Attachment #504624 -
Attachment description: Part 2: Move store and tracker implementation into engines.js → Part 2: Move store and tracker implementation into engines.js
[Checked in: See comment 18]
Comment 19•13 years ago
|
||
Comment on attachment 504619 [details] [diff] [review]
Part 1: Death to type_records
[Checked in: See comment 19]
http://hg.mozilla.org/mozilla-central/rev/636b5048b1a1
without Makefile part
Attachment #504619 -
Attachment description: Part 1: Death to type_records → Part 1: Death to type_records
[Checked in: See comment 19]
Updated•6 years ago
|
Component: Firefox Sync: Backend → Sync
Product: Cloud Services → Firefox
You need to log in
before you can comment on or make changes to this bug.
Description
•