After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 790614 - Offer other OSes available to download
Offer other OSes available to download
Status: RESOLVED FIXED
Product: gnome-boxes
Classification: Applications
Component: wizard
3.27.x
Other Linux
: Normal normal
: --
Assigned To: GNOME Boxes maintainer(s)
GNOME Boxes maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2017-11-20 12:43 UTC by Felipe Borges
Modified: 2017-12-01 14:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screencast (1.13 MB, video/webm)
2017-11-20 12:43 UTC, Felipe Borges
  Details
wizard-source: Make the wizard content scrollable (1.09 KB, patch)
2017-11-20 12:43 UTC, Felipe Borges
committed Details | Review
wizard: Offer multiple OSes for download (11.87 KB, patch)
2017-11-20 12:43 UTC, Felipe Borges
committed Details | Review
wizard-source: Don't list just a single ISO (2.25 KB, patch)
2017-11-20 12:43 UTC, Felipe Borges
committed Details | Review
wizard-source: Style the Downloadable subrows (1.17 KB, patch)
2017-11-27 10:56 UTC, Felipe Borges
committed Details | Review
wizard-source: Tag "live" medias in the Downloadable subrows (861 bytes, patch)
2017-11-27 10:56 UTC, Felipe Borges
committed Details | Review
wizard-downloadable-entry: Align with install_rhel_button (1.22 KB, patch)
2017-11-28 14:44 UTC, Felipe Borges
committed Details | Review
wizard-source: Show first Downloadable distros with logos (1.90 KB, patch)
2017-11-29 09:34 UTC, Felipe Borges
committed Details | Review
wizard-source: Compose a human-readable media label (3.29 KB, patch)
2017-12-01 14:07 UTC, Felipe Borges
committed Details | Review

Description Felipe Borges 2017-11-20 12:43:04 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.
Comment 1 Felipe Borges 2017-11-20 12:43:41 UTC
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
Comment 2 Felipe Borges 2017-11-20 12:43:46 UTC
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.
Comment 3 Felipe Borges 2017-11-20 12:43:51 UTC
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.
Comment 4 Felipe Borges 2017-11-27 10:56:35 UTC
Created attachment 364490 [details] [review]
wizard-source: Style the Downloadable subrows
Comment 5 Felipe Borges 2017-11-27 10:56:40 UTC
Created attachment 364491 [details] [review]
wizard-source: Tag "live" medias in the Downloadable subrows
Comment 6 Felipe Borges 2017-11-28 14:44:08 UTC
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.
Comment 7 Felipe Borges 2017-11-29 09:34:57 UTC
Created attachment 364607 [details] [review]
wizard-source: Show first Downloadable distros with logos
Comment 8 Felipe Borges 2017-11-29 12:59:28 UTC
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
Comment 9 Felipe Borges 2017-12-01 14:07:34 UTC
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 10 Felipe Borges 2017-12-01 14:17:06 UTC
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