I don't think we need inotify or some "live" notifier. I think people
should close one program before to start the new one, especially
considering that there is no lock mechanism defined using xmp. Anyway I
think it should be user settable, and possibly also to select what part
should be refreshed.

My user cases are:
- using an external georeferencing/geotagging tool (I usually curios to
quick check my photo, before to do the geotagging)
- handling keywords outside darktable (bulk changes)

BTW git can scan for modified file very fast (e.g. on kernel, 44k files).
Probably we should check how git work. I think git store modification data
of directories, so not to traverse untouched subtrees.

ciao
    cate


On Mon, Oct 14, 2013 at 3:26 PM, Rob Z. Smith <rzsm...@nhbc.co.uk> wrote:

>
>
> I’ve found it very easy and efficient to do that sort of stuff with
>  ‘inotify’ where you can pretty much instantly call an application/script
> based on system  file-open/close/modify/read  event and don’t need to do
> any scanning.  It only works on files or directories though – not a
> hierarchical directory tree.
>
>
>
> Rgds,
>
> Rob.
>
>
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> I  think you would need to setup some file system notification thing to
> find out if and when an xmp file changed. i have no idea how you would do
> that if dt isn't running already. you would need to rescan all your xmp
> (several 10k for me) at startup. unless there is a clever way to prune that
> (hierarchical checksums with support in the file system..?) i think i'm not
> willing to pay the performance penalty for this..
>
> you can also re-read the xmp as soon as an image turns up in lighttable
> mode.. but that would not read new tags etc which potentially affect your
> collection. so if you collect by a certain tag and load xmp on demand your
> lighttable view might jump and keep adding/removing images.
>
> j.
>
>
>
>
> This email is confidential and is intended for the addressee only. If you
> are not the addressee, please delete the email and do not use it in any
> way. Please note that any views or opinions presented in this email are
> solely those of the author and do not necessarily represent those of the
> company. NHBC reserves the right to monitor all email communications. The
> recipient should check this email and any attachments for the presence of
> viruses. The company accepts no liability for any damage caused by any
> virus transmitted by this email. NHBC, the National House-Building Council,
> is limited by guarantee in England, No 320784. Registered address: NHBC
> House, Davy Avenue, Knowlhill, Milton Keynes MK5 8FP. NHBC is authorised by
> the Prudential Regulation Authority and regulated by the Financial Conduct
> Authority and Prudential Regulation Authority. NHBC Building Control
> Services Ltd, registered by guarantee in England with Company No. 01952969.
> Registered address: NHBC House, Davy Avenue, Knowlhill, Milton Keynes MK5
> 8FP. NHBC Services Ltd registered by guarantee in England, No 03067703.
> Registered address: NHBC House, Davy Avenue, Knowlhill, Milton Keynes MK5
> 8FP. If you make a claim under a Buildmark policy your personal details
> will be stored and processed in accordance with the Data Protection Act.
> Your personal details may be passed to others involved with your claim such
> as the original builder, or a consultant or remedial works contractor that
> we may employ in connection with your claim(s) and matter ancillary to your
> claim(s). Other than disclosure provided for in this statement, we will not
> pass any data about you to any other party without your permission unless
> we are required to do so by law.
>
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
> from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
> _______________________________________________
> darktable-devel mailing list
> darktable-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/darktable-devel
>
>
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to