layerindex-web/layerindex/migrations/0025_update_retcode.py
Paul Eggleton ac73780bd9 Properly show update task success/failure
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>
2018-09-20 16:04:49 +12:00

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),
),
]