Or even simpler. My usage is for working on some file during train or
when away from home. So I do not want to have all pictures locally just
a specific set of them. In this case why not just copy the original image.

I would propose something like this:

1. A way to select the images to "cache" from the lighttable

2. Caching means copying the file under ~/.cache/darktable/cache and
   setting a boolean into the database (cache status).

3. The name of the cached files in ~/.cache/darktable/cache are SHA-1
   of the original full pathname.

4. When entering the darkroom if the original image is not accessible
   check if the image has been cached (cache status) locally. If so,
   just load it.

5. If working on a copy of the file, never create a .xmp, not
   needed/required.

6. A way to reset the cache status, in that case the local copy of the
   original file can simply be deleted.

Nothing else to do.

The last part is recreating the .xmp when the original file is
accessible, some changes have been made and the preference is to always
create xmp.

How does that sounds?

Pascal.

-- 
  Pascal Obry /  Magny Les Hameaux (78)

  The best way to travel is by means of imagination

  http://v2p.fr.eu.org
  http://www.obry.net

  gpg --keyserver keys.gnupg.net --recv-key F949BD3B

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to