On 10/10/16 3:20 AM, Paul Eggleton wrote:
> This looks good, just a few notes about this bit:
>
> On Fri, 07 Oct 2016 11:57:14 Liam R. Howlett wrote:
>> +def update_distro_conf_file(path, distro):
>> +logger.debug('Updating distro %s' % path)
>> +desc = ""
>> +with open(path, 'r') as f
This looks good, just a few notes about this bit:
On Fri, 07 Oct 2016 11:57:14 Liam R. Howlett wrote:
> +def update_distro_conf_file(path, distro):
> +logger.debug('Updating distro %s' % path)
> +desc = ""
> +with open(path, 'r') as f:
> +for line in f:
> +if line.s
Add the distros to the index. This looks a lot like the machines
and allows users to search for a particular distro.
Signed-off-by: Liam R. Howlett
---
layerindex/admin.py| 11 ++
layerindex/models.py | 14 +++
layerindex/recipeparse.py | 5 +++
l