Confirmed users
1,905
edits
(→Requirements: why merging profiles is hard) |
(→Status) |
||
| (8 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
In order to test different user configurations and add-ons, a tool should be made to enable [http://support.mozilla.com/en-us/kb/Profiles | In order to test different user configurations and add-ons, a tool should be made to enable [http://support.mozilla.com/en-us/kb/Profiles profile] management. The existing profile manager will eventually go away (see {{bug|214675}}) and even more eventually be replaced by a new UI (see {{bug|540194}}). However, in the interim, a profile manager must be implemented for testing and triaging: {{bug|539524}}] | ||
''This is a work in progres'' | |||
== Status == | |||
There is a working alpha with most of requirements satisfied (and more being satisfied every day!): | |||
http://hg.mozilla.org/automation/profilemanager | |||
There are occasionally-updated builds available at: | |||
http://people.mozilla.org/~jgriffin/profilemanager/ | |||
== Requirements == | == Requirements == | ||
From | From {{bug|539524}} (see the bug for a more complete set): | ||
* the ability to clone or duplicate a profile | * the ability to clone or duplicate a profile | ||
| Line 30: | Line 42: | ||
* '''other:''' in general, all sorts of files live in a profile. This is why merging is hard. | * '''other:''' in general, all sorts of files live in a profile. This is why merging is hard. | ||
Because of this difficulty, merging profiles will not be part of the 2010 | Because of this difficulty, merging profiles will not be part of the 2010 Q3 goal. | ||
== Bugs == | == Bugs == | ||
| Line 36: | Line 48: | ||
List of bugs related to the project: | List of bugs related to the project: | ||
https://bugzilla.mozilla.org/buglist.cgi?resolution=---&resolution=DUPLICATE&query_format=advanced&component=ProfileManager&product=Testing | |||
Original spec/requirement bugs: | |||
== API = | * {{bug|539524}} | ||
* {{bug|214675}} | |||
* {{bug|540194}} | |||
== Architecture == | |||
* there is a unified API that deals with profile management: [http://hg.mozilla.org/automation/profilemanager/file/tip/chrome/content/profileManager.js profileManager.js] | |||
* there is a [https://developer.mozilla.org/en/XUL XUL] application that replaces that graphical profile manager currently in Firefox which consumes the API; most of the code is in [http://hg.mozilla.org/automation/profilemanager/file/tip/chrome/content/ui.js ui.js] | |||
* there should be a command line interface to the API to make testing and other non-interactive tasks straight-forward ''(TODO: https://bugzilla.mozilla.org/show_bug.cgi?id=586003 ) | |||
== Related resources == | == Related resources == | ||
| Line 48: | Line 69: | ||
* [[Auto-tools/Projects/AddonStartupPerf]] | * [[Auto-tools/Projects/AddonStartupPerf]] | ||
* http://support.mozilla.com/en-us/kb/Profiles | * http://support.mozilla.com/en-us/kb/Profiles | ||
* source code for profile management : http://hg.mozilla.org/mozilla-central/file/tip/profile | |||
=== Projects Using Profiles === | |||
Several projects are already related to profile management. Ideally, these should be consolidated (once relative stability is reached) and the innards of profile management should be documented. | |||
==== python projects ==== | |||
* mozrunner: http://github.com/mikeal/mozrunner/blob/master/mozrunner/__init__.py | |||
* automation.py: http://hg.mozilla.org/mozilla-central/file/tip/build/automation.py.in | |||
* ProfileManager: http://k0s.org/mozilla/hg/ProfileManager | |||