GNOME Bugzilla – Bug 790614
Offer other OSes available to download
Last modified: 2017-12-01 14:17:06 UTC
Created attachment 364045 [details] screencast In the mockups for the RHEL Developer Portal integration feature we have entries for other operating systems that could be downloaded. See https://bug786679.bugzilla-attachments.gnome.org/attachment.cgi?id=358234 Osinfo already provides a list of URLs which are exposed as completion in the Enter URL dialog/page. The patches below introduces a list of latest released operating systems to download (and their various medias/variants). See screencast attached.
Created attachment 364046 [details] [review] wizard-source: Make the wizard content scrollable See mockups at https://bug790381.bugzilla-attachments.gnome.org/attachment.cgi?id=363689
Created attachment 364047 [details] [review] wizard: Offer multiple OSes for download Osinfo can provide URLs to download various free operating systems. These changes exposes new operating systems which are available for download directly from the new machine wizard.
Created attachment 364048 [details] [review] wizard-source: Don't list just a single ISO In the "Available to Download" section we reveal a list of available ISOs for each operating system when its entry gets clicked. There's no need to list it if there's just one item to show.
Created attachment 364490 [details] [review] wizard-source: Style the Downloadable subrows
Created attachment 364491 [details] [review] wizard-source: Tag "live" medias in the Downloadable subrows
Created attachment 364567 [details] [review] wizard-downloadable-entry: Align with install_rhel_button The install_rhel_button is not actually a GtkListBoxRow like WizardDownloadableEntry is. Therefore it has slightly different alignment and spacing defaults.
Created attachment 364607 [details] [review] wizard-source: Show first Downloadable distros with logos
Attachment 364046 [details] pushed as 282d23d - wizard-source: Make the wizard content scrollable Attachment 364047 [details] pushed as fab8839 - wizard: Offer multiple OSes for download Attachment 364048 [details] pushed as 53e7407 - wizard-source: Don't list just a single ISO Attachment 364490 [details] pushed as 4824e3b - wizard-source: Style the Downloadable subrows Attachment 364491 [details] pushed as 1749632 - wizard-source: Tag "live" medias in the Downloadable subrows Attachment 364567 [details] pushed as 49011d2 - wizard-downloadable-entry: Align with install_rhel_button Attachment 364607 [details] pushed as fa45ade - wizard-source: Show first Downloadable distros with logos
Created attachment 364757 [details] [review] wizard-source: Compose a human-readable media label To enumerate the medias of an operating system in a way that it isn't the literal file name neither a duplicated name, we should rely on the Osinfo.OsVariant "name" property. Unfortunately the Osinfo database doesn't contain proper names for OS variants. This way, these change introduce some heuristic to handle the most common iso file names for the operating systems available to download. If there will be a case not covered by this heuristics, we present the literal iso file name with %s/_/" "/g. This commit should be reverted when Osinfo contains distinguishable variant names.
Comment on attachment 364757 [details] [review] wizard-source: Compose a human-readable media label Attachment 364757 [details] pushed as f279e7f - wizard-source: Compose a human-readable media label