Am Freitag, 4. April 2014, 15:04:02 schrieb Kevin:
> I tried to do a "proof of concept" implementation of a "--style" option -
> but failed due to database issues.
> 
> It appears that the cli does not use the dt database and so things like
> styles are not available.
> 
> Can someone with more knowledge of the system confirm this?
> 
> I can understand why it may be undesirable to have, perhaps multiple
> instances of, the cli concurrently accessing the database when the gui may
> be active - if the cli updates the database..
> 
> Does the cli need update access to the db?

No, and using anything from the database is certainly not advised. If I ever 
find the time I will probably rewrite dt-cli to not use a database at all and 
maybe even skip the usage of dt_init() so that the --core would go away, too. 
That is all just slow and bloat. That tool isn't meant to be a remote control 
of darktable (using --core --library ~/.config/darktable/library.db you could 
even import images from the command line without having a running dt around) 
but a tool that can be used like convert: take an image + an XMP and process 
it. No styles, no presets, no database magic.

> There does appear to be the creation of some temporary tables done when the
> database is opened by the gui, but are these tables required in the cli?
> 
> Kevin

Tobias

[...]

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees_APR
_______________________________________________
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to