[Expo-tech] Fixing /2014#05pidgeondroppings3/ to /2014#05/ etc.etc.

Wookey wookey at wookware.org
Wed Mar 25 01:56:15 GMT 2020


On 2020-03-25 00:38 -0000, Philip Sargent (Gmail) wrote:

[well done for fixing up the 2014 situation properly]

> PPS About 600 tunnel files are skipped by the troggle import process because they do not obey the naming convention "notes1.jpg" etc.

You don't mean 'tunnel' files here, I hope. We are talking about scans
of notes. Tunnel files can be called whatever they like.

> I will have a go at relaxing that in troggle/parsers/surveys.py and ensure that the 3 things: wallets.py, troggle and the handbook documentation all say the same thing.

I'm not very keen on relaxing the convention. People will still call
them all sorts of things, with random capitalisation, and they'll be
PDFs and PNGs and ODTs and XCFs and whatever other craziness people
think of (potentially reduced by better docs but it won't go away). So
there will always be a renaming and conversion job to do. In general
better quality software and data comes from being strict about
formats, not lax. We have learned this over many years.

Just document the way it's supposed to be done, and don't accept
anything else. I don't think we have much to gain from accepting some
variations but not others. It's not too bad so long as it is only ever
parsed in one place and one language, but as soon as something else is
looking at it you have the potential for breakage (where some subset
of filenames are accepted in one place, but not the other).

Wookey
-- 
Principal hats:  Linaro, Debian, Wookware, ARM
http://wookware.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.wookware.org/pipermail/expo-tech/attachments/20200325/aa23ab49/attachment.sig>


More information about the Expo-tech mailing list