mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-06 05:34:46 +02:00

Make layerupdate collection slightly more reliable and make it easier to see when updates have actually been captured: * Split layerbranch into separate layer and branch fields, since there may not be a layerbranch in existence but we might want to log an error relating to the branch and layer. * Show all layerupdates on the update detail page, not just those with log messages * Record before and after revisions and show these in the update detail and layerupdate detail (with links) * Record return code of update_layer process * Highlight layer updates with a non-zero return code, errors or warnings in the output on the update detail page * Show duration on the layerupdate detail page Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
36 lines
1.0 KiB
Python
36 lines
1.0 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Generated by Django 1.11.12 on 2018-08-13 23:24
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('layerindex', '0023_layerupdate_layer_branch_finalise'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='layerupdate',
|
|
name='vcs_after_rev',
|
|
field=models.CharField(blank=True, max_length=80, verbose_name='Revision after'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='layerupdate',
|
|
name='vcs_before_rev',
|
|
field=models.CharField(blank=True, max_length=80, verbose_name='Revision before'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='layerupdate',
|
|
name='retcode',
|
|
field=models.IntegerField(default=0),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='layerupdate',
|
|
name='finished',
|
|
field=models.DateTimeField(blank=True, null=True),
|
|
),
|
|
]
|