Auto-tools/Projects/ProfileManager: Difference between revisions

(→‎Requirements: why merging profiles is hard)
 
(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|profile] management.  The existing profile manager will eventually go away (see [https://bugzilla.mozilla.org/show_bug.cgi?id=214675|bug 214675]) and even more eventually be replaced by a new UI (see [https://bugzilla.mozilla.org/show_bug.cgi?id=540194|bug 540194]).  However, in the interim, a profile manager must be implemented for testing and triaging: [https://bugzilla.mozilla.org/show_bug.cgi?id=539524|bug 539524]
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 [https://bugzilla.mozilla.org/show_bug.cgi?id=539524|bug 539524] (see the bug for a more complete set):
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 Q2 goal.
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/show_bug.cgi?id=539524|bug 539524]
https://bugzilla.mozilla.org/buglist.cgi?resolution=---&resolution=DUPLICATE&query_format=advanced&component=ProfileManager&product=Testing
* [https://bugzilla.mozilla.org/show_bug.cgi?id=214675|bug 214675]
 
* [https://bugzilla.mozilla.org/show_bug.cgi?id=540194|bug 540194]
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 )


''FILL ME IN!''


== 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
Confirmed users
1,905

edits