Hallöchen!

Sebastian Kraft writes:

> Am 17.03.2013 15:27, schrieb Torsten Bronger:
>
>> [...]
>>
>> [...]  The only problem is, how do we get the aliases?  We will
>> have to hope that people running into this problem will find
>> their way to the mailing lists.
>
> That's exactly the point I don't like about this approach as it
> yields to a constant fixing of aliases and names.

But this would mean that users *are* reporting.  We should be happy
if this is the case.  ;-)

I don't think that aliases occur often, for two reasons:

1. Recent data entries in LensFun rely on exiv2 or ExifTool names,
   and at least for my lenses, these names are the same.  I suspect
   this is not coincidental, and that the problem largely exists
   only for old LensFun data.  Berlios is down ATM, but I recall
   that the official LensFun tutorial recommends to "optimise" the
   lens name.  And hell knows where the lens names for the ol'
   ptlens database came from ...

2. I think it is safe to claim that almost all LensFun queries are
   against exiv2 names today.  So put an exiv2 alias where necessary
   and we are safe.  (I personally even think that the exiv2 name
   should be the canonical, and everything else an "alias".)

> [...]
>
> Anyway... should we decide to collect critical lenses in an
> alias.xml file as a first step?

I think so.  No code changes necessary on the LensFun side,
reliable, manageable.

> [...]
>
> If we ever find more lenses and have more example cases the
> decision could be made if fixing the search would help or
> introducing alias names is the better solution.

As a personal comment I cite two proverbs from the Python community:

* Explicit is better than implicit.
* Errors should never pass silently.

Tschö,
Torsten.

-- 
Torsten Bronger    Jabber ID: torsten.bron...@jabber.rwth-aachen.de
                                  or http://bronger-jmp.appspot.com


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to