Is config stored in the DB?

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Is config stored in the DB?

Michael Rasmussen-2
Is the Digikam configuration all stored in the database?

I'd like to run two independent instances of Digikam to facilitate cleaning up my self inflicted mess.
One instance would point to the current data store, the other to the new data store as I'll migrate content to.

By data store I mean the collection folder on the computer.


--
      Michael Rasmussen, Portland Oregon  
    Be Appropriate && Follow Your Curiosity
Man, if you have to ask what it is, you'll never know.
    ~ Louis Armstrong
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Is config stored in the DB?

Gilles Caulier-4
Look into you home directory, ./config/... digikamrc.

All settings is stored in this text file.

Gilles Caulier

2016-07-11 21:37 GMT+02:00 Michael Rasmussen <[hidden email]>:
Is the Digikam configuration all stored in the database?

I'd like to run two independent instances of Digikam to facilitate cleaning up my self inflicted mess.
One instance would point to the current data store, the other to the new data store as I'll migrate content to.

By data store I mean the collection folder on the computer.


--
      Michael Rasmussen, Portland Oregon
    Be Appropriate && Follow Your Curiosity
Man, if you have to ask what it is, you'll never know.
    ~ Louis Armstrong
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Is config stored in the DB?

Michael Rasmussen-2

From examining that I see no references to the collection of photos on the physical drive.

This, I believe, means I can do something like:

    digikam --database-directory /path/to/new/database

and  it will act upon the collections defined in that database.

Settings, UI elements, and everything except for the databases and their managed photo collections will be shared.

Is this correct?
If so I can edit my system menus to create two launch points for digikam and run them independently.

Please advise if there might be a problem with this idea.

Not to worry - I have my full photo collection backed up on another computer.



On Mon, Jul 11, 2016 at 09:43:17PM +0200, Gilles Caulier wrote:

> Look into you home directory, ./config/... digikamrc.
>
> All settings is stored in this text file.
>
> Gilles Caulier
>
> 2016-07-11 21:37 GMT+02:00 Michael Rasmussen <[hidden email]>:
>
> > Is the Digikam configuration all stored in the database?
> >
> > I'd like to run two independent instances of Digikam to facilitate
> > cleaning up my self inflicted mess.
> > One instance would point to the current data store, the other to the new
> > data store as I'll migrate content to.
> >
> > By data store I mean the collection folder on the computer.
> >
> >
> > --
> >       Michael Rasmussen, Portland Oregon
> >     Be Appropriate && Follow Your Curiosity
> > Man, if you have to ask what it is, you'll never know.
> >     ~ Louis Armstrong
> > _______________________________________________
> > Digikam-users mailing list
> > [hidden email]
> > https://mail.kde.org/mailman/listinfo/digikam-users
> >

> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users


--
      Michael Rasmussen, Portland Oregon  
    Be Appropriate && Follow Your Curiosity
Art is television for smart people.
    ~ Dale O'Dell
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Is config stored in the DB?

Andrew Goodbody
In reply to this post by Gilles Caulier-4
Except the path to the root of the collection which would really help in
running the same db from different machines. Ideally all paths in the db
should be relative to the root and the root should come from digikamrc.
This will also make it easier to relocate the collection or replace a
failing disk by avoiding any need to hand edit the db.

Andrew

On 11/07/16 20:43, Gilles Caulier wrote:

> Look into you home directory, ./config/... digikamrc.
>
> All settings is stored in this text file.
>
> Gilles Caulier
>
> 2016-07-11 21:37 GMT+02:00 Michael Rasmussen <[hidden email]
> <mailto:[hidden email]>>:
>
>     Is the Digikam configuration all stored in the database?
>
>     I'd like to run two independent instances of Digikam to facilitate
>     cleaning up my self inflicted mess.
>     One instance would point to the current data store, the other to the
>     new data store as I'll migrate content to.
>
>     By data store I mean the collection folder on the computer.
>
>
>     --
>           Michael Rasmussen, Portland Oregon
>         Be Appropriate && Follow Your Curiosity
>     Man, if you have to ask what it is, you'll never know.
>         ~ Louis Armstrong
>     _______________________________________________
>     Digikam-users mailing list
>     [hidden email] <mailto:[hidden email]>
>     https://mail.kde.org/mailman/listinfo/digikam-users
>
>
>
>
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
>
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Is config stored in the DB?

Michael Rasmussen
Quick thoughts:
That implies the path to the root of the collection is the same on each machine.

That information to the path of the album is stored in the db.  Excellent for my use.

