[haiku-development] Re: Breaking up the Userguide package

  • From: miqlas <miqlas@xxxxxxxxx>
  • To: "haiku-development@xxxxxxxxxxxxx" <haiku-development@xxxxxxxxxxxxx>
  • Date: Mon, 19 Oct 2015 18:07:15 +0200

Hi,

maybe PoorMan can serve dynamic user guide... But then it needs to run all the
time. Or can we start on-demand?
Server-Kit would be cool with interchangeable plugins for Ruby, PHP, CGI, and
so on.
Just an idea...

-- Z.

2015.10.19. dátummal, 9:25 időpontban "Humdinger" <dmarc-noreply@xxxxxxxxxxxxx>
(Redacted sender "humdingerb" for DMARC) írta:

Hello there!

The Userguide package is currently almost 70 MiB big, containing 17
languages. That's a lot of unnecessary downloading when normally you
only need one or two languages. I have broken it down to individual
languages, each 4.3 MiB.
Proper Haiku releases should still come with all languages
pre-installed, but even then, a user can delete the unneeded packages
to save space (and time when updating only a 4 MiB package instead of
70 MiB).

The one argument against it is that in the header of each userguide
page is a menu to choose the language. Selecting a language that's not
installed will result in a 404.

Is that acceptable? After all, the user has removed those languages on
purpose and shouldn't be too surprised that they are now missing...

Or should the language-choosing menu simply be removed from the
userguide pages (it is kinda neat though...)? The
~/config/settings/WebPositive/LoaderPages/Userguide could determine
the language to show. There's even ticket #9322 [1] where dsjonny
provides the changes to do just that, though there's still an issue
that e.g. pt_BR and pt_PT aren't being distinguished.
Maybe the LoaderPage should instead generate a page with all the
available languages and present that.

Regards,
Humdinger

[1] https://dev.haiku-os.org/ticket/9322
--
Got a working haikuports recipe?
Contact me to add it to HaikuDepot.
https://github.com/haikuports/haikuports


Other related posts: