Re: Small rant: installer environment size

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

 



On Wed, 2022-12-07 at 20:19 -0800, Adam Williamson wrote:
> On Thu, 2022-12-08 at 03:28 +0000, Gary Buhrmaster wrote:
> > On Thu, Dec 8, 2022 at 12:42 AM Adam Williamson
> > <adamwill@xxxxxxxxxxxxxxxxx> wrote:
> > > 
> > > Hi folks! Today I woke up and found
> > > https://bugzilla.redhat.com/show_bug.cgi?id=2151495 ;, which
> > > diverted me
> > > down a bit of an "installer environment size" rabbit hole.
> > 
> > Does the "new and improved" web based installer help this
> > in any way?
> 
> I haven't looked yet but I suspect it'll probably be a wash, mostly.
Yeah - even when we drop the actual Python/GTK3 GUI code, I don't
expect the size to change much, as GTK itself will end up on the imaage
anyway - GTK WebKit needs it & AFAIK Firefox also uses it to setup it
window (?) and related stuff.

> If
> anything it's likely slightly negative because the new installer
> itself
> hard requires webkitgtk, so we can't really do anything to finesse
> that
> requirement any more. 
On the other hand we expect the help to be just a part of the Web UI,
so no need for yelp and likely some other GUI tools (eq. that thing
that shows keyboard layouts, possibly network connection editor, etc.).
But yet again I would not expect huge savings there as the tools
themselves are likely tiny, the main size comming from the GUI toolikt
they use.

> With the old installer, we could maybe try and
> figure out some way of being able to show the help pages without
> needing yelp/webkitgtk.
Or perhaps drop even the help system ? The help content has actually
not been updated in a while and does not really have an active
"upstream" - the Fedora docs moved on to a very different format, that
can no longer be used to produce the per-screen content the current
help system needs.

So maybe dropping the help support-yelp-webkit & getting 40 MB back for
now could be worth it ?

(With the built-in-help system in the Web UI, we plan to have the
installer UI specific help content maintained as part of the Anaconda
project, with easy access to documentatrists and contributors to avoid
the issues with up-to-date help content. It will also solve
localization issues & makes it possible to update as changes in the
code happen.)

>  Since the new installer itself needs webkitgtk,
> seems like there's no way we're getting rid of that ~40M compressed.
One possible option that could work in some use cases is to also build
headless images, where you would connect to the Web UI remotely - this
could be very useful for SBC, as it would avoid any CPU/RAM intensive
local rendering, yet having the full GUI experience available. 

The resulting headless image could possibly quite small without
GTK,X/Wayland,WebKit/Firefox, Gnome Kiosk and their transitive deps.

> -- 
> Adam Williamson
> Fedora QA
> IRC: adamw | Twitter: adamw_ha
> https://www.happyassassin.net
> 
> _______________________________________________
> devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
> Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines:
> https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
> Do not reply to spam, report it:
> https://pagure.io/fedora-infrastructure/new_issue
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux