From patchwork Sun Apr 10 19:08:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 6509 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5F481C35294 for ; Mon, 11 Apr 2022 17:17:58 +0000 (UTC) Received: from mail-pj1-f44.google.com (mail-pj1-f44.google.com [209.85.216.44]) by mx.groups.io with SMTP id smtpd.web11.20996.1649617739302211605 for ; Sun, 10 Apr 2022 12:08:59 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=SjTI62wC; spf=pass (domain: gmail.com, ip: 209.85.216.44, mailfrom: ticotimo@gmail.com) Received: by mail-pj1-f44.google.com with SMTP id c12-20020a17090a020c00b001cba1ebb20cso147745pjc.0 for ; Sun, 10 Apr 2022 12:08:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=5qT0V+6/nwYHJhXXLeVmy019B5DCE+Nevux9/EpYhXg=; b=SjTI62wCTAnZACVsaKcxIdA3+J4Kc0RpOoMWmZ5qr36Zdx5N9tM7veZzKQo6LunlBb JlCviyIvjYN95ulw4MtrVnRxgvQH7QnqMTyEn2V6llHDdUV7oIsSO1cnjy3e0yE98rc8 q7tjnK0EVLI9zOnOTVqzVHbfqzmFoGduHkUk2QzaU6ux8d4wWbfo+nQ7+STwHI9Jfg/D AeLnlSX15qVWCTkTNaMyGG5hUreytVamD/kUmjzheBPXtEQxvTtK1u0O7C3ysgN2P0/O +CMSWOUDlwg0ww6KU5dJ3ejE+NBo1t7Fsnmo6uOlxl9cJj0Dk1Yv4VUmLJIhff33GsUM D17Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=5qT0V+6/nwYHJhXXLeVmy019B5DCE+Nevux9/EpYhXg=; b=GK6g6NvD3dA0MxP5YrqPy/atxIyAT26Eghx0oum1y7P+cAlnkN0C0+DpfgSb/aoG9G AXNKm/8icyBA2VAMQ0qurHCPVVtA3MH6kamyQh+vbe55Iu4rK6PD6T/TTaitoz+rjYvI I3+i5ciq0WdDFFufgXC5AnhzlkBwWbb/IyUS1njXsvJvC24pOi8vqAla3h/URADvlv7r nBE2aFsowIA7AM0diNcjPrzTKqpmfI1198jtycYVYK8z8LAdZbD5hpEJ86gk0sRBewDS 5eVxo4rmlTXPFJCbaYhrEKMhnmK/isq0OvPMfhahsaM2wxBhCBzAs0V7QlNynZZrgNGx 2uIQ== X-Gm-Message-State: AOAM530dp3/oXc4A9GyT3X/ZdWIc+n0pGRFFOHe/794I6aqnDhyu+MLq ohlfzT+85l7N7QzLilOg7lgc31J2PdU= X-Google-Smtp-Source: ABdhPJyLJ3ZQutpwVS4NLZkt+DvamcBZWiJEgtYj944Skjh4VUD9uLBScM5dKgJipnSfLcXDaHLlyQ== X-Received: by 2002:a17:902:ec89:b0:156:c5db:356d with SMTP id x9-20020a170902ec8900b00156c5db356dmr28773983plg.74.1649617738505; Sun, 10 Apr 2022 12:08:58 -0700 (PDT) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:48cd:8d9b:66c9:7179]) by smtp.gmail.com with ESMTPSA id f16-20020a056a00239000b004fa7103e13csm34001213pfc.41.2022.04.10.12.08.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Apr 2022 12:08:58 -0700 (PDT) From: Tim Orling X-Google-Original-From: Tim Orling To: yocto@lists.yoctoproject.org Cc: bluelightning@bluelightning.org Subject: [layerindex][PATCH 2/4] layerindex/models.py: add Inactive-Upstream Date: Sun, 10 Apr 2022 12:08:40 -0700 Message-Id: <8293eee252fafdd714aed399f4fcf6f538da46bd.1649617288.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 11 Apr 2022 17:17:58 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/56712 Add the newish Inactive-Upstream upstream status. Add 0046_alter_patch_status.py migration. Signed-off-by: Tim Orling layerindex/migrations: update patch status Signed-off-by: Tim Orling --- .../migrations/0046_alter_patch_status.py | 18 ++++++++++++++++++ layerindex/models.py | 1 + 2 files changed, 19 insertions(+) create mode 100644 layerindex/migrations/0046_alter_patch_status.py diff --git a/layerindex/migrations/0046_alter_patch_status.py b/layerindex/migrations/0046_alter_patch_status.py new file mode 100644 index 0000000..74025c4 --- /dev/null +++ b/layerindex/migrations/0046_alter_patch_status.py @@ -0,0 +1,18 @@ +# Generated by Django 3.2.12 on 2022-04-10 19:20 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('layerindex', '0045_layerbranch_classicrecipe'), + ] + + operations = [ + migrations.AlterField( + model_name='patch', + name='status', + field=models.CharField(choices=[('U', 'Unknown'), ('A', 'Accepted'), ('P', 'Pending'), ('I', 'Inappropriate'), ('B', 'Backport'), ('S', 'Submitted'), ('D', 'Denied'), ('N', 'Inactive-Upstream')], default='U', max_length=1), + ), + ] diff --git a/layerindex/models.py b/layerindex/models.py index 329cc33..5ae60c3 100644 --- a/layerindex/models.py +++ b/layerindex/models.py @@ -561,6 +561,7 @@ class Patch(models.Model): ('B', 'Backport'), ('S', 'Submitted'), ('D', 'Denied'), + ('N', 'Inactive-Upstream'), ] recipe = models.ForeignKey(Recipe, on_delete=models.CASCADE) path = models.CharField(max_length=255)