[Kimchi-devel] [PATCH] Add support for Gentoo Linux
Crístian Viana
vianac at linux.vnet.ibm.com
Mon Dec 23 18:47:39 UTC 2013
On 23-12-2013 11:27, Aline Manera wrote:
> On 12/20/2013 07:45 PM, Rodrigo Trujillo wrote:
>> I think that is nice to support "easy installation" of various linux
>> flavours, but the way that this feature is implemented today
>> might kill us in the future, because everything is hardcoded in the
>> json's.
>> That means we will have to pay attention on each new distro versions
>> and links and support the changes.
>>
>>
>
> The json files are for remote ISOs.
> Some of them are predefined by Kimchi and others can be from other
> packages.
>
> I agree that way we need to confirm the links in json files are
> correct but how automate that?
I also agree with that. But I don't see an easy way that would work for
every distro. My suggestion would be to implement some algorithm to
fetch, let's say, the two latest release images and display the remote
ISOs to download. For example, for Ubuntu, we could work on the base URL
http://mirror.anl.gov/pub/ubuntu-iso/CDs-Ubuntu/, look for version
directories (\d{2}.\d{2}), and then the ISO files
(ubuntu-{version}-desktop-amd64.iso). That would update the Kimchi
remote templates suggestions automatically as soon as the distro
releases a new image. But that could break easily if the distro's host
server changes something regarding the image URLs.
This patch follows the current mechanism used by the other distros.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/kimchi-devel/attachments/20131223/b6995229/attachment.html>
More information about the Kimchi-devel
mailing list