[Kimchi-devel] [PATCH] Add support for Gentoo Linux

Rodrigo Trujillo rodrigo.trujillo at linux.vnet.ibm.com
Tue Dec 24 13:38:11 UTC 2013


Yes, we could use some fetch algorithm, but urls are unreliable and 
could change any time, breaking the code.  Anyway, this is not priority 
now... lets move on.

On 12/23/2013 04:47 PM, Crístian Viana wrote:
>
> 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/20131224/5d87f714/attachment.html>


More information about the Kimchi-devel mailing list