brewtarget-devs team mailing list archive
-
brewtarget-devs team
-
Mailing list archive
-
Message #00191
Re: Brewtarget Settings and User Directory
The 2nd option, definitely. That seems like the most generic and flexible
way.
Just out of curiosity, what are you going to do with two
concurrently-running instances?
On Sun, Oct 4, 2015 at 7:38 PM Maxime Lavigne <duguigne@xxxxxxxxx> wrote:
> Hello devs,
>
> I have a problem I wanted to solve and multiple way to solve it. I thought
> somebody might have an opinion on this.
>
> My goal is to have multiple instance of Brewtarget running side by side.
> At best, this would mean multiple instance of the same version, but at
> least I want different version to use different settings.
>
> The current QSettings are using the scope <user:scoped, brewtarget,
> brewtarget>. This means that all versions will store (and overwrite) all
> others configuration. Including user configuration dir.
>
> Anyway, here are the two suggested solutions :
>
> 1. Adding the version to the application name. Therefore changing
> brewtarget -> brewtarget-2.1.0. We would then have per-version Settings
>
> 2. Adding a Command Line Option user-data-dir that, if present, overwrite
> all other option. This would let me add this line to the shortcut and make
> sure that I can test without interference.
>
> So, what's your opinion?
>
> Maxime
> --
> Mailing list: https://launchpad.net/~brewtarget-devs
> Post to : brewtarget-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~brewtarget-devs
> More help : https://help.launchpad.net/ListHelp
>
References