mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 12:49:01 +02:00

If a distro comparison update task fails (returning a non-zero value to indicate as such) we were not able to see this easily from the frontend. Show success/failure in the form of a label on the task page and general update list/detail, and if the task fails while we're watching then make the progress bar go red as well. Also make a distinction between the process failing (retcode > 0) and being terminated (retcode < 0, e.g. process was killed). Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
21 lines
455 B
Python
21 lines
455 B
Python
# -*- coding: utf-8 -*-
|
|
# Generated by Django 1.11.12 on 2018-09-18 00:46
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('layerindex', '0024_layerupdate_vcs_revs'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='update',
|
|
name='retcode',
|
|
field=models.IntegerField(default=0),
|
|
),
|
|
]
|