If all paths in the DB are relative to a Digikam root how is it to handle file system
paths that do not share a common root?


On Mon, Jul 11, 2016 at 09:25:07PM +0100, Andrew Goodbody wrote:

> Except the path to the root of the collection which would really
> help in running the same db from different machines. Ideally all
> paths in the db should be relative to the root and the root should
> come from digikamrc. This will also make it easier to relocate the
> collection or replace a failing disk by avoiding any need to hand
> edit the db.
>
> Andrew
>
> On 11/07/16 20:43, Gilles Caulier wrote:
> >Look into you home directory, ./config/... digikamrc.
> >
> >All settings is stored in this text file.
> >
> >Gilles Caulier
> >
> >2016-07-11 21:37 GMT+02:00 Michael Rasmussen <[hidden email]
> ><mailto:[hidden email]>>:
> >
> >    Is the Digikam configuration all stored in the database?
> >
> >    I'd like to run two independent instances of Digikam to facilitate
> >    cleaning up my self inflicted mess.
> >    One instance would point to the current data store, the other to the
> >    new data store as I'll migrate content to.
> >
> >    By data store I mean the collection folder on the computer.
> >
> >
> >    --
> >          Michael Rasmussen, Portland Oregon
> >        Be Appropriate && Follow Your Curiosity
> >    Man, if you have to ask what it is, you'll never know.
> >        ~ Louis Armstrong
> >    _______________________________________________
> >    Digikam-users mailing list
> >    [hidden email] <mailto:[hidden email]>
> >    https://mail.kde.org/mailman/listinfo/digikam-users
> >
> >
> >
> >
> >_______________________________________________
> >Digikam-users mailing list
> >[hidden email]
> >https://mail.kde.org/mailman/listinfo/digikam-users
> >
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users

--
      Michael Rasmussen, Portland Oregon  
    Be Appropriate && Follow Your Curiosity
We are all apprentices in a craft where no one ever becomes a master.
    ~ Ernest Hemingway
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Is config stored in the DB?

Andrew Goodbody
On 11/07/16 21:38, Michael Rasmussen wrote:
> Quick thoughts:
> That implies the path to the root of the collection is the same on each machine.

That is what you have to do now as it stands unless you know the
undocumented hand edits you can make to the db to add multiple roots to
the same collection. With my suggestion each machine could have its own
digikamrc file and hence allow having different paths to the root of
each collection.

> That information to the path of the album is stored in the db.  Excellent for my use.

Without you telling us what your use is I cannot answer this.

> If all paths in the DB are relative to a Digikam root how is it to handle file system
> paths that do not share a common root?

Not a digikam root but a collection root. digikam allows you to have
more than one collection.

Andrew

>
> On Mon, Jul 11, 2016 at 09:25:07PM +0100, Andrew Goodbody wrote:
>> Except the path to the root of the collection which would really
>> help in running the same db from different machines. Ideally all
>> paths in the db should be relative to the root and the root should
>> come from digikamrc. This will also make it easier to relocate the
>> collection or replace a failing disk by avoiding any need to hand
>> edit the db.
>>
>> Andrew
>>
>> On 11/07/16 20:43, Gilles Caulier wrote:
>>> Look into you home directory, ./config/... digikamrc.
>>>
>>> All settings is stored in this text file.
>>>
>>> Gilles Caulier
>>>
>>> 2016-07-11 21:37 GMT+02:00 Michael Rasmussen <[hidden email]
>>> <mailto:[hidden email]>>:
>>>
>>>    Is the Digikam configuration all stored in the database?
>>>
>>>    I'd like to run two independent instances of Digikam to facilitate
>>>    cleaning up my self inflicted mess.
>>>    One instance would point to the current data store, the other to the
>>>    new data store as I'll migrate content to.
>>>
>>>    By data store I mean the collection folder on the computer.
>>>
>>>
>>>    --
>>>          Michael Rasmussen, Portland Oregon
>>>        Be Appropriate && Follow Your Curiosity
>>>    Man, if you have to ask what it is, you'll never know.
>>>        ~ Louis Armstrong
>>>    _______________________________________________
>>>    Digikam-users mailing list
>>>    [hidden email] <mailto:[hidden email]>
>>>    https://mail.kde.org/mailman/listinfo/digikam-users
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Digikam-users mailing list
>>> [hidden email]
>>> https://mail.kde.org/mailman/listinfo/digikam-users
>>>
>> _______________________________________________
>> Digikam-users mailing list
>> [hidden email]
>> https://mail.kde.org/mailman/listinfo/digikam-users
>
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users