Re: UDD gatherer for DDTP translations (Was: Extended descriptions size)

2009-04-12 Thread Andreas Tille
On Sun, 12 Apr 2009, Martijn van Oosterhout wrote:   SELECT md5(description || E'\n' || long_description || E'\n' ) AS md5          FROM packages WHERE ... Ok, I see why you're having trouble now; you're splitting up the description in your DB and thus need to stick it back together. That's

Re: UDD gatherer for DDTP translations (Was: Extended descriptions size)

2009-04-12 Thread Martijn van Oosterhout
On Tue, Apr 7, 2009 at 9:49 AM, Andreas Tille wrote: > Well, I did not said that it is actually hard and in UDD you can get this > easily by > >   SELECT md5(description || E'\n' || long_description || E'\n' ) AS md5 >          FROM packages WHERE ... Ok, I see why you're having trouble now; you'

Re: UDD gatherer for DDTP translations (Was: Extended descriptions size)

2009-04-07 Thread Andreas Tille
On Sun, 5 Apr 2009, Martijn van Oosterhout wrote: While I'm not against the idea of version numbers (though it would have to be a list since a single translation may apply to dozens of versions) This might be discussed. it's not that hard to identify the description you want. What I often di

Re: UDD gatherer for DDTP translations (Was: Extended descriptions size)

2009-04-05 Thread Martijn van Oosterhout
On Wed, Apr 1, 2009 at 9:47 PM, Andreas Tille wrote: > On Wed, 1 Apr 2009, Goswin von Brederlow wrote: > >> Then the version number will not be needed when an arch lags >> behind. The translation for the old md5sum can just be kept. > > Well, this thread was missused to discuss several issues. Wou

UDD gatherer for DDTP translations (Was: Extended descriptions size)

2009-04-01 Thread Andreas Tille
On Wed, 1 Apr 2009, Goswin von Brederlow wrote: Then the version number will not be needed when an arch lags behind. The translation for the old md5sum can just be kept. Well, this thread was missused to discuss several issues. Would you mind reading my original posting why version numbers in

Re: Extended descriptions size

2009-04-01 Thread Goswin von Brederlow
Michael Bramer writes: > Goswin von Brederlow schrieb: >> Andreas Tille writes: >> >>> On Mon, 30 Mar 2009, Michael Bramer wrote: >>> Goswin von Brederlow schrieb: > I think the idea of using the Description-md5sum is that in most cases > the md5sum remains identical for many versio

Re: Extended descriptions size

2009-04-01 Thread Michael Bramer
Goswin von Brederlow schrieb: Andreas Tille writes: On Mon, 30 Mar 2009, Michael Bramer wrote: Goswin von Brederlow schrieb: I think the idea of using the Description-md5sum is that in most cases the md5sum remains identical for many versions. If you use the packages actual version then eve

Re: Extended descriptions size

2009-04-01 Thread Andreas Tille
On Wed, 1 Apr 2009, Goswin von Brederlow wrote: Cant you have mutliple descriptions for the same package with different md5sums in the translation file? Yes there are such cases. If an arch is unable to catch up (for whatever reason) and the description has changed inbetween the versions you

Re: Extended descriptions size

2009-03-31 Thread Goswin von Brederlow
Andreas Tille writes: > On Mon, 30 Mar 2009, Michael Bramer wrote: > >> Goswin von Brederlow schrieb: >>> I think the idea of using the Description-md5sum is that in most cases >>> the md5sum remains identical for many versions. If you use the >>> packages actual version then every upload will ne

Re: Extended descriptions size

2009-03-30 Thread Andreas Tille
On Mon, 30 Mar 2009, Michael Bramer wrote: Goswin von Brederlow schrieb: I think the idea of using the Description-md5sum is that in most cases the md5sum remains identical for many versions. If you use the packages actual version then every upload will need a new translation entry or some fuzz

Re: Extended descriptions size

2009-03-30 Thread Michael Bramer
Goswin von Brederlow schrieb: Andreas Tille writes: On Sun, 22 Mar 2009, Michael Bramer wrote: if we like to remove the long description from the package file, we must change apt in some way and use some other rules for select the right description (a new 'Description-md5sum' or the Versio

Re: Extended descriptions size

2009-03-30 Thread Goswin von Brederlow
Andreas Tille writes: > On Sun, 22 Mar 2009, Michael Bramer wrote: > >> if we like to remove the long description from the package file, we >> must change apt in some way and use some other rules for select the >> right description (a new 'Description-md5sum' or the Version-Nr) > > I'd call the V

Re: Extended descriptions size (was Re: RFC: Better formatting for long descriptions)

2009-03-22 Thread Andreas Tille
On Sun, 22 Mar 2009, Michael Bramer wrote: if we like to remove the long description from the package file, we must change apt in some way and use some other rules for select the right description (a new 'Description-md5sum' or the Version-Nr) I'd call the Version-Nr. a sinsible choice. ;-)

Re: Extended descriptions size (was Re: RFC: Better formatting for long descriptions)

2009-03-21 Thread Michael Bramer
Paul Wise schrieb: On Sat, Mar 21, 2009 at 4:58 PM, Neil Williams wrote: It's another instance of duplication - why retain the long description in the Packages file while a translated version also exists from DDTP? Probably better for the description to be removed from the Packages file comp

Re: Extended descriptions size (was Re: RFC: Better formatting for long descriptions)

2009-03-21 Thread Paul Wise
On Sat, Mar 21, 2009 at 4:58 PM, Neil Williams wrote: > It's another instance of duplication - why retain the long description > in the Packages file while a translated version also exists from DDTP? > Probably better for the description to be removed from the Packages > file completely and the D

Re: Extended descriptions size (was Re: RFC: Better formatting for long descriptions)

2009-03-21 Thread Neil Williams
On Sat, 21 Mar 2009 12:28:36 +0900 Paul Wise wrote: > On Sat, Mar 21, 2009 at 8:15 AM, Filipus Klutiero wrote: > > > The extended description needs to be available to APT, not only via > > packages.d.o. > > I agree with Neil William's comment in the other thread about removing > long descripti