Add a RemoveProfile command line option

RESOLVED INCOMPLETE

Status

Core Graveyard
Profile: BackEnd
P5
normal
RESOLVED INCOMPLETE
6 years ago
2 years ago

People

(Reporter: vporof, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

6 years ago
Similar to -CreateProfile, a -RemoveProfile (or similar) should be nice. One use case for this is: we're creating a remote debugger, and we want it to be recursive (that is, 'debug the debugger'). In order to do this, we need a new separate process each time, and that means a new profile. In order to avoid polluting the profiles folder, cleaning up after ourselves would be a good idea.
(Reporter)

Comment 1

6 years ago
Ping? :)

Comment 2

6 years ago
I agree with this request, if and when the ProfileManager UI will be removed, this option will be necessary to delete a profile.
(Reporter)

Comment 3

6 years ago
(In reply to intendentedelleacque from comment #2)
> I agree with this request, if and when the ProfileManager UI will be
> removed, this option will be necessary to delete a profile.

We managed to workaround this by solely using nsIToolkitProfileService. So this bug can become a P5.
(Reporter)

Updated

6 years ago
Priority: -- → P5

Comment 4

6 years ago
(In reply to Victor Porof from comment #3)
 
> We managed to workaround this by solely using nsIToolkitProfileService. So
> this bug can become a P5.

nsIToolkitProfileService will be still available from a Firefox/Thunderbird instance, even when the ProfileManager UI will be removed?

Anyway this doesn't solve completely the problem, because nsIToolkitProfileService is not available in older versions (for example Thunderbird 3.1).

I'm asking this, because I'm working to extend my extension ProfileSwitcher so that the user can have an interface to add/delete profiles from a Firefox/Thunderbird instance.

If nsIToolkitProfileService is not available anymore in future and we have not  a "RemoveProfile" command line option, it will be impossible to write an extension (or run a command for power users) to delete a profile.

It would be quite inconsitent that, without the future ProfileManager, you can create a new profile (with -CreateProfile switch), but you can't delete a profile in any way (neither via command line nor with an extension).

Comment 5

2 years ago
This bug is filed in a bugzilla component related to pre-Firefox code which no longer exists. I believe it is no longer relevant and I am therefore closing it INCOMPLETE.

If you believe that this bug is still valid and needs to be fixed, please reopen it and move it to the Toolkit:Startup and Profile System product/component.
No longer blocks: 1243899
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → INCOMPLETE
(Assignee)

Updated

2 years ago
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.