[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Description-less packages file



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Andreas,

>    1. Provide the missing information in the Packages.gz files
>       anyway.  Joerg, I have no idea how compley to implement
>       this might be or what chances to break something might
>       exist.
>    2. We move English translations from Translation-en.bz2
>       to the packages table making sure that all existing UDD
>       applications will work immediately again.
>    3. We drop long_description field from packages table now
>       and *calculate* the md5 sums from long_escription for those
>       releases where it is missing and keep all long_descriptions
>       inside the ddtp table.

My feeling is that our long term aim should be to have the long description 
only in the ddtp table. This is a slightly-more-normalised form for the 
database which will help reduce the size of the tables and, since the long 
description is unused in most queries to UDD, that will help with 
performance. It's also a data structure that, in the long term, more closely 
reflects the data sources being included which has been a general UDD 
principle over the years.

So, if that's where we want to end up in the long run, I reckon that we 
should just do it now. We only need a small amount of code to get it to work 
for squeeze (and lenny, for however long that will remain in UDD) and in ~2 
years' time we can drop that too.

I'm happy to look at the packages gatherer and have it (optionally) feed in 
the long description and the appropriate md5 into ddtp.

Things that use the description from UDD will need to learn to get them from 
ddtp rather than packages -- I'm happy to help with that but I don't know 
what uses the description at all anyway.

cheers
Stuart


- -- 
Stuart Prescott                 www.nanoNANOnano.net

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk8wYZQACgkQn+i4zXHF0ajiwACgo84GWyp+ZvN/D6b9BFuZvdUv
x5EAnAiy7L8iKUzfStYPcDr1w9ryvs+/
=0zFq
-----END PGP SIGNATURE-----



Reply to: