Excerpts from Amit Saha's message of 2015-05-06 13:48 +10:00: > Thanks for the suggestions and comments. I have some code which now > implements the above: > > http://fpaste.org/218852/30883888/ > > As far as my tests tell me, i think this does what we want as far as > distro selection is concerned.
Looks pretty good, although it looks like the method will return either a Distro or a DistroTree in different code paths. > The exception is for distros which are RHEL like but has a different > name. I will think about it. I think if none of the pre-defined list of OS majors matches then it should just pick *anything* and we just hope it will work. That should cover the RHEL-alikes. -- Dan Callaghan <dcall...@redhat.com> Software Engineer, Products & Technologies Operations Red Hat, Inc.
signature.asc
Description: PGP signature
_______________________________________________ Beaker-devel mailing list Beaker-devel@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/beaker-devel