incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Weir <>
Subject Re: Unifying download logic, especially from NL pages?
Date Mon, 23 Apr 2012 19:26:35 GMT
On Mon, Apr 23, 2012 at 3:22 PM, Rob Weir <> wrote:
> On Mon, Apr 23, 2012 at 3:00 PM, Andrea Pescetti <> wrote:
>> Rob Weir wrote:
>>> It is the NL pages that I
>>> am concerned about, since they have hard-coded logic that differs from
>>> the above pages.
>> The Italian one is probably the worst at the moment, since it has hard-coded
>> links (to the Italian mirror; this is a relatively recent change to avoid
>> depending on the changing mirror situation), hard-coded version numbers in
>> the download page and even a hard-coded directory for the download page.
>> While I see it changing (at the very least, the download link will be
>> pointing to the SF/MirroBrain URL and not to a specific mirror), I'm not
>> sure that the convenience of an API to generate links will always outweigh
>> the added complexity: a link to the 'latest' version would have to be
>> changed, for example, if a version-specific security patch is released, like
>> it happened for 3.3.0.
> I think the convenience will always outweigh.  Remember, we can never
> reduce the real world complexity (essential complexity) any more than
> it is in the real world.
> All we can do are two things:
> 1) Put all of the real world complexity in one place so it can be
> centrally managed, updated, debugged, etc.
> 2) Reduce the accidental complexity
> Since the essential complexity can never exceed the total complexity,
> centralizing this logic will always be a net improvement.

(Sorry, unstated assumption I should make:  It is not true that all
users who want the Italian version will come through the Italian NL
page.  Therefore if there ever were some special rule that needed to
be defined for the Italian download, it would need to be triggered
from four different places:

1) Italian NL page

2) page

3) page

3) page

This would be very ugly.  So even in a world where you think there may
be special rules that apply to only a single NL, it still makes sense
to centralize that special rule into a centrally managed script.  That
reduces the net complexity of the system.)

> -Rob
>> Regards,
>>  Andrea.

View raw message