From patchwork Sat Mar 12 20:31:22 2022
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Tim Orling
X-Patchwork-Id: 5148
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 5161AC433F5
for ; Sat, 12 Mar 2022 20:31:46 +0000 (UTC)
Received: from mail-pg1-f177.google.com (mail-pg1-f177.google.com
[209.85.215.177])
by mx.groups.io with SMTP id smtpd.web12.8652.1647117105497378349
for ;
Sat, 12 Mar 2022 12:31:45 -0800
Authentication-Results: mx.groups.io;
dkim=pass header.i=@gmail.com header.s=20210112 header.b=qbJAzAjF;
spf=pass (domain: gmail.com, ip: 209.85.215.177,
mailfrom: ticotimo@gmail.com)
Received: by mail-pg1-f177.google.com with SMTP id e6so10371449pgn.2
for ;
Sat, 12 Mar 2022 12:31:45 -0800 (PST)
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=mzrsT4b84yLpXNTE/qFIHTnPZa+73bpjVUZbMd2Nbd4=;
b=qbJAzAjF4jZ6/MiPQaHBPe7F4/+HI9XqqxI8X2g25uFpY3Ed0owZ2+lmoqeWydo9bc
T6eI4hVRdGbEqP6NUWX3hexMaphrFf25B0tExKi7Dc51xvY875BkOPxyHuM8iSK7Hiso
LUY38RhzSW/Mu6B/06S5aUt8UDSxChiPJltk7YZ2UJleDyhbyOqL31CRRgGpNUva0eWr
A7rSgAHn4jS+NnkL0E+ebsS2wZYBevojVDE5tkti9G7NJLiGKEfX7WtUOb/LoSF/SctK
z0kGDRAKlLMRToy7nyGKxUOHJiD/fcMTfoOzV88hgd+pTHlaYGWwlE+H7Q6SuJ5gQ1Ug
Ti9w==
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=mzrsT4b84yLpXNTE/qFIHTnPZa+73bpjVUZbMd2Nbd4=;
b=lk6AGvbe5PTK0Skkj+x9vvGjX1mcUBn5ZzdA/cgyBUu3FEOuG+bzYlDWXQ+QUyIkJU
w+j2/hTtzIY6hprr5YCAxG9x3B+LMGyOTqcc9LvNpLRI54QzIKs3kL9pH5zQrbzBZ/2q
UdnapkN5xENbBBMLyxoOOtsiNt+aykPYYH3/RBn2ieaPC4oNa4oKm2s17XqjSjYp6e9p
SAUPAR74EQX9r40k3+DJaKz98CYPl6ZJhOKtHQsQ25V5Y7/Y+5LfanYk9APT2I9AiUeX
N5UGEJOW5RP330QK8F12B/uVjZSKQOy12P+3gszEd6frP37YZXCFW08S+/Uhv5G8mSd0
D3GA==
X-Gm-Message-State: AOAM531TT06YMBt2gr+LX0VfwEfwa8UhkFDtKW5lksI17de1tVUs5Lwy
IzARSldR67KYNqC0ZRCv7opRKEExhR8=
X-Google-Smtp-Source:
ABdhPJx2/iTVzQ9dFXfSQRNZEn2psLQ34gE2Xp3ipR7P8OBCBEmrrFyTCNXX4zLy1cdMBeByKG4LPQ==
X-Received: by 2002:a63:34c1:0:b0:380:c330:64c6 with SMTP id
b184-20020a6334c1000000b00380c33064c6mr13756601pga.442.1647117104662;
Sat, 12 Mar 2022 12:31:44 -0800 (PST)
Received: from nereus.local ([2601:1c0:6000:1b20:a9d2:e45f:26bc:3c95])
by smtp.gmail.com with ESMTPSA id
f194-20020a6238cb000000b004f6ce898c61sm14479378pfa.77.2022.03.12.12.31.44
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Sat, 12 Mar 2022 12:31:44 -0800 (PST)
From: Tim Orling
X-Google-Original-From: Tim Orling
To: toaster@lists.yoctoproject.org
Cc: David.Reyna@windriver.com
Subject: [PATCH 1/7] toaster-requirements.txt: Django 3.2 LTS
Date: Sat, 12 Mar 2022 12:31:22 -0800
Message-Id:
<40784149f17320385fe71677fd6dcf2e28963f12.1647116564.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
; Sat, 12 Mar 2022 20:31:46 -0000
X-Groupsio-URL: https://lists.yoctoproject.org/g/toaster/message/5773
Django 2.2.x goes EOL April 2022.
Switch the to current LTS Django 3.2.x supported until April 2024.
Signed-off-by: Tim Orling
---
bitbake/toaster-requirements.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bitbake/toaster-requirements.txt b/bitbake/toaster-requirements.txt
index 735b614546e..dedd423556a 100644
--- a/bitbake/toaster-requirements.txt
+++ b/bitbake/toaster-requirements.txt
@@ -1,3 +1,3 @@
-Django>2.2,<2.3
+Django>3.2,<3.3
beautifulsoup4>=4.4.0
pytz
From patchwork Sat Mar 12 20:31:23 2022
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Tim Orling
X-Patchwork-Id: 5149
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 5082CC433F5
for ; Sat, 12 Mar 2022 20:31:49 +0000 (UTC)
Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com
[209.85.214.180])
by mx.groups.io with SMTP id smtpd.web09.8727.1647117108382344298
for ;
Sat, 12 Mar 2022 12:31:48 -0800
Authentication-Results: mx.groups.io;
dkim=pass header.i=@gmail.com header.s=20210112 header.b=aXNUVyv3;
spf=pass (domain: gmail.com, ip: 209.85.214.180,
mailfrom: ticotimo@gmail.com)
Received: by mail-pl1-f180.google.com with SMTP id n15so10495029plh.2
for ;
Sat, 12 Mar 2022 12:31:48 -0800 (PST)
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=dlNBgXgfcCE4FaWJMrEvUjX/NZkeAenLzD75Dh29iFw=;
b=aXNUVyv3xYR4rX/wEB4OnlffFXRk/hO4chuSk1HrD5You5ifezJF7yeiKZAmXwhf4H
OkfADeYJgB8nTnKXG4EY5UWLUIsceUerFJGDBU5lFa73osUaNX5SnBrRN/c7/pGi5V8e
Efz6JUHsDOeEySKXaKufSKDNxbZKoIZCBV5T1IO5OjeFYe/HXS8U6my4L0WGbrYtrCiN
BFWqzelJeGH5LQ3Xe5rwUAHrqO57kD4gRcd8STJvWImVEeEGR6KZb7QKDQQmUJFYEBQs
BOEsQ/rVY8w1U4psdxhZRy5fg2IL6LyhflwPtfOYdlr0KBUgqfMPLuAG3ljHnl+s4gyZ
tHZA==
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=dlNBgXgfcCE4FaWJMrEvUjX/NZkeAenLzD75Dh29iFw=;
b=p+meigif+nyGHrEjNbcubjfOFPUEYRuf3ed20qLxozdotAo+lut2L09lFX7eMAF9aa
vNOH6NiF/Bhxf6Pp2DHK0/782i3ZWDvhSX8zRvEh8oSEGqBaerinlr/H4R+uGWlhZSKu
D+i5Xstr8E0cBlH4Li5t+S5NRVa5sdPGh+qlHQRr/pUZmnclW0zy8lV47tIEFqwRdQqA
X2abhrKP2Zpmd4w9t8EaumnnpMs4EOuLzGIDsQkqpT95pZMC9Xa5lFOvDFXGX0A/HNwP
6AuDe5vb5XwzsZnmI9b3hvvhXu+3lVfOdAsmq7n8ks1kcOMgZQn1/+BWyQ1W8mYDVpj7
2vkQ==
X-Gm-Message-State: AOAM533fjm2+EYxco5VA4Tj1V073+ug2flimgAYKWCMfKItTRAi+u/kI
2TQ/3MiJDdpGyefrPKjobsxYtJLWv0k=
X-Google-Smtp-Source:
ABdhPJwk+K3Zbo9UnyTTx6w8WXVOzcmtfZzDb2QZ6iStE9nKVYE0sX5rxQtZ38OEJJH9yix0DbwnuQ==
X-Received: by 2002:a17:903:124a:b0:151:8174:8cff with SMTP id
u10-20020a170903124a00b0015181748cffmr16571251plh.38.1647117107357;
Sat, 12 Mar 2022 12:31:47 -0800 (PST)
Received: from nereus.local ([2601:1c0:6000:1b20:a9d2:e45f:26bc:3c95])
by smtp.gmail.com with ESMTPSA id
f194-20020a6238cb000000b004f6ce898c61sm14479378pfa.77.2022.03.12.12.31.46
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Sat, 12 Mar 2022 12:31:46 -0800 (PST)
From: Tim Orling
X-Google-Original-From: Tim Orling
To: toaster@lists.yoctoproject.org
Cc: David.Reyna@windriver.com
Subject: [PATCH 2/7] toaster: Update docs links in templates
Date: Sat, 12 Mar 2022 12:31:23 -0800
Message-Id:
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
; Sat, 12 Mar 2022 20:31:49 -0000
X-Groupsio-URL: https://lists.yoctoproject.org/g/toaster/message/5774
Update docs links from www.yoctoproject.org to the docs.yoctoproject.org
equivalents.
Signed-off-by: Tim Orling
---
bitbake/lib/toaster/toastergui/templates/base.html | 2 +-
bitbake/lib/toaster/toastergui/templates/configvars.html | 2 +-
bitbake/lib/toaster/toastergui/templates/landing.html | 6 +++---
bitbake/lib/toaster/toastergui/templates/project.html | 2 +-
.../toaster/toastergui/templates/project_specific.html | 2 +-
bitbake/lib/toaster/toastergui/templates/projectconf.html | 8 ++++----
6 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/bitbake/lib/toaster/toastergui/templates/base.html b/bitbake/lib/toaster/toastergui/templates/base.html
index 9e19cc33ca7..2b3054936ac 100644
--- a/bitbake/lib/toaster/toastergui/templates/base.html
+++ b/bitbake/lib/toaster/toastergui/templates/base.html
@@ -123,7 +123,7 @@
{% endif %}
{% endif %}
-
+
Documentation
diff --git a/bitbake/lib/toaster/toastergui/templates/configvars.html b/bitbake/lib/toaster/toastergui/templates/configvars.html
index 33fef9316d7..691dace3a24 100644
--- a/bitbake/lib/toaster/toastergui/templates/configvars.html
+++ b/bitbake/lib/toaster/toastergui/templates/configvars.html
@@ -66,7 +66,7 @@
{% if variable.description %}
{{variable.description}}
-
+
{% endif %}
|
diff --git a/bitbake/lib/toaster/toastergui/templates/landing.html b/bitbake/lib/toaster/toastergui/templates/landing.html
index bfaaf6fc83b..08b40fb2f2a 100644
--- a/bitbake/lib/toaster/toastergui/templates/landing.html
+++ b/bitbake/lib/toaster/toastergui/templates/landing.html
@@ -15,7 +15,7 @@
A web interface to OpenEmbedded and BitBake, the Yocto Project build system.
-
+
Toaster is ready to capture your command line builds
@@ -33,7 +33,7 @@
Toaster has no layer information. Without layer information, you cannot run builds. To generate layer information you can:
-
- Configure a layer source
+ Configure a layer source
-
Create a project, then import layers
@@ -44,7 +44,7 @@
-
-
+
Read the Toaster manual
diff --git a/bitbake/lib/toaster/toastergui/templates/project.html b/bitbake/lib/toaster/toastergui/templates/project.html
index d8ad2c79dca..22239a82fd9 100644
--- a/bitbake/lib/toaster/toastergui/templates/project.html
+++ b/bitbake/lib/toaster/toastergui/templates/project.html
@@ -139,7 +139,7 @@
diff --git a/bitbake/lib/toaster/toastergui/templates/project_specific.html b/bitbake/lib/toaster/toastergui/templates/project_specific.html
index 42725c0dba7..76d45b1b39d 100644
--- a/bitbake/lib/toaster/toastergui/templates/project_specific.html
+++ b/bitbake/lib/toaster/toastergui/templates/project_specific.html
@@ -137,7 +137,7 @@
diff --git a/bitbake/lib/toaster/toastergui/templates/projectconf.html b/bitbake/lib/toaster/toastergui/templates/projectconf.html
index 3b91b6679b3..c3068358322 100644
--- a/bitbake/lib/toaster/toastergui/templates/projectconf.html
+++ b/bitbake/lib/toaster/toastergui/templates/projectconf.html
@@ -201,12 +201,12 @@
Toaster cannot set any variables that impact 1) the configuration of the build servers,
or 2) where artifacts produced by the build are stored. Such variables include:
- BB_DISKMON_DIRS
- BB_NUMBER_THREADS
+ BB_DISKMON_DIRS
+ BB_NUMBER_THREADS
CVS_PROXY_HOST
CVS_PROXY_PORT
- PARALLEL_MAKE
- TMPDIR
+ PARALLEL_MAKE
+ TMPDIR
Plus the following standard shell environment variables:
http_proxy
ftp_proxy
https_proxy
all_proxy
From patchwork Sat Mar 12 20:31:24 2022
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Tim Orling
X-Patchwork-Id: 5150
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 4AE1FC433EF
for ; Sat, 12 Mar 2022 20:31:50 +0000 (UTC)
Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com
[209.85.214.171])
by mx.groups.io with SMTP id smtpd.web11.8929.1647117110010049663
for ;
Sat, 12 Mar 2022 12:31:50 -0800
Authentication-Results: mx.groups.io;
dkim=pass header.i=@gmail.com header.s=20210112 header.b=MsEykzAQ;
spf=pass (domain: gmail.com, ip: 209.85.214.171,
mailfrom: ticotimo@gmail.com)
Received: by mail-pl1-f171.google.com with SMTP id w4so10444635ply.13
for ;
Sat, 12 Mar 2022 12:31:49 -0800 (PST)
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=ZkzneviDH9bXJl9jB9xReH6xIfBc26/xm+ZBjFibHt0=;
b=MsEykzAQeK7Nors6m/rxc4K/YZ0bgj8OINfC90GCY5SoM0uRbivVjDkUKlnXqD0G39
SK+H9dePSN+KVVcmyOuPZ73dNN+y35to6CJVdQGSwr+0uJy4fU16Au2n6w+gFRhPjNfK
od3nXDXsJKlCUNIJjFIjNp76eN9i+pvSSUivqzVhrzO2Y0MJO6T9HDRj1njH2xbn5GK7
g2La7NEouMSwt0y9DxbRvQMuSQI30/jMtcMuyJfqzrL33PH041w7MkQwVcmayYxuESVY
xUwL2N/HfxNd0do0iUIupJ6z675/jLbDAK4PUH77fN8tQ0hdyjZmLvOLv5GshZ8t2Zkw
6qXg==
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=ZkzneviDH9bXJl9jB9xReH6xIfBc26/xm+ZBjFibHt0=;
b=Iv9Hth/5R3ybWcVTaDBwCnrTBw//URjoNwMRA5wce9f2boFrmWPY95YDoz/N2M3MEo
fRrFGsva8IU/vT+g0dEJtCLbA7lnrAuh0uJfAoL/fU/0vzBZxVPrWO3QBzwzkTYiaXnP
p7fVPYVnwQREFQPw+x5gplOTf1nDKGfECFXUvJ4GA/UMB65kf1XyaSd4t6q+ZZrWGM6e
ePzrHiqtZUGFVT6iUI8deA+yD/OqsjL/wgjFeZJunfy5z/DI4XItfLMReUAxDkGBdLHP
hRd0mpGyAjJBVOPIVPmyyHBlsNbx74rDsc4BknTDvcXZGXTmm+jn2Y7OqCnSudGMDKst
zZWQ==
X-Gm-Message-State: AOAM531Kp0TypAOi2p5kUGp9AUHy/1cw2lN1lsiceedn0IwBo/Z6j5ii
CLfyExgWA3D4KiPEfY5iREfPu0TuNtw=
X-Google-Smtp-Source:
ABdhPJx+SA5jbvSM9XYDTheMG0nMKVLgrPBAWWC6OIZpsKSIhLS3PX6KjL32P8Gm42DgJqC22QmJjw==
X-Received: by 2002:a17:90a:19d5:b0:1bc:a5db:b655 with SMTP id
21-20020a17090a19d500b001bca5dbb655mr28586242pjj.46.1647117109141;
Sat, 12 Mar 2022 12:31:49 -0800 (PST)
Received: from nereus.local ([2601:1c0:6000:1b20:a9d2:e45f:26bc:3c95])
by smtp.gmail.com with ESMTPSA id
f194-20020a6238cb000000b004f6ce898c61sm14479378pfa.77.2022.03.12.12.31.48
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Sat, 12 Mar 2022 12:31:48 -0800 (PST)
From: Tim Orling
X-Google-Original-From: Tim Orling
To: toaster@lists.yoctoproject.org
Cc: David.Reyna@windriver.com
Subject: [PATCH 3/7] toaster: orm/models -- drop django.utils.six
Date: Sat, 12 Mar 2022 12:31:24 -0800
Message-Id:
<2344b96c9b0cbbcb407c34f8a4b3504f6e9325ec.1647116564.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
; Sat, 12 Mar 2022 20:31:50 -0000
X-Groupsio-URL: https://lists.yoctoproject.org/g/toaster/message/5775
Django 3.2 no longer has django.utils.six module.
Signed-off-by: Tim Orling
---
bitbake/lib/toaster/orm/models.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/bitbake/lib/toaster/orm/models.py b/bitbake/lib/toaster/orm/models.py
index 6d772367d88..2cb7d7e0499 100644
--- a/bitbake/lib/toaster/orm/models.py
+++ b/bitbake/lib/toaster/orm/models.py
@@ -58,7 +58,6 @@ if 'sqlite' in settings.DATABASES['default']['ENGINE']:
return _base_insert(self, *args, **kwargs)
QuerySet._insert = _insert
- from django.utils import six
def _create_object_from_params(self, lookup, params):
"""
Tries to create an object using passed params.
From patchwork Sat Mar 12 20:31:25 2022
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Tim Orling
X-Patchwork-Id: 5151
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 4AD17C433EF
for ; Sat, 12 Mar 2022 20:31:52 +0000 (UTC)
Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com
[209.85.214.175])
by mx.groups.io with SMTP id smtpd.web10.8833.1647117111644349610
for ;
Sat, 12 Mar 2022 12:31:51 -0800
Authentication-Results: mx.groups.io;
dkim=pass header.i=@gmail.com header.s=20210112 header.b=WoE8CSX4;
spf=pass (domain: gmail.com, ip: 209.85.214.175,
mailfrom: ticotimo@gmail.com)
Received: by mail-pl1-f175.google.com with SMTP id r12so10475243pla.1
for ;
Sat, 12 Mar 2022 12:31:51 -0800 (PST)
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=ZKIkeg+zMUkenjkmFvJelu3mkz49krxgPzAvkGkRcok=;
b=WoE8CSX4YxXQ8fMUMmNKgDOX8lSNogVeeWEZCV7IPfc81xxr8LlruR6WG3FzDnj/iA
7ssUXbm3DNnGzGPmkMq7qoZ6zdulFFykHq8+38CPmCWUocimbE3zo7WwhrNWEe5J7Qpz
Pg13ddFe1IHEZ4aXJPDpM7T/RKs3rFvikXc/MRFdMov/Yyqg3d4kdMj/kqyWhGZX6XDB
Z6onSpNjka4fIPN9ksJQNcTA2DiAleBdX403k+r8zkUUSOQSjXGz1CB21mhFh/8bNpFI
cqZck4JiSYxLRKgtQ+3WxdORsv+tHKCs13E6XqqXqeAYRA7rv2hi0rLNy5W6fXnpYniT
F4Vw==
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=ZKIkeg+zMUkenjkmFvJelu3mkz49krxgPzAvkGkRcok=;
b=V5zp+AEU5iEXXY3OOG5jbHUosXQAEcIMgz32ql01k8LGFRVbP8uuHWegwMN6d9M+J/
uRAznHkhdthwZ51r9zOhIbvA7zvPu3aK6iEvhNehTg6TMhXHg3sj2xIX0v/UJ1a4Psjx
ZnxbFN0TJwgtfzlop3cx3tNF9AsnojKcp3ERQZ0ZjrSL+aDM67CskhH61uvCVAeSeh1O
Hfo/MaZB+Qq5e3Eskt71dpDxfJEdpwnRieLrXn0UYdvr22ZrfDmizPVYsvb5nO8mmL4l
bxwNLbyJNUZQ+qfnfSgbJiZxY4xK4AfCVMSuiKvEOqGmp+7yYyQRHrJn0M90DGxOm2RI
7G4A==
X-Gm-Message-State: AOAM532EfmR89cWh5nEbYe5BW3WQRvLOJHxPG5xax50upqIxpphvHAxp
8bDQAUkKWmozV2BmZYBdxqoncjgHEsQ=
X-Google-Smtp-Source:
ABdhPJwMhtGQ1LPvP4dt33C/Q0HFLWn/6pd1Ybnre4n/JR6njshlAkdyDz2L/0bRxmPFGC8v55sCHA==
X-Received: by 2002:a17:902:8f82:b0:151:5d30:a019 with SMTP id
z2-20020a1709028f8200b001515d30a019mr16706267plo.145.1647117110807;
Sat, 12 Mar 2022 12:31:50 -0800 (PST)
Received: from nereus.local ([2601:1c0:6000:1b20:a9d2:e45f:26bc:3c95])
by smtp.gmail.com with ESMTPSA id
f194-20020a6238cb000000b004f6ce898c61sm14479378pfa.77.2022.03.12.12.31.50
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Sat, 12 Mar 2022 12:31:50 -0800 (PST)
From: Tim Orling
X-Google-Original-From: Tim Orling
To: toaster@lists.yoctoproject.org
Cc: David.Reyna@windriver.com
Subject: [PATCH 4/7] toaster: set DEFAULT_AUTO_FIELD
Date: Sat, 12 Mar 2022 12:31:25 -0800
Message-Id:
<3b5d2005a984f98190a84bdee908bd08c9025784.1647116564.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
; Sat, 12 Mar 2022 20:31:52 -0000
X-Groupsio-URL: https://lists.yoctoproject.org/g/toaster/message/5776
New in Django 3.2.
Silence warnings by adding:
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
in toastermain/settings.py
Signed-off-by: Tim Orling
---
bitbake/lib/toaster/toastermain/settings.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/bitbake/lib/toaster/toastermain/settings.py b/bitbake/lib/toaster/toastermain/settings.py
index a4b370c8d4c..609c85d9d8a 100644
--- a/bitbake/lib/toaster/toastermain/settings.py
+++ b/bitbake/lib/toaster/toastermain/settings.py
@@ -39,6 +39,9 @@ DATABASES = {
}
}
+# New in Django 3.2
+DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
+
# Needed when Using sqlite especially to add a longer timeout for waiting
# for the database lock to be released
# https://docs.djangoproject.com/en/1.6/ref/databases/#database-is-locked-errors
From patchwork Sat Mar 12 20:31:26 2022
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Tim Orling
X-Patchwork-Id: 5152
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 51303C433EF
for ; Sat, 12 Mar 2022 20:31:54 +0000 (UTC)
Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com
[209.85.210.182])
by mx.groups.io with SMTP id smtpd.web12.8655.1647117113547626268
for ;
Sat, 12 Mar 2022 12:31:53 -0800
Authentication-Results: mx.groups.io;
dkim=pass header.i=@gmail.com header.s=20210112 header.b=BaUZn1GA;
spf=pass (domain: gmail.com, ip: 209.85.210.182,
mailfrom: ticotimo@gmail.com)
Received: by mail-pf1-f182.google.com with SMTP id p8so10873250pfh.8
for ;
Sat, 12 Mar 2022 12:31:53 -0800 (PST)
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=8pfpMFTKamrR0heOsuI/BXLTTKeB6D5+mNYOzQd9BIE=;
b=BaUZn1GAkv59ybGTwmOJ5voLzYq5r5Y+T9GQz1JqcvqpxcESXwolX2t8UERTvhbldR
LmSg4JLjPtGxnSGEpsPKvjCNFNZVhbWa7CwrO8EDK6vGq0ITgoF4qeFMuro4lowbEwsR
0VMAb9UPQdSxZprRpCNFq9D4YVV21NAfwKYvMUJEkaLRHFGPVV/4wvuyeuxyyU4GB0Ux
4MhySg4xVJrXd0ztj7NqWWDyezfvDWT76NiCUkVTJ2tLzwAZpL3XYtpaBdsatueyoa4V
x7n9S486qTKOpZ4SlljkWLPSXR5A6TXKEAnK1ri4OtapxUveP5ncAxEseVL8hSDyKTkm
Hv+g==
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=8pfpMFTKamrR0heOsuI/BXLTTKeB6D5+mNYOzQd9BIE=;
b=4s/UkiEU4633z7dp6oneYf540svxaLd9d3CZpxhd7j14q7LuHDJwoKSyOR91kYkLgD
kEbY8Sp2L0ASSfFNy1DY5E/sQLY7C7zbyFxXRF6oCAGrzTm07E0dYUVQn8ZJFgnhbRYv
YhB5y9dD1B3Fgf8dSsHibeuhM6ZgbyTT+cs9bJnbubxOBkhdIMFyQUdkWM+MaWRf8/Fv
kMZ+zm5aa6Pp4qAnOQcwh3w6UbirIXs5w/gvNGfddmwDaXW27RzgkHQM+cvoG/LEkf09
Lr/VlGrGOBB1tORNEFU+LedUT2Afwlr+0bieoFhjy+SluItlMOAe3IHHim+Uw2R1sI5F
zuEQ==
X-Gm-Message-State: AOAM530YGREVxkfIfvcRLRtsMwLivRwOTqyUxkqlPtBmGt9KRy2RrqCd
SDSy0gdKsrFTDO2NYH+UPsirS3ueDKM=
X-Google-Smtp-Source:
ABdhPJxuTTCdmkmL6FR4hz9xrQAkqYbfljp45rl8WRN3WlGwzq66f6YhCK2MwCC0bokTQxcYRBUaJg==
X-Received: by 2002:a63:1c14:0:b0:36b:28ef:f8ce with SMTP id
c20-20020a631c14000000b0036b28eff8cemr13792283pgc.96.1647117112628;
Sat, 12 Mar 2022 12:31:52 -0800 (PST)
Received: from nereus.local ([2601:1c0:6000:1b20:a9d2:e45f:26bc:3c95])
by smtp.gmail.com with ESMTPSA id
f194-20020a6238cb000000b004f6ce898c61sm14479378pfa.77.2022.03.12.12.31.51
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Sat, 12 Mar 2022 12:31:52 -0800 (PST)
From: Tim Orling
X-Google-Original-From: Tim Orling
To: toaster@lists.yoctoproject.org
Cc: David.Reyna@windriver.com
Subject: [PATCH 5/7] toaster: migratation for models.BigAutoField
Date: Sat, 12 Mar 2022 12:31:26 -0800
Message-Id:
<995adc1d0a7892e0ead8ed23ca6701645c7c4443.1647116564.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
; Sat, 12 Mar 2022 20:31:54 -0000
X-Groupsio-URL: https://lists.yoctoproject.org/g/toaster/message/5777
Follow the default guidelines from Django 3.2 setting DEFAULT_AUTO_FIELD
to django.db.models.BigAutoField which leads to these migrations.
Signed-off-by: Tim Orling
---
.../migrations/0008_models_bigautofield.py | 48 +++++
.../migrations/0020_models_bigautofield.py | 173 ++++++++++++++++++
2 files changed, 221 insertions(+)
create mode 100644 bitbake/lib/toaster/bldcontrol/migrations/0008_models_bigautofield.py
create mode 100644 bitbake/lib/toaster/orm/migrations/0020_models_bigautofield.py
diff --git a/bitbake/lib/toaster/bldcontrol/migrations/0008_models_bigautofield.py b/bitbake/lib/toaster/bldcontrol/migrations/0008_models_bigautofield.py
new file mode 100644
index 00000000000..45b477d02c9
--- /dev/null
+++ b/bitbake/lib/toaster/bldcontrol/migrations/0008_models_bigautofield.py
@@ -0,0 +1,48 @@
+# Generated by Django 3.2.12 on 2022-03-06 03:28
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('bldcontrol', '0007_brlayers_optional_gitinfo'),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name='brbitbake',
+ name='id',
+ field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
+ ),
+ migrations.AlterField(
+ model_name='brerror',
+ name='id',
+ field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
+ ),
+ migrations.AlterField(
+ model_name='brlayer',
+ name='id',
+ field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
+ ),
+ migrations.AlterField(
+ model_name='brtarget',
+ name='id',
+ field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
+ ),
+ migrations.AlterField(
+ model_name='brvariable',
+ name='id',
+ field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
+ ),
+ migrations.AlterField(
+ model_name='buildenvironment',
+ name='id',
+ field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
+ ),
+ migrations.AlterField(
+ model_name='buildrequest',
+ name='id',
+ field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
+ ),
+ ]
diff --git a/bitbake/lib/toaster/orm/migrations/0020_models_bigautofield.py b/bitbake/lib/toaster/orm/migrations/0020_models_bigautofield.py
new file mode 100644
index 00000000000..f19b5dddbc4
--- /dev/null
+++ b/bitbake/lib/toaster/orm/migrations/0020_models_bigautofield.py
@@ -0,0 +1,173 @@
+# Generated by Django 3.2.12 on 2022-03-06 03:28
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('orm', '0019_django_2_2'),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name='bitbakeversion',
+ name='id',
+ field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
+ ),
+ migrations.AlterField(
+ model_name='build',
+ name='id',
+ field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
+ ),
+ migrations.AlterField(
+ model_name='distro',
+ name='id',
+ field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
+ ),
+ migrations.AlterField(
+ model_name='helptext',
+ name='id',
+ field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
+ ),
+ migrations.AlterField(
+ model_name='layer',
+ name='id',
+ field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
+ ),
+ migrations.AlterField(
+ model_name='layer_version',
+ name='id',
+ field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
+ ),
+ migrations.AlterField(
+ model_name='layerversiondependency',
+ name='id',
+ field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
+ ),
+ migrations.AlterField(
+ model_name='logmessage',
+ name='id',
+ field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
+ ),
+ migrations.AlterField(
+ model_name='machine',
+ name='id',
+ field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
+ ),
+ migrations.AlterField(
+ model_name='package',
+ name='id',
+ field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
+ ),
+ migrations.AlterField(
+ model_name='package_dependency',
+ name='id',
+ field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
+ ),
+ migrations.AlterField(
+ model_name='package_file',
+ name='id',
+ field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
+ ),
+ migrations.AlterField(
+ model_name='project',
+ name='id',
+ field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
+ ),
+ migrations.AlterField(
+ model_name='projectlayer',
+ name='id',
+ field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
+ ),
+ migrations.AlterField(
+ model_name='projecttarget',
+ name='id',
+ field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
+ ),
+ migrations.AlterField(
+ model_name='projectvariable',
+ name='id',
+ field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
+ ),
+ migrations.AlterField(
+ model_name='provides',
+ name='id',
+ field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
+ ),
+ migrations.AlterField(
+ model_name='recipe',
+ name='id',
+ field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
+ ),
+ migrations.AlterField(
+ model_name='recipe_dependency',
+ name='id',
+ field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
+ ),
+ migrations.AlterField(
+ model_name='release',
+ name='id',
+ field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
+ ),
+ migrations.AlterField(
+ model_name='releasedefaultlayer',
+ name='id',
+ field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
+ ),
+ migrations.AlterField(
+ model_name='target',
+ name='id',
+ field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
+ ),
+ migrations.AlterField(
+ model_name='target_file',
+ name='id',
+ field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
+ ),
+ migrations.AlterField(
+ model_name='target_image_file',
+ name='id',
+ field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
+ ),
+ migrations.AlterField(
+ model_name='target_installed_package',
+ name='id',
+ field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
+ ),
+ migrations.AlterField(
+ model_name='targetkernelfile',
+ name='id',
+ field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
+ ),
+ migrations.AlterField(
+ model_name='targetsdkfile',
+ name='id',
+ field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
+ ),
+ migrations.AlterField(
+ model_name='task',
+ name='id',
+ field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
+ ),
+ migrations.AlterField(
+ model_name='task_dependency',
+ name='id',
+ field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
+ ),
+ migrations.AlterField(
+ model_name='toastersetting',
+ name='id',
+ field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
+ ),
+ migrations.AlterField(
+ model_name='variable',
+ name='id',
+ field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
+ ),
+ migrations.AlterField(
+ model_name='variablehistory',
+ name='id',
+ field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
+ ),
+ ]
From patchwork Sat Mar 12 20:31:27 2022
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Tim Orling
X-Patchwork-Id: 5153
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 4FDA6C433EF
for ; Sat, 12 Mar 2022 20:31:56 +0000 (UTC)
Received: from mail-pj1-f53.google.com (mail-pj1-f53.google.com
[209.85.216.53])
by mx.groups.io with SMTP id smtpd.web08.8719.1647117115361578376
for ;
Sat, 12 Mar 2022 12:31:55 -0800
Authentication-Results: mx.groups.io;
dkim=pass header.i=@gmail.com header.s=20210112 header.b=j92BIsmC;
spf=pass (domain: gmail.com, ip: 209.85.216.53, mailfrom: ticotimo@gmail.com)
Received: by mail-pj1-f53.google.com with SMTP id b8so11067187pjb.4
for ;
Sat, 12 Mar 2022 12:31:55 -0800 (PST)
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=oShbpthFXa64glVSfkBOWyxLrC2OemfJPW2fyWuDukM=;
b=j92BIsmC9v5GOkhZlb6NX6IuPE2kXAmCamGFU/ukiUdhH5q9yf4qqKvR+zVcqblJgE
F3U4MwQuuvZDb1LPixzsGOuHTd+h1PFRYWpn7MCb2E6MF1uxSbFOHJggWge5uHkg1Yy1
jYkl2fTSfAbdY1Ls0UGvJmUn/R6XR2T01COiAeSNqJQiTUIJhIAFdaa7TRFLjvZ5W0Z3
MBH03TTeHmLiLqltS55wIUtO1HQfyZOYo3TOjtyH80PZt6uZhhNAnrxQFN937+TE7aOR
wkIkuDgPh8T0Tq1Ohqi48Mj8VW7CezPJT/ZDNtscKq/8yjT+f11chLUd2zEIm1CUlOMg
8Oxw==
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=oShbpthFXa64glVSfkBOWyxLrC2OemfJPW2fyWuDukM=;
b=VDMVES45UmvOl64pKOs3gDjTbYfBP+cwcifaPxjDl6rOd4P+e+gbLHj7JGzAwBUqGX
TjCukZdVAgm1JyLv3aK4Mo160a3Uf4WoAbFlJDmpK1Yvm4BMcUqv0Dv+bf2QZFSmieu/
FygBwzjAGNxi24mD7DjJNVckuRlLC3hHJZ3SXw4DqyijQGqNsKphjSN6S8uqvQ43TQYt
lpFH9piH+XFlbq0GbTYxMTV3Yovsv7R6vxLYgaxmN2tuzwFJglwN1JP2PvDxP1tkBCDJ
IWnV3JTdB4y0g7THwikGPfl7fx70/Rup0SNk0/xLoFlMfCVLxGbxNRaQFzy46StIlYxb
IABw==
X-Gm-Message-State: AOAM531bfaHeJJbmLVyttyR3y4U7jMeSUt1Nf0o6bgYH2OzMqiFhyGbJ
NIDrkruIyr4zwrcovZNudNO5pMmkhao=
X-Google-Smtp-Source:
ABdhPJzLOHWq8QyfFoYhiyrC0c+YbGdYh5UJfY0R0X3XwYfOF+J/K1Z9ZATFDI5cf5tUmNIADVIPfw==
X-Received: by 2002:a17:902:b208:b0:14f:14e8:1e49 with SMTP id
t8-20020a170902b20800b0014f14e81e49mr16414208plr.35.1647117114537;
Sat, 12 Mar 2022 12:31:54 -0800 (PST)
Received: from nereus.local ([2601:1c0:6000:1b20:a9d2:e45f:26bc:3c95])
by smtp.gmail.com with ESMTPSA id
f194-20020a6238cb000000b004f6ce898c61sm14479378pfa.77.2022.03.12.12.31.53
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Sat, 12 Mar 2022 12:31:54 -0800 (PST)
From: Tim Orling
X-Google-Original-From: Tim Orling
To: toaster@lists.yoctoproject.org
Cc: David.Reyna@windriver.com
Subject: [PATCH 6/7] bitbake: buildinfohelper.py fix for Django 3.2
Date: Sat, 12 Mar 2022 12:31:27 -0800
Message-Id:
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
; Sat, 12 Mar 2022 20:31:56 -0000
X-Groupsio-URL: https://lists.yoctoproject.org/g/toaster/message/5778
connection.features.autocommits_when_autocommit_is_off
was deprecated in 3.0 and is no longer present in 3.2
Signed-off-by: Tim Orling
---
bitbake/lib/bb/ui/buildinfohelper.py | 16 +++++-----------
1 file changed, 5 insertions(+), 11 deletions(-)
diff --git a/bitbake/lib/bb/ui/buildinfohelper.py b/bitbake/lib/bb/ui/buildinfohelper.py
index 835e92c2992..8fef6634691 100644
--- a/bitbake/lib/bb/ui/buildinfohelper.py
+++ b/bitbake/lib/bb/ui/buildinfohelper.py
@@ -893,9 +893,6 @@ class BuildInfoHelper(object):
self.task_order = 0
self.autocommit_step = 1
self.server = server
- # we use manual transactions if the database doesn't autocommit on us
- if not connection.features.autocommits_when_autocommit_is_off:
- transaction.set_autocommit(False)
self.orm_wrapper = ORMWrapper()
self.has_build_history = has_build_history
self.tmp_dir = self.server.runCommand(["getVariable", "TMPDIR"])[0]
@@ -1313,12 +1310,11 @@ class BuildInfoHelper(object):
task_information['outcome'] = Task.OUTCOME_FAILED
del self.internal_state['taskdata'][identifier]
- if not connection.features.autocommits_when_autocommit_is_off:
- # we force a sync point here, to get the progress bar to show
- if self.autocommit_step % 3 == 0:
- transaction.set_autocommit(True)
- transaction.set_autocommit(False)
- self.autocommit_step += 1
+ # we force a sync point here, to get the progress bar to show
+ if self.autocommit_step % 3 == 0:
+ transaction.set_autocommit(True)
+ transaction.set_autocommit(False)
+ self.autocommit_step += 1
self.orm_wrapper.get_update_task_object(task_information, True) # must exist
@@ -1990,8 +1986,6 @@ class BuildInfoHelper(object):
# Do not skip command line build events
self.store_log_event(tempevent,False)
- if not connection.features.autocommits_when_autocommit_is_off:
- transaction.set_autocommit(True)
# unset the brbe; this is to prevent subsequent command-line builds
# being incorrectly attached to the previous Toaster-triggered build;
From patchwork Sat Mar 12 20:31:28 2022
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Tim Orling
X-Patchwork-Id: 5154
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 4BA55C433EF
for ; Sat, 12 Mar 2022 20:31:58 +0000 (UTC)
Received: from mail-pg1-f172.google.com (mail-pg1-f172.google.com
[209.85.215.172])
by mx.groups.io with SMTP id smtpd.web09.8730.1647117117129238379
for ;
Sat, 12 Mar 2022 12:31:57 -0800
Authentication-Results: mx.groups.io;
dkim=pass header.i=@gmail.com header.s=20210112 header.b=QOLuZL2I;
spf=pass (domain: gmail.com, ip: 209.85.215.172,
mailfrom: ticotimo@gmail.com)
Received: by mail-pg1-f172.google.com with SMTP id o8so10356941pgf.9
for ;
Sat, 12 Mar 2022 12:31:57 -0800 (PST)
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=UZ3LQn6ey1AxbZq92iaD7cMfPUJSum1LVDdTJYZcehE=;
b=QOLuZL2I1yzrd+FZ00n8OWoui+fF7KghAZ5Y6urAFWe7RBEzUnyO2xs9q9KSXQ+qEE
NxXneT9V5LwSwe/hXA0KrtBeXcsJPmla+9rJjhSH8U3sEy9qJ0h5sItSZPFklqd0Ben8
TCW7fefHZmkSJtnaHurENYC05o0kHZnAF5RFK5NJlOsLSnIN1LRKzMIrgBOyBeFFL8KU
ulWluXyS5v8Fmp1/eHbJazpa4iGon8gF3zofuAHY0G15jGOwY7v+crvs9mrcayXpJuIc
kVAO0z6FDPytlYVctnLQzsoHT9E1x/E7cKblqDP7RTEsCWafhAJ3vn/4VegedfN5H7jo
/OdQ==
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=UZ3LQn6ey1AxbZq92iaD7cMfPUJSum1LVDdTJYZcehE=;
b=PrgkzEvD1d58QNrnnl/5pvf3RicaxctUK73DKWtXTp0GzXGGhgXcuOto3ybriwB+Wg
zT5eCqD2UJ8yvZ8dNTvzZaqUGu2NVW8ogXST4ASdZvrI028OI3f3m8OUlqsDXh5aAB7f
qzJxUb/DnJMNnBEhvEJcOo+y3I30By0bQFZFKpvudsyaqV4f1x7GvPNHIc1y9BQCxN/g
YiSlQaVwpIZLdSoX0GAnSdYJw9bdksF8gNgQskJtA5IOUpGWNqdbwhVjONQBhMbBDQvC
zhzuYGU7cG45HV4ASax81IDAyiVNfEPU3vh2VDwOqcdd1zYmNmDbpcBslX2B3q3ZwAAX
Iatw==
X-Gm-Message-State: AOAM5331fJ40k+z+8GGC+Fp0hJu5hxWwhLDEIGCI/gDquwmGM9EMLi5y
094bnnyrFr94EzYglXlYQUtU/ExOgt4=
X-Google-Smtp-Source:
ABdhPJy+IHcOvFamXKHSGXt+/yfahzaV64DVNyAPsiWSiXH7+ArQnEV3W9bjxkE65yHb3v80Po5a+A==
X-Received: by 2002:a05:6a00:1253:b0:4f7:61c7:9313 with SMTP id
u19-20020a056a00125300b004f761c79313mr16758906pfi.14.1647117116271;
Sat, 12 Mar 2022 12:31:56 -0800 (PST)
Received: from nereus.local ([2601:1c0:6000:1b20:a9d2:e45f:26bc:3c95])
by smtp.gmail.com with ESMTPSA id
f194-20020a6238cb000000b004f6ce898c61sm14479378pfa.77.2022.03.12.12.31.55
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Sat, 12 Mar 2022 12:31:55 -0800 (PST)
From: Tim Orling
X-Google-Original-From: Tim Orling
To: toaster@lists.yoctoproject.org
Cc: David.Reyna@windriver.com
Subject: [PATCH 7/7] toaster: drop landing_not_managed template
Date: Sat, 12 Mar 2022 12:31:28 -0800
Message-Id:
<5b114196ee72b569f9366ed8e45cb60516bbf692.1647116564.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
; Sat, 12 Mar 2022 20:31:58 -0000
X-Groupsio-URL: https://lists.yoctoproject.org/g/toaster/message/5779
This template is not referenced anywhere and therefore not used.
It also refers to the obsolete "build mode" in the old docs.
Signed-off-by: Tim Orling
---
.../templates/landing_not_managed.html | 34 -------------------
1 file changed, 34 deletions(-)
delete mode 100644 bitbake/lib/toaster/toastergui/templates/landing_not_managed.html
diff --git a/bitbake/lib/toaster/toastergui/templates/landing_not_managed.html b/bitbake/lib/toaster/toastergui/templates/landing_not_managed.html
deleted file mode 100644
index e7200b84121..00000000000
--- a/bitbake/lib/toaster/toastergui/templates/landing_not_managed.html
+++ /dev/null
@@ -1,34 +0,0 @@
-{% extends "base.html" %}
-
-{% load static %}
-{% load projecttags %}
-{% load humanize %}
-
-{% block title %} Welcome to Toaster {% endblock %}
-
-{% block pagecontent %}
-
-
-
-
-
-
-
- The 'Build' mode allows you to configure and run your Yocto Project builds from Toaster.
-
-
-
-
-
-{% endblock %}