[Toaster] [review-request][PATCH] bitbake: toaster: do not stop data import on bad data
Damian, Alexandru
alexandru.damian at intel.com
Wed Jul 15 09:44:01 PDT 2015
Actual patch link.
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=adamian/20150707_bugs&id=1b59005b9d09acfa97c42c58a0259e5835c69c53
It is not easily backported in its current format to fido; something like
your patch needs to be there.
On Wed, Jul 15, 2015 at 5:43 PM, Damian, Alexandru <
alexandru.damian at intel.com> wrote:
> This is the patch I was mentioning.
>
>
> On Wed, Jul 15, 2015 at 3:13 PM, Damian, Alexandru <
> alexandru.damian at intel.com> wrote:
>
>> Hello,
>>
>> I am not sure why submitting a patch when I already had a patch for
>> review, as bug 7955 status was set to IN PROGRESS REVIEW.
>>
>> Anyhow, the
>> pass
>>
>> is superfluous there, as highlighted by pylint.
>>
>>
>> Cheers,
>> Alex
>>
>> On Tue, Jul 14, 2015 at 10:06 PM, Brian Avery <brian.avery at intel.com>
>> wrote:
>>
>>> Continue storing layers in the database even if we hit
>>> a bad layer.
>>>
>>> [YOCTO #7955]
>>> ---
>>> bitbake/lib/toaster/orm/models.py | 2 +-
>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/bitbake/lib/toaster/orm/models.py
>>> b/bitbake/lib/toaster/orm/models.py
>>> index 4ea75f2..c218198 100644
>>> --- a/bitbake/lib/toaster/orm/models.py
>>> +++ b/bitbake/lib/toaster/orm/models.py
>>> @@ -891,7 +891,7 @@ class LayerIndexLayerSource(LayerSource):
>>>
>>> dependlist[lv].append(Layer_Version.objects.get(layer_source = self,
>>> layer__up_id = ldi['dependency'], up_branch = lv.up_branch))
>>> except Layer_Version.DoesNotExist as e:
>>> print "Cannot find layer version ", self,
>>> ldi['dependency'], lv.up_branch
>>> - raise e
>>> + pass
>>>
>>> for lv in dependlist:
>>> LayerVersionDependency.objects.filter(layer_version =
>>> lv).delete()
>>> --
>>> 1.9.1
>>>
>>> --
>>> _______________________________________________
>>> toaster mailing list
>>> toaster at yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/toaster
>>>
>>
>>
>>
>> --
>> Alex Damian
>> Yocto Project
>> SSG / OTC
>>
>
>
>
> --
> Alex Damian
> Yocto Project
> SSG / OTC
>
--
Alex Damian
Yocto Project
SSG / OTC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/toaster/attachments/20150715/62a7c610/attachment-0001.html>
More information about the toaster
mailing list