Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFC: start integrating with libosinfo for URLs #247

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

RFC: start integrating with libosinfo for URLs #247

wants to merge 2 commits into from

Conversation

ptoscano
Copy link
Contributor

This is the start of integration with libosinfo, at least for getting the URLs of install trees and ISOs (#38). The libosinfo usage is still optional, so without it URLs are still required. The implementation allow changing/setting the libosinfo short ID, and the variant for it (some distros use it).

The implementation and the UX may not be the best, but that can be improved :) So let's start a discussion about libosinfo, and whether can be unconditionally used, and how.

@clalancette
Copy link
Owner

I'm quite interested in this topic; it has been on the Oz TODO list for many years. From that perspective, thanks a lot for kicking this off. I will mention two things:

  1. My primary workstation is having some trouble right now, so I'm having a hard time testing anything with Oz. I believe this is a bug in F27, but until I get that resolved, I can't do a whole lot of testing here.
  2. I'm going to be away from the computer for most of the next week or so. Don't take it as ignoring you, just time off.

I'll definitely take a look at this in the New Year.

Create a new get_osinfo method in the module of every OS, with a global
factory method in GuestFactory: it makes it possible to associate a
short ID of libosinfo OSes to each of the supported OSes in oz.

Signed-off-by: Pino Toscano <[email protected]>
Try to use libosinfo (if available) to get the URLs of install trees
and ISOs of the supported OSes, using a libosinfo short ID provided by
all the OS classes.  Add <osinfo> and <variant> child tags of <os> to
override (or set) the short ID, and its libosinfo variant.

This makes the <url> and <iso> child tags of <install> optional, as they
can be determined automatically from libosinfo, at least from the
majority of cases.

Signed-off-by: Pino Toscano <[email protected]>
@ptoscano
Copy link
Contributor Author

ptoscano commented Apr 3, 2018

Hi Chris, any news on this front?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants