From patchwork Fri Jan 14 05:54: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: 2424 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 22BAFC433F5 for ; Fri, 14 Jan 2022 05:55:09 +0000 (UTC) Received: from mail-pg1-f179.google.com (mail-pg1-f179.google.com [209.85.215.179]) by mx.groups.io with SMTP id smtpd.web10.3809.1642139708410966193 for ; Thu, 13 Jan 2022 21:55:08 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Z+10VOqm; spf=pass (domain: gmail.com, ip: 209.85.215.179, mailfrom: ticotimo@gmail.com) Received: by mail-pg1-f179.google.com with SMTP id t32so1914975pgm.7 for ; Thu, 13 Jan 2022 21:55:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=H8MxJd0XiYMg+XOTEs2HDqKzqKtTC1aBNok4te0Xegk=; b=Z+10VOqmyomT4vmlDo7ADj9/uz/Tkq51PAhQxpHpHIZzyLiefXV2jeRosbaEQfGD2a eodDOmwqSUt7Tx1AfXlY2KOdgYtbi90jdPeVgu4/62SL5qsFtIm997nP29CTaN2Q29Hr mOgPo1AjKx8kMl8xYRHdm2R6bC5DkB17glHtTJIHbZZH0QugvqvqRTHtL0FkH9FpzsRu gbW4nQPpzPLxKxPIIK9i2zn0LHqH4nD98MBkr8RgRc0QWVLvRnXgpc/BCHPuhKTrL+0X TP7OzEYomFfAQTBBONQCqOlnJ2j39AVM3qUDSlxzTynDiVBRqzCr8/dSe/mbzBblKWJh mjuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=H8MxJd0XiYMg+XOTEs2HDqKzqKtTC1aBNok4te0Xegk=; b=tQetU6KZjmuZpWSLp4QQl/j9Q+z9dUb14ZIR2LnwGoUolzR0vUFPNZqtFqOCGHoh4a WGJNPl5DZseUcDLrgQDMNLA2Le70IaKw5JvvH8kphsZ6QQHUBan+Sp76mwX5Dxo2BrRT CSLokoAlh8LVte5ssQlZUnEEDEGqP3herriqRPRxBv2C+KyZmzDw1Lh7FCXELqMBiCjo Jc/xt/0MOm2epZks7EJhFyFAyb34VhgB3D9tAwFSb/zahLj6G48r7JuS7Qan2geqz0Vr GIRA+16l/h6l6pfb6tYEhcCwaDb6mV/ueL4XUzghL0YaySsG08Cyy44CEhco3uOFBykO bDrg== X-Gm-Message-State: AOAM5306SiK1R/kIa6we019TYsjXgAn0/zpq2SkFSWhBcyrh+SC/9/jF 3/Nt1/CBxqNNUFzE3Mz2UjwGrWnPuCtR2g== X-Google-Smtp-Source: ABdhPJzMlG/Y0j5D1P6VrwTbthCsIkfBoglAWGyjlgbdRwrc2OEmSuYQGqtt7V4jkcR3Eq3Dp+xX7w== X-Received: by 2002:a63:8ac4:: with SMTP id y187mr5693021pgd.508.1642139707664; Thu, 13 Jan 2022 21:55:07 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:bf73:e59:4f56:2dd4]) by smtp.gmail.com with ESMTPSA id d2sm4514714pfu.76.2022.01.13.21.55.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jan 2022 21:55:07 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: yocto@lists.yoctoproject.org Subject: [layerindex][PATCH v2 01/18] dockersetup.py: fix EMAIL_USE_SSL/TLS Date: Thu, 13 Jan 2022 21:54:24 -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 ; Fri, 14 Jan 2022 05:55:09 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/55852 From: Tim Orling Need to concatenate str(boolean), not bool Signed-off-by: Tim Orling --- dockersetup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dockersetup.py b/dockersetup.py index e45a846..04dec91 100755 --- a/dockersetup.py +++ b/dockersetup.py @@ -353,13 +353,13 @@ def edit_dockercompose(hostname, dbpassword, dbapassword, secretkey, rmqpassword elif '- "EMAIL_USE_SSL' in line: format = line[0:line.find('- "EMAIL_USE_SSL')].replace("#", "") if email_ssl: - newlines.append(format + '- "EMAIL_USE_SSL=' + email_ssl + '"\n') + newlines.append(format + '- "EMAIL_USE_SSL=' + str(email_ssl) + '"\n') else: newlines.append(format + '#- "EMAIL_USE_SSL="\n') elif '- "EMAIL_USE_TLS' in line: format = line[0:line.find('- "EMAIL_USE_TLS')].replace("#", "") if email_tls: - newlines.append(format + '- "EMAIL_USE_TLS=' + email_tls + '"\n') + newlines.append(format + '- "EMAIL_USE_TLS=' + str(email_tls) + '"\n') else: newlines.append(format + '#- "EMAIL_USE_TLS="\n') elif "ports:" in line: From patchwork Fri Jan 14 05:54: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: 2425 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 379B1C433EF for ; Fri, 14 Jan 2022 05:55:12 +0000 (UTC) Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) by mx.groups.io with SMTP id smtpd.web12.3783.1642139711241304416 for ; Thu, 13 Jan 2022 21:55:11 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=FaPvPev+; spf=pass (domain: gmail.com, ip: 209.85.214.172, mailfrom: ticotimo@gmail.com) Received: by mail-pl1-f172.google.com with SMTP id p14so12471448plf.3 for ; Thu, 13 Jan 2022 21:55:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=kwZ6T3dd9CPTUgUZJYU+v556UDzVZPbOe08FkiABAU4=; b=FaPvPev+vtjDTFH+KjMZFP8c5tVpiiduvkgdHjzEYo6o+FC4N+PHo99xH0NmgGQlQ/ ndo4wCsyNM8+ovAUP9/+zg4uhOTyOcDCe8Bxx72etgP03j9v2vBp5eHUFrcGsNr9IYlS 3t2rChCGqD+UH7cPKQylCF+01JjKUObzfXTJK8AvPFb0K656EQQGgbGEVi8EjMOVeUcr nOsqU66hql2/9Q5GiTVGcorTG1NXV61Va5WfFV99i9L1j7duegISErR3BepbQadZPY/4 pD51qODCwamiidElCS13Az7GKVaPF5ciCFS+qe8hIkNQRhendHpUinu+55GpRLtCwR0K w11A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=kwZ6T3dd9CPTUgUZJYU+v556UDzVZPbOe08FkiABAU4=; b=zb1N1VFHKxZ5ARfh5lZlrpR3GJYz7Y0vXEcRMdkxih4rAQMHtKdNr+WW56LwOz6Enh TrvIuELRmfpk1TaT5oi4owakOpmUh2Z4TPkViUafNNN+u6Ao/ArYCIti09cmAje2KOJk Kin0VgVP2YHZvxGPVJnEFSCKcqx/V3DZA8/WFyAku70bXHme4IBT7l9CNe+3LMHiUohw oQlWhY5K8zijkNXyAle5a3B3Vow/i1IwQPj9TEB/9ZA6vZ5Hn0jTAmZE+Y6yXrgm156a vdpJc56Cd4mXLCnEcUO/5s7nb7u5nerrl+bhlPR1cycWRIcdtWtQEGqm2BkHLwVHjJyj 9icQ== X-Gm-Message-State: AOAM532dd8/ha7eR6dtda3okO6qGsM+qrtk4SCUKjVeHYmi9VQsSTIMB f7Sea5KlioyRcuQCo99GmfBleQQuCA4wSw== X-Google-Smtp-Source: ABdhPJzKz9uPAjcROHlsyqcM9Q7sLvazTG0Lf+f472z1jRXixqZzvwuLdS5ZAwyNi1mqVhrCVUNP9w== X-Received: by 2002:a17:90a:5210:: with SMTP id v16mr8989599pjh.107.1642139710392; Thu, 13 Jan 2022 21:55:10 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:bf73:e59:4f56:2dd4]) by smtp.gmail.com with ESMTPSA id d2sm4514714pfu.76.2022.01.13.21.55.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jan 2022 21:55:10 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: yocto@lists.yoctoproject.org Subject: [layerindex][PATCH v2 02/18] Dockerfile: cleanup, install python3-wheel Date: Thu, 13 Jan 2022 21:54:25 -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 ; Fri, 14 Jan 2022 05:55:12 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/55853 Remove duplicate python3-pip, etc. lines Need python3-wheel for bdist_wheel command Signed-off-by: Tim Orling --- Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8c4c847..f6623fa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,10 +24,8 @@ RUN apt-get update \ python3-pip \ python3-mysqldb \ python3-dev \ - python3-pip \ - python3-mysqldb \ - python3-dev \ python3-pil \ + python3-wheel \ libjpeg-dev \ libmariadbclient-dev \ locales \ From patchwork Fri Jan 14 05:54: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: 2429 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 3BE55C433F5 for ; Fri, 14 Jan 2022 05:55:21 +0000 (UTC) Received: from mail-pj1-f47.google.com (mail-pj1-f47.google.com [209.85.216.47]) by mx.groups.io with SMTP id smtpd.web12.3784.1642139713674933151 for ; Thu, 13 Jan 2022 21:55:13 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=LXRWFSiT; spf=pass (domain: gmail.com, ip: 209.85.216.47, mailfrom: ticotimo@gmail.com) Received: by mail-pj1-f47.google.com with SMTP id l16-20020a17090a409000b001b2e9628c9cso13171680pjg.4 for ; Thu, 13 Jan 2022 21:55:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=h3vW6AN/rDfq+boRc4j6nJZ7tuwtT2NXSDCnpoFVX0A=; b=LXRWFSiTdhuSt4l9/QAu87dUj/nx0+7JF0+WhJg84fteVNKGfcwZY7uXNvy06KnkRs OFLB9jere057g/ljqvCJVRFReXMnrgmudFiTqXoyExtzR4/geRKRuOboGGSUEtKDYgTl Kre54E3HDggsofvrJITu/jlc2qSoZLmLegX5bTalAT75oodxCK3sEOgFYEBpV6rIJuIm H9hs5qAqeipqteahcVVX1g2g3Nhp5gcQqDhhGMw3DVKxQpm6GxQ+kbOHEVs+jZdXuVuN wCV8dD8OZQy/GT1Us44aop6XoaPUAvmfcZKMlyMYkhaD4RRhPxEOfHmTcLEzTm34+440 dyJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=h3vW6AN/rDfq+boRc4j6nJZ7tuwtT2NXSDCnpoFVX0A=; b=1CoV+HJYMtBUoMl1e6gJ4iGEPpVg57u8QajEHcHiAKtW5HNqFSZelyQFYsMRoMCK1P 3Kc8DUXbnPhHva2i93yvfKgIfbLHIVgD+x5Bp+mdETE12/EcHaOuq/uyNtuc7Fmb2jYK R2DGwJZ8kmgEn6SIpd+jVdYB10jx+98yB+mKNi2oGGlfDZbR0AL2I/ACSDuQyUPf2+OH U6L4d/OQaf0zqwowk7cnkGVv5WuQX6oq9jcmyihm6z2EZFEM/WSsu8bwoWFkxsoHhR13 eUvmsTQh20fakkNCKNG/QloRTbCPKLQi+Taf4OH1Kxv3DLIJ7zXLNmn+XhVEfjA5yv8M BrvA== X-Gm-Message-State: AOAM532qn7F3+vcdOqKpB+cmFPk6E7LQ4TgXYUkwU2ZzWWpZsUoAEMvr ZaqyT2mkYUreTRuRYyT7kGKvTovLHeot1Q== X-Google-Smtp-Source: ABdhPJx8/0HAjwM+k2VnlWL6LRDwIM3R5n24Bpn9l+dKWM+r1iyhr7pgpY/Hb+1GDYOdIfXAIWITPw== X-Received: by 2002:a17:90a:4214:: with SMTP id o20mr9145981pjg.80.1642139712927; Thu, 13 Jan 2022 21:55:12 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:bf73:e59:4f56:2dd4]) by smtp.gmail.com with ESMTPSA id d2sm4514714pfu.76.2022.01.13.21.55.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jan 2022 21:55:12 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: yocto@lists.yoctoproject.org Subject: [layerindex][PATCH v2 03/18] dockersetup.py: letsencrypt 2048 bit rsa Date: Thu, 13 Jan 2022 21:54:26 -0800 Message-Id: <1f41512758b167502537f775a23c9639baed0889.1642138698.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 ; Fri, 14 Jan 2022 05:55:21 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/55854 The minimum length for an RSA pem is 2048 for the dummy cert. Signed-off-by: Tim Orling --- dockersetup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dockersetup.py b/dockersetup.py index 04dec91..6a0ab67 100755 --- a/dockersetup.py +++ b/dockersetup.py @@ -483,7 +483,7 @@ def setup_https(hostname, http_port, https_port, letsencrypt, cert, cert_key, em os.makedirs(local_letsencrypt_cert_dir) keyfile = os.path.join(letsencrypt_cert_subdir, 'privkey.pem') certfile = os.path.join(letsencrypt_cert_subdir, 'fullchain.pem') - return_code = subprocess.call(['openssl', 'req', '-x509', '-nodes', '-newkey', 'rsa:1024', '-days', '1', '-keyout', os.path.join(local_cert_dir, keyfile), '-out', os.path.join(local_cert_dir, certfile), '-subj', '/CN=localhost'], shell=False) + return_code = subprocess.call(['openssl', 'req', '-x509', '-nodes', '-newkey', 'rsa:2048', '-days', '1', '-keyout', os.path.join(local_cert_dir, keyfile), '-out', os.path.join(local_cert_dir, certfile), '-subj', '/CN=localhost'], shell=False) if return_code != 0: print("Dummy certificate generation failed") sys.exit(1) From patchwork Fri Jan 14 05:54: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: 2426 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 33593C433F5 for ; Fri, 14 Jan 2022 05:55:16 +0000 (UTC) Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) by mx.groups.io with SMTP id smtpd.web09.3759.1642139715490146862 for ; Thu, 13 Jan 2022 21:55:15 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Omyob99I; spf=pass (domain: gmail.com, ip: 209.85.210.169, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f169.google.com with SMTP id 128so1871477pfe.12 for ; Thu, 13 Jan 2022 21:55:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=l8ysniZplmLc+XEua/PM0VuSFHMFchtEer+ZRU61PNU=; b=Omyob99IB1+GRV+mdFDpKocrD3G8fmA99Fr1LAu8mQhp/9mj04uVs+F8yRsVfzig/N 6sDRJDSrokIvaLRRsEe6zBtivIsrEcWJTlYlo0e3CiNYAU64xrmQk/lIAZTFhTVmAlPD m/8sy4KEiwgN2vTKL+dQqWX3H3x9SbjlxY9BYqU2MuSOOAdsRG8ZXm8JYoChGoPlSag+ Bxxnig/gX8Nv04L/sY9WB2TTZ9Gf2GmEX/NHy5meLZXHOHTEUbqQdpSSMOc5idfXuE4H enGWQGxuZ/FCwxJdPj3AOA541xOp9mwkZjkfIWvMyt452bOH2TNOG8WPiYiPBorIQRsv V31A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=l8ysniZplmLc+XEua/PM0VuSFHMFchtEer+ZRU61PNU=; b=xPVMjRQ9ZR1mcXYfeQJSTClleXacEQMBDorH2wsC9Goy5rRxJ6dHPdu1sHC8maZby5 Xy2AurhUSK1D8QyTjN0nQIUk4Q9Bu8YjRC938kcpO1MYjzuu7GA7sL40uDaymHgsiaLI Z5apTaRQ3EAYm4A7BeE5iTb+hwGIZv1Vx6ZFf9f90gPwslKDr8IXLDDCcbhbrcEj/nTF K1xBGhI8Us4h3wUpsZ0EAUY3W6LOYYo/dRD9hcROPjHIj332HNGAmcccO7flAtVs8nfS omW+SG8ZHLfOnvqkRIvaBkmnYslTq4X+9Mhre6RS4zLxDD6Hfp7TezdBi0/qx2gux2D3 WQ9g== X-Gm-Message-State: AOAM533uOtQoZuOt+g1UybgqGNFp805vfA5EXEFYD4K1YkN4LYDkmCoV D+7Ezt8a+ozf8PK/bHYqF/ztozhMr0pwnQ== X-Google-Smtp-Source: ABdhPJyafuR4A0hh5W0wcqhHuBPVrYT5zmgIo3cl1242v299LbqvM5q6C+qdCOqk8OY1UuxpIzkSJw== X-Received: by 2002:a63:84c2:: with SMTP id k185mr5411747pgd.544.1642139714738; Thu, 13 Jan 2022 21:55:14 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:bf73:e59:4f56:2dd4]) by smtp.gmail.com with ESMTPSA id d2sm4514714pfu.76.2022.01.13.21.55.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jan 2022 21:55:14 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: yocto@lists.yoctoproject.org Subject: [layerindex][PATCH v2 04/18] layerindex/*: make all shebangs python3 Date: Thu, 13 Jan 2022 21:54:27 -0800 Message-Id: <4e857f68f43bca721a5f8f3e3dcd49cb32434c55.1642138698.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 ; Fri, 14 Jan 2022 05:55:16 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/55855 Several scripts still had /usr/bin/env python Signed-off-by: Tim Orling --- layerindex/bulkchange.py | 2 +- layerindex/recipedesc.py | 2 +- layerindex/tools/import_classic_wiki.py | 2 +- layerindex/tools/import_wiki_layers.py | 2 +- layerindex/tools/site_name.py | 2 +- layerindex/tools/update_classic_status.py | 2 +- layerindex/update_layer.py | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/layerindex/bulkchange.py b/layerindex/bulkchange.py index 6382053..0ec4058 100644 --- a/layerindex/bulkchange.py +++ b/layerindex/bulkchange.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # layerindex-web - bulk change implementation # diff --git a/layerindex/recipedesc.py b/layerindex/recipedesc.py index be47f6e..ee7f2fe 100644 --- a/layerindex/recipedesc.py +++ b/layerindex/recipedesc.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Test script # diff --git a/layerindex/tools/import_classic_wiki.py b/layerindex/tools/import_classic_wiki.py index aa33b7a..bd7ab9a 100755 --- a/layerindex/tools/import_classic_wiki.py +++ b/layerindex/tools/import_classic_wiki.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Import migration info from OE-Classic recipes wiki page into OE # layer index database diff --git a/layerindex/tools/import_wiki_layers.py b/layerindex/tools/import_wiki_layers.py index 707d90e..2c82411 100755 --- a/layerindex/tools/import_wiki_layers.py +++ b/layerindex/tools/import_wiki_layers.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Import layer index wiki page into database # diff --git a/layerindex/tools/site_name.py b/layerindex/tools/site_name.py index e1cff02..0f2782d 100755 --- a/layerindex/tools/site_name.py +++ b/layerindex/tools/site_name.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Updates site name in Django database # diff --git a/layerindex/tools/update_classic_status.py b/layerindex/tools/update_classic_status.py index 0bcf2e7..aa5d2ef 100755 --- a/layerindex/tools/update_classic_status.py +++ b/layerindex/tools/update_classic_status.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Update cover info for OE-Classic / other distro recipes in OE layer index database # diff --git a/layerindex/update_layer.py b/layerindex/update_layer.py index f3f5e17..e8b210e 100644 --- a/layerindex/update_layer.py +++ b/layerindex/update_layer.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Update layer index database for a single layer # From patchwork Fri Jan 14 05:54: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: 2427 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 465D8C433EF for ; Fri, 14 Jan 2022 05:55:18 +0000 (UTC) Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) by mx.groups.io with SMTP id smtpd.web09.3761.1642139717065393857 for ; Thu, 13 Jan 2022 21:55:17 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=fWvXv1l+; spf=pass (domain: gmail.com, ip: 209.85.210.170, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f170.google.com with SMTP id x83so1872522pfc.0 for ; Thu, 13 Jan 2022 21:55:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=cM+uxKPOUJkjy/JmUGQ3nZk2l2gzqS8rhpZWY97+970=; b=fWvXv1l+D6wlXk45+IH7mI7Nr+R6JwORf81LGeA247369T9XDgwx6rOtC8mU+b5oF+ Z4amFYUve9JGjD2eb5WzINgGHHm311P/FO+Ymbli5P1dP3qzXSSx8zRhGsuqN2w6Jw4o 2uBNCUUSigQEZtmDbpbFo2vgfaOGv4pyH/tn+d/minwXExlgV9+VI33XoZpfYrhjTNXA tZ8zPCZmcZXmkw0k5WWRROVRALmg/wmCEbHv4FwYYF6mAuXO1+412CDpuz2qQESoWkli qB+QsMwO5Y4bTyagMqe7PBhK9B5juCd7TETjOE/qYkV10W6Q7kBgcBFKzF3Q3c5olGk4 XwhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=cM+uxKPOUJkjy/JmUGQ3nZk2l2gzqS8rhpZWY97+970=; b=iFmeD0tr/FxH74eXVv1kjto62odHIzaiLagMZ0Q/1K12vN6tyDhs9o6kjG5bOapaoh 9x9fxWN2FkjR8tpPVjcBwT4EB1MgUCjtAb6EaxkGzq6Bdv+7ZyhmBtoaACBXbbmjDfEJ j3KTMpPvu2PpjpbLaoyIjdXt7StXWOUWkr5g/wrRvispRS6fukMtaoaRgRUaz+bpIWYy S4Xpf6Vruc4ftWP3MrbODnxHDMIHzTPXZUBzhV9Gs/vklt+OjAOCd0/PBV4tsu8avm5z uIWbP+GhXyaTq6YgfDX4LTdr+75orgZCkK5HAjpAzu5t6oYfpkiCS6CBKZQcs6Bukgz3 YDDA== X-Gm-Message-State: AOAM531eu9eKgn9TrzN8LNUj7qo/LuQ3NodL6lt49BypYTb+PhnqsRKm cxG4GqcUMZncr9C0X/EEhkqxySUoorXzFQ== X-Google-Smtp-Source: ABdhPJxT9L+0XA3p3U3nHIRjkUSFMtZvk9xwZ8A0k5/yhYArpjKxOBrAgu8So0Wo6SnOLTkPnN9Isw== X-Received: by 2002:a63:7783:: with SMTP id s125mr6662986pgc.462.1642139716328; Thu, 13 Jan 2022 21:55:16 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:bf73:e59:4f56:2dd4]) by smtp.gmail.com with ESMTPSA id d2sm4514714pfu.76.2022.01.13.21.55.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jan 2022 21:55:15 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: yocto@lists.yoctoproject.org Subject: [layerindex][PATCH v2 05/18] requirements.txt: bump to Django 3.0 Date: Thu, 13 Jan 2022 21:54:28 -0800 Message-Id: <094c89bc70c0add040e880dfb2c84a3b617de4af.1642138698.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 ; Fri, 14 Jan 2022 05:55:18 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/55856 Incremental upgrade towards 3.2 LTS version. Signed-off-by: Tim Orling --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 1c2c4a1..ac69589 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,7 +3,7 @@ beautifulsoup4==4.8.1 billiard==3.6.1.0 celery==4.3.0 confusable-homoglyphs==3.2.0 -Django>=2.2,<2.3 +Django>=3.0,<3.1 django-appconf==1.0.3 django-axes==4.5.4 django-bootstrap-pagination==1.7.1 From patchwork Fri Jan 14 05:54:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 2428 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 2A60DC433F5 for ; Fri, 14 Jan 2022 05:55:19 +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.web08.3883.1642139718590094538 for ; Thu, 13 Jan 2022 21:55:18 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=f2h2SGUn; spf=pass (domain: gmail.com, ip: 209.85.214.180, mailfrom: ticotimo@gmail.com) Received: by mail-pl1-f180.google.com with SMTP id c6so3967206plh.6 for ; Thu, 13 Jan 2022 21:55:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=vmuD3KWbAM6IFCJHIHwJHpruKCbAZ/wKb5foLRPk4dk=; b=f2h2SGUnnqo2z0EIR4TlzbwWcRvqCxX+riaNpkm22G6XJRwhbXR8m3/CvBE1E+8/MN 9M9QniwH9HBDhD7CuI/vZ/Fn7Six4HRUanK/0Q/SzTCQrgCrIxflyRZ/mlrWTUZOGBw7 swrfdOc61odfuEs0iOhKnG/P7/wpcsUwLYjCF4f5JnZrki42q9EH/RtI0u90Azho3K81 0jQ8zn+afsuwzDnYBypGcPw++NrCm5yyKRwnisTmbfUwWADWGCUK4tPTNlU43/PJe79U zReJ2vlWSS00TOW3KL77YunL+DMYV9lw1PuqmxcnxcBbH6HbnIH2rRXNyjUCVoOdstd0 rh1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=vmuD3KWbAM6IFCJHIHwJHpruKCbAZ/wKb5foLRPk4dk=; b=puRTzgL3ID57kfI4xb8bdxVEm5XeDOUpnVcUY7t92BkltQU5CwITNwvQ+7z90pGv+Z xPQNHr1KEVFiOhTjgKSoAv0TVjiKzgRV3OlOtIoNXFg05Z32lBoWhSysAt6WCPAHNVIp dJ45ASRwDjiUZj3TO5jEGm3qjLfAeX0Kz14BioRNdGJPZ9ma5EOtoXwDL1ZD9/wWlrKT /ak9fcXYDeJ+g21xXsmKPG3/ciuj6aA9fII0zB7CWmij4eqSu01vzX0OWioIMXyAo5kQ BdFVolIdKHdjFnE/nqc/8MGbCs1ox+JoOz0ZLu5WZEqG+1jt7MIIx08sZMDqJ3ypETBj hZlQ== X-Gm-Message-State: AOAM530cIkORrvR2mCg6PDpLOxxYabyrDnzwROE7OyKToThfvGRcbyCS LrG/XTUibOuBYlPYGZkCO2/CHgVm+edDag== X-Google-Smtp-Source: ABdhPJw8jQ9B4ZGDHS/tKN8jJVZqnPBmYfHCwm/CPZqmcUDGovOtkUB3Mh9DDR9MTOUXtQjRHKvKQQ== X-Received: by 2002:a17:902:ecc4:b0:14a:15a7:c3d3 with SMTP id a4-20020a170902ecc400b0014a15a7c3d3mr7846023plh.117.1642139717823; Thu, 13 Jan 2022 21:55:17 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:bf73:e59:4f56:2dd4]) by smtp.gmail.com with ESMTPSA id d2sm4514714pfu.76.2022.01.13.21.55.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jan 2022 21:55:17 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: yocto@lists.yoctoproject.org Subject: [layerindex][PATCH v2 06/18] Updates for Django 3.0 Date: Thu, 13 Jan 2022 21:54:29 -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 ; Fri, 14 Jan 2022 05:55:19 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/55857 * Update requirements.txt versions - Mostly update to latest pre-Django 3.1 versions * Fix deprecated axes.backends.AxesModelBackend - settings.py - docker/settings.py * Fix template syntax 'staticfiles' -> 'static' - base.html * Add migrations for layerbranch classicrecipe Signed-off-by: Tim Orling --- docker/settings.py | 3 ++- .../0045_layerbranch_classicrecipe.py | 19 +++++++++++++++ requirements.txt | 24 +++++++++---------- settings.py | 3 ++- templates/base.html | 2 +- 5 files changed, 36 insertions(+), 15 deletions(-) create mode 100644 layerindex/migrations/0045_layerbranch_classicrecipe.py diff --git a/docker/settings.py b/docker/settings.py index 7330ab9..894974f 100644 --- a/docker/settings.py +++ b/docker/settings.py @@ -102,6 +102,7 @@ MIDDLEWARE = ( 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', + 'axes.middleware.AxesMiddleware', 'layerindex.middleware.NonAtomicRevisionMiddleware', ) @@ -161,7 +162,7 @@ INSTALLED_APPS = ( ) AUTHENTICATION_BACKENDS = [ - 'axes.backends.AxesModelBackend', + 'axes.backends.AxesBackend', 'django.contrib.auth.backends.ModelBackend', ] diff --git a/layerindex/migrations/0045_layerbranch_classicrecipe.py b/layerindex/migrations/0045_layerbranch_classicrecipe.py new file mode 100644 index 0000000..cb805c9 --- /dev/null +++ b/layerindex/migrations/0045_layerbranch_classicrecipe.py @@ -0,0 +1,19 @@ +# Generated by Django 3.0.14 on 2021-07-18 00:03 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('layerindex', '0044_extendedprovides'), + ] + + operations = [ + migrations.AlterField( + model_name='classicrecipe', + name='cover_layerbranch', + field=models.ForeignKey(blank=True, limit_choices_to={'branch__name': 'master'}, null=True, on_delete=django.db.models.deletion.SET_NULL, to='layerindex.LayerBranch', verbose_name='Covering layer'), + ), + ] diff --git a/requirements.txt b/requirements.txt index ac69589..895994b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,24 +1,24 @@ -amqp==2.5.2 -beautifulsoup4==4.8.1 +amqp==2.6.1 +beautifulsoup4==4.9.3 billiard==3.6.1.0 celery==4.3.0 confusable-homoglyphs==3.2.0 Django>=3.0,<3.1 -django-appconf==1.0.3 -django-axes==4.5.4 +django-appconf==1.0.4 +django-axes==5.13.1 django-bootstrap-pagination==1.7.1 -django-cors-headers==3.0.2 -django-ipware==2.1.0 +django-cors-headers==3.2.1 +django-ipware==3.0.2 django-ranged-response==0.2.0 -django-registration==3.0.1 -django-reversion==2.0.13 -django-reversion-compare==0.8.6 -django-simple-captcha==0.5.12 -djangorestframework==3.9.4 +django-registration==3.1.2 +django-reversion==3.0.9 +django-reversion-compare==0.14.0 +django-simple-captcha==0.5.14 +djangorestframework==3.12.4 gitdb2==2.0.6 GitPython==2.1.13 kombu==4.6.3 -mysqlclient==1.4.4 +mysqlclient==1.4.6 Pillow==6.2.1 pytz==2019.3 six==1.12.0 diff --git a/settings.py b/settings.py index 1dd6ebc..d03d15c 100644 --- a/settings.py +++ b/settings.py @@ -102,6 +102,7 @@ MIDDLEWARE = ( 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', + 'axes.middleware.AxesMiddleware', 'layerindex.middleware.NonAtomicRevisionMiddleware', ) @@ -161,7 +162,7 @@ INSTALLED_APPS = ( ) AUTHENTICATION_BACKENDS = [ - 'axes.backends.AxesModelBackend', + 'axes.backends.AxesBackend', 'django.contrib.auth.backends.ModelBackend', ] diff --git a/templates/base.html b/templates/base.html index a465a68..f00c976 100644 --- a/templates/base.html +++ b/templates/base.html @@ -9,7 +9,7 @@ {% load i18n %} -{% load staticfiles %} +{% load static %} From patchwork Fri Jan 14 05:54:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 2433 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 32E09C433FE for ; Fri, 14 Jan 2022 05:55:26 +0000 (UTC) Received: from mail-pj1-f54.google.com (mail-pj1-f54.google.com [209.85.216.54]) by mx.groups.io with SMTP id smtpd.web10.3812.1642139720142969740 for ; Thu, 13 Jan 2022 21:55:20 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=SDsrwNRq; spf=pass (domain: gmail.com, ip: 209.85.216.54, mailfrom: ticotimo@gmail.com) Received: by mail-pj1-f54.google.com with SMTP id c14-20020a17090a674e00b001b31e16749cso20998146pjm.4 for ; Thu, 13 Jan 2022 21:55:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=EK48na2iWSwMdxaR7W8TAO018wzQAYjJB4Z3n+Tf1Mc=; b=SDsrwNRqCe6YvLukO1pPr6egDXN+grLC7Tc80fddh10rKlfDY1l9QSwLv5HLkJiKxd b/NfxU6ngdmisRMv6pE15mlJjlwKtNyoM0cWGdrzm+POeDgZyU4m8QQp5vaOVOgG/0mT zTqHpbFwpA2sOOLqEnCKqxDLNq5vBPeHkGYezpTZXXEwE3+P0/mJc93QZXJhci1ae11i ysCjim/Ucc5HHVdKQS7mN6Fb/IKREOGpLdiuomdJ0vvlIUYcilMsEMKFYh3NMrMYtvEk rcr31cX/Xo5LF9Y89cgXJMeyOKXdnpruv2ChCTC2tC0z8UuVBOLGzAVbXcTvnsItB0fP REpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=EK48na2iWSwMdxaR7W8TAO018wzQAYjJB4Z3n+Tf1Mc=; b=q2Ni7sfb9DWeND45EQ7lmXHEEWWJYlaRj+LX3El0rskkFHth7Js0Ld6b6C8F1LjWq5 VIm7edQBM3ic4VVrADvcQEcqhk82vIQAD8r4V642cEemDLiioNCXEuG4dkuQJCuD84fM ivakufZ+6fLZZNFPYF6eyUhZHjiyd5wuh1i62SLUEofl36ETr5nXmggO8KOkgKs4jaOw 691n6WlPndwYbNAKV4B4y5wkEOmnZ2OQQXtypMwFFyViztJpRaBpRoZN+AW9iqpbLL3f etHZaOJhGHRTzqBgtuov/qWGgOkb0s86r8SlnepNJHMDQbOy2fsnSCpIaubdrjSQ8Rlf f5aA== X-Gm-Message-State: AOAM530vA04yM85/0iaEkEoI6sNcAQ6nBWCCL8v8c0QUztH28E/7/5A6 onX6S0wirbc+CHk7Ddw5qFYSCGC+0QLkkw== X-Google-Smtp-Source: ABdhPJyQatLuIihjVgGopIKifDj4L2vqINrFpWcVxeqVghWFEVHmSg9EjNAo9B0QAbfSLVJda6MOww== X-Received: by 2002:a17:90a:5d13:: with SMTP id s19mr18448936pji.117.1642139719518; Thu, 13 Jan 2022 21:55:19 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:bf73:e59:4f56:2dd4]) by smtp.gmail.com with ESMTPSA id d2sm4514714pfu.76.2022.01.13.21.55.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jan 2022 21:55:18 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: yocto@lists.yoctoproject.org Subject: [layerindex][PATCH v2 07/18] requirements.txt: bump to Django 3.1 Date: Thu, 13 Jan 2022 21:54:30 -0800 Message-Id: <49b41802e4a51fd66e6406e4a2e31e1f8eba165d.1642138698.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 ; Fri, 14 Jan 2022 05:55:26 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/55858 Another incremental upgrade towards 3.2 LTS Signed-off-by: Tim Orling --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 895994b..865960c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,7 +3,7 @@ beautifulsoup4==4.9.3 billiard==3.6.1.0 celery==4.3.0 confusable-homoglyphs==3.2.0 -Django>=3.0,<3.1 +Django>=3.1,<3.2 django-appconf==1.0.4 django-axes==5.13.1 django-bootstrap-pagination==1.7.1 From patchwork Fri Jan 14 05:54:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 2430 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 25D9DC433FE for ; Fri, 14 Jan 2022 05:55:22 +0000 (UTC) Received: from mail-pg1-f178.google.com (mail-pg1-f178.google.com [209.85.215.178]) by mx.groups.io with SMTP id smtpd.web12.3793.1642139721650287536 for ; Thu, 13 Jan 2022 21:55:21 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=a1iopJtl; spf=pass (domain: gmail.com, ip: 209.85.215.178, mailfrom: ticotimo@gmail.com) Received: by mail-pg1-f178.google.com with SMTP id 8so1915539pgc.10 for ; Thu, 13 Jan 2022 21:55:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=VGxt0Bf/FPmowAKnEDaSPZaCkYQwbGMgm5Ulu6v+qtM=; b=a1iopJtl6S4WrGbIZJlaNuAVgpNm7qX7dcLCEDCdy75e6YAs7CtsYn9gs1GZ5hztlF 0EpN+qSy+9W9Nanr7abOdjQMkd4bMsH3Kmh4D+VIu1hjpkqN9fP0ufNgojKewr6h2Gc4 CYsGw9d8aCy7O2V8W1tIjMcEWIZBrORN0ZAH6+6pR/MnW2eYe/CbHIMi408MVn45307a +OFcAiYx6YUmtkIT8vyBoJe2eyPJRsnY2JBuehIpWHYC0nOqqlyvJLYb40l92cEgc5Tw Fy+TC84hrC9W9nmWskl88sj/TB8oIli8HdWeejEPljZxqhrZwFZ0MfFPctDR1jtbUjB9 Ed0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=VGxt0Bf/FPmowAKnEDaSPZaCkYQwbGMgm5Ulu6v+qtM=; b=sLqPwJmjBO53bwmUhiYqqSvEPqfljk7c++v4dcrgZC32L6/5fqN2ehnmohwCppBezf Tg7Lme63TDUlXtH7SzoxWs5QWTHpTDhiAOdV3fOhfQFmWnPUGjqvXKMXhXh3YpEOzUKK LVy+x6qKgPmFE/9EghsCjXkpOmVCz6ajqiuqJKdoTIcq0UgUG7fxfWR25qPYg4Qi7lsz szbwok3MB19VdoIhqweoGluOE2lZQawD1NzYeBd3qCStOnVvhgRdSTe9iUOB5V5X1YVr BwOUn1/xv/cc/lHIjFVZXtpoOFz1SQoYf78lnEOVWbrtveeHRin/tDPSNBnX46RSFqA9 Le2g== X-Gm-Message-State: AOAM530kb3CGnkVHPF0xZmce5vNaRXixiiBr/bvBF3FDcW6cAvWtKGb2 MAoPtjjunKhKAaJkANQ5lZB8m3SFOq0hLQ== X-Google-Smtp-Source: ABdhPJy/BSNysBrfT3IPKjwGMAOSiidrDyhGHDSKDgTZs2LRgQQV5r72IKNAN6jz1UHGsxoR7Oed5Q== X-Received: by 2002:a63:8543:: with SMTP id u64mr4450291pgd.474.1642139720954; Thu, 13 Jan 2022 21:55:20 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:bf73:e59:4f56:2dd4]) by smtp.gmail.com with ESMTPSA id d2sm4514714pfu.76.2022.01.13.21.55.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jan 2022 21:55:20 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: yocto@lists.yoctoproject.org Subject: [layerindex][PATCH v2 08/18] docker-compose: bump mariadb to 10.3 Date: Thu, 13 Jan 2022 21:54:31 -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 ; Fri, 14 Jan 2022 05:55:22 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/55859 10.2 was based on Ubuntu bionic 18.04, bumping to 10.3 as it is the first release on Ubuntu focal 20.04 Signed-off-by: Tim Orling --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 44260b6..3e16e95 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,7 @@ version: '3' services: layersdb: - image: mariadb:10.2 + image: mariadb:10.3 command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --wait_timeout=28800 --max_allowed_packet=128M environment: - "MYSQL_DATABASE=layersdb" From patchwork Fri Jan 14 05:54:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 2431 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 25D7BC433F5 for ; Fri, 14 Jan 2022 05:55:24 +0000 (UTC) Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) by mx.groups.io with SMTP id smtpd.web08.3885.1642139723353647275 for ; Thu, 13 Jan 2022 21:55:23 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Sgf+DVr1; spf=pass (domain: gmail.com, ip: 209.85.210.180, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f180.google.com with SMTP id m21so1870118pfd.3 for ; Thu, 13 Jan 2022 21:55:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=t9aJ8RadYnY0JpUeb11d7QQhH19UPBU9Xs89RHpIH2E=; b=Sgf+DVr13IwZbl5+ZE/Q9NJ/5lgapZiappgzQ5YeuDee433/18lduA07P3uz7/nrJg v2B8v1aJ8hnq5Dl9Abc24zy33ONcTC9JaZMSE+FlT0ogZ0qd5rjua+GNWFCPRrltIM2h FtF3WWrUJf3ravL4Jfwfcs6mn5337E+PSTerND1gxcF8CzwAhYS3zAM2zCudn6/p+igV Xauq3gR4h7SGuDkyOrNW9GzeDZdJBDRbVinv/bQoc/1Qy7THASmn7eLP4TC9NoUVILxp uLPku50X4vU3us/pUkMTWkumieI0hP5a9UKNNTo/fDDY8IrG5Wtr8rJVdbCCGXP3KsOU AiZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=t9aJ8RadYnY0JpUeb11d7QQhH19UPBU9Xs89RHpIH2E=; b=yG+2YEGNrNTlR5oBxxlYXUc9gUA0y966I8GwNmqQzhIvlUmrKMVxLaZo/cK1/Dkw/1 MHaAtIAZb6kcQqAyKE6NgvMMqzI9Afa9WjA6cpH4pP7Qf/f6XjQwlqaUPJi8fz9Q8u/L UBYl3iBhoTyAgBo9NIyySUQK5XUJP7Ds2uOLByDSrzBZ+IHFbJIp6wrsDiG4t//jkFTZ BIXY4fHWUzSP+BHfI854r8OEZMjr4fPKsuqSjRDqNCaZuvmo7VyVn4c9Bfn2qGNQHX0Y xmZXI1PDdhAeX81jJq0CBlGqayDkCTYgC2CquylOKPkhiqRc1GU8/dHJVcsSj5cy8qjo b1Ww== X-Gm-Message-State: AOAM533XgM7wP1CinpFdVnuEOgzBLcpXb1BkA8qsnq4NVOiE3+NJ/yjY XWYJ2a45qeA+C7tAv6bRpFreL7rrpnoGIA== X-Google-Smtp-Source: ABdhPJxO6WgzPagIb4t1kInRLDJBHaNXew2a+sMsUqe59KLWAas+ZSzG2wtNxdty+7Mj/vuE6Zdgkw== X-Received: by 2002:a63:cd49:: with SMTP id a9mr6763067pgj.607.1642139722604; Thu, 13 Jan 2022 21:55:22 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:bf73:e59:4f56:2dd4]) by smtp.gmail.com with ESMTPSA id d2sm4514714pfu.76.2022.01.13.21.55.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jan 2022 21:55:22 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: yocto@lists.yoctoproject.org Subject: [layerindex][PATCH v2 09/18] requirements.txt: update all to latest Date: Thu, 13 Jan 2022 21:54:32 -0800 Message-Id: <08d7f96e10549530b12334c782855533bc7e7c1d.1642138698.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 ; Fri, 14 Jan 2022 05:55:24 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/55860 Since we are on a "modern" version of Python in Debian buster container (3.7) and a modern version of Django (3.1.x) we should be able to run with the latest of all dependencies. Signed-off-by: Tim Orling --- requirements.txt | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/requirements.txt b/requirements.txt index 865960c..7704ac0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,27 +1,27 @@ -amqp==2.6.1 +amqp==5.0.6 beautifulsoup4==4.9.3 -billiard==3.6.1.0 -celery==4.3.0 +billiard==3.6.4.0 +celery==5.1.2 confusable-homoglyphs==3.2.0 Django>=3.1,<3.2 django-appconf==1.0.4 -django-axes==5.13.1 +django-axes==5.20.0 django-bootstrap-pagination==1.7.1 -django-cors-headers==3.2.1 +django-cors-headers==3.7.0 django-ipware==3.0.2 django-ranged-response==0.2.0 -django-registration==3.1.2 -django-reversion==3.0.9 +django-registration==3.2 +django-reversion==4.0.0 django-reversion-compare==0.14.0 django-simple-captcha==0.5.14 djangorestframework==3.12.4 -gitdb2==2.0.6 -GitPython==2.1.13 -kombu==4.6.3 -mysqlclient==1.4.6 -Pillow==6.2.1 -pytz==2019.3 -six==1.12.0 -smmap2==2.0.5 -soupsieve==1.9.4 -vine==1.3.0 +gitdb==4.0.7 +GitPython==3.1.18 +kombu==5.1.0 +mysqlclient==2.0.3 +Pillow==8.3.1 +pytz==2021.1 +six==1.16.0 +smmap==4.0.0 +soupsieve==2.2.1 +vine==5.0.0 From patchwork Fri Jan 14 05:54:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 2432 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 26BDDC433EF for ; Fri, 14 Jan 2022 05:55:26 +0000 (UTC) Received: from mail-pj1-f47.google.com (mail-pj1-f47.google.com [209.85.216.47]) by mx.groups.io with SMTP id smtpd.web09.3763.1642139724649005610 for ; Thu, 13 Jan 2022 21:55:24 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=T31ht1II; spf=pass (domain: gmail.com, ip: 209.85.216.47, mailfrom: ticotimo@gmail.com) Received: by mail-pj1-f47.google.com with SMTP id y16-20020a17090a6c9000b001b13ffaa625so21053804pjj.2 for ; Thu, 13 Jan 2022 21:55:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=+pdPS2WFDKUnyFxSHul2il03Gws7CyET+vw463N2jv8=; b=T31ht1IIYBKkIltwi45Y76C3Ua6qJ0x5dYMe+STm6HkEOvDufrlM2FEQMihhQqQKZ/ fC2HDT+seCHXJN/HCnv7gxas3jTNCE/RM/+Rahe38X3UJ0bBEsVAOcgU/oyNv3qColWN aW+Y+y6s9SKzm3tfqmDEAi3SYlzOMeHC0RW9qAq7CN0yMeQ4IoNhhpOgrcZoIt9i4OfY 7T3W8Dp49wP4cKDsqxM5KADTnwjboMeLp22LN5uTO0UTycqHw/tjhDsj/CChr2BqP8/R +aEsRaa9RlW/cD9jjEZRFZk3ZZfLqAvxu45+sy+OGBx+kKobtOJ31vv/LHJFMbUQ66jr 8+RA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+pdPS2WFDKUnyFxSHul2il03Gws7CyET+vw463N2jv8=; b=y9LaUmMPYlHfXJ3sVamaPHIKvFNgUOH4dKWFeCPzIWoCEOisl5glS3EiKHzPB0f8ro YeDw5gkN6rvMKMQgxa9gOC5v3qVlOgjQ+1DE4qiaP/OR7bucl9e4kYJkRm8AC9YEhpnq UxtvDcITyHdiuIPyfNa3oaaI/KJNRrWe4S/+ZysSAGOE97lawW3SDbQDuAl0nLYuoElJ IpJX+ATmT+rGAHMGzH9JVJk1bkR/l/+NsclIYqxb+rEi9NDHsu3Wv11dbgrgRf/kdZJ2 6qI7yUswygddTqNUHy4OOU3RNMU8Fao+tKOsYehZLGWV05enw7PfDgWyjuKq1vTTSJ7j g7/Q== X-Gm-Message-State: AOAM530A0tcPrZT7xdxE1MKWztrOZXgOb/luJLz+P9naj6FxPvk8Fcdf R9XD/PkpbmYMGTLM/rMTF533AUINCoOKJg== X-Google-Smtp-Source: ABdhPJzJDJpTqDpbA7Qy0aWKJBjoO4tNPLCqII9yjYClW7RtjsWhJxzHvk2wnfCQ+QcQutilWZHHtw== X-Received: by 2002:a17:90b:1c88:: with SMTP id oo8mr18272635pjb.212.1642139723937; Thu, 13 Jan 2022 21:55:23 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:bf73:e59:4f56:2dd4]) by smtp.gmail.com with ESMTPSA id d2sm4514714pfu.76.2022.01.13.21.55.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jan 2022 21:55:23 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: yocto@lists.yoctoproject.org Subject: [layerindex][PATCH v2 10/18] requirements.txt: bump to Django 3.2 LTS Date: Thu, 13 Jan 2022 21:54:33 -0800 Message-Id: <314d29deda659d8bb5825a52e7bbcf389af74c76.1642138698.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 ; Fri, 14 Jan 2022 05:55:26 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/55861 Upgrade to the latest Django 3.2.x LTS for extended support up until April 2024. Signed-off-by: Tim Orling --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 7704ac0..41a0b1e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,7 +3,7 @@ beautifulsoup4==4.9.3 billiard==3.6.4.0 celery==5.1.2 confusable-homoglyphs==3.2.0 -Django>=3.1,<3.2 +Django>=3.2,<3.3 django-appconf==1.0.4 django-axes==5.20.0 django-bootstrap-pagination==1.7.1 From patchwork Fri Jan 14 05:54:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 2434 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 24D0FC433F5 for ; Fri, 14 Jan 2022 05:55:27 +0000 (UTC) Received: from mail-pj1-f51.google.com (mail-pj1-f51.google.com [209.85.216.51]) by mx.groups.io with SMTP id smtpd.web11.3760.1642139726104385069 for ; Thu, 13 Jan 2022 21:55:26 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=iFwTwtk3; spf=pass (domain: gmail.com, ip: 209.85.216.51, mailfrom: ticotimo@gmail.com) Received: by mail-pj1-f51.google.com with SMTP id hv15so12497147pjb.5 for ; Thu, 13 Jan 2022 21:55:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=nioy7Hz9j3WqQIecvcOhJ2VXIV1y1gXUMiwiRfobdzY=; b=iFwTwtk3qYKx+3Kpuh7M4UdH1dVi9/9iIzvwUYo8aJmGuLCO3sGhQBBVufegt+OvD3 8XwbXUoq59SQuD86fmWyn8W9D2Ws5UJK9+fEr9cgsM//b/1lFv3uHurij04AvETUJ17q +VtBZuuJjh93fYBMUk02Ii3i7HzhZNMVSLPwKQfXGyUUS18xUSFKvlLD96z3WSd9UCQG TZCPy9O60eFSo2WdDR8AroxeosXmXu8dcG7kbLnqXAAiblS5EvMWvoyHZgDDBvkWpEkw wpeREpyO88e2yVyEj0waX/a+ELaIF5r4D9+s4jEkp3DRu/rpBfXNs6eJmGbxaTOidKk2 +nfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=nioy7Hz9j3WqQIecvcOhJ2VXIV1y1gXUMiwiRfobdzY=; b=dHcJMw19QAoiUkkwxHot/k8vwWTW57qt7REhWkHps47va7x5xnofegbjCiHBMLH0EK ZHhJZA7M++NUtXrnJACI3ufQjdU6LhSrVKpTClJtCvE0MohubvvE8mTSCxGnOen9qTgj FFbNsRhPwK4dsIABFpLqeH7lyrs7jhiNYjgz8rZDZTO2Ln6Qxu22tZrL3TTvynCAfCnp 9z3WnefEyzyouhXf2uMhjQZN7RC8h7e3RUyLdv189KfWbdi2CjqA/u3cXGsPkh5OQRkt QiPE/DXztIOM600Lcy8wwAfCVKPbYZ6pNYA17QwZsSqruBLjhfXoq445u+iPTA88pOIH fuxQ== X-Gm-Message-State: AOAM5301edI0KRpdu+gAClbxgTzbCBzFedIyGcDwCx03MDJ2W7jDLWlg XGzr90eIKXz8ZLt+cxZ9bcvr0CyGj+cilQ== X-Google-Smtp-Source: ABdhPJzi7Z4gXpWEfaIhjCzFTBTRV1jnR8NRZcxe6Iyf8YAme3s9HKj/syDCF5bNknvty9Fdfvo4PA== X-Received: by 2002:a17:90a:c582:: with SMTP id l2mr9078605pjt.78.1642139725420; Thu, 13 Jan 2022 21:55:25 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:bf73:e59:4f56:2dd4]) by smtp.gmail.com with ESMTPSA id d2sm4514714pfu.76.2022.01.13.21.55.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jan 2022 21:55:24 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: yocto@lists.yoctoproject.org Subject: [layerindex][PATCH v2 11/18] settings: set DEFAULT_AUTO_FIELD Date: Thu, 13 Jan 2022 21:54:34 -0800 Message-Id: <67679306b0605f219e3125584c4acb68d23cbeda.1642138698.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 ; Fri, 14 Jan 2022 05:55:27 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/55862 New in Django 3.2 To quiet warnings, set DEFAULT_AUTO_FIELD to the default value 'django.db.models.AutoField' NOTE: The default value for newly created Django 3.2 projects is django.db.models.BigAutoField, but this causes the need for a migration in 'captcha'. Signed-off-by: Tim Orling --- docker/settings.py | 3 +++ settings.py | 3 +++ 2 files changed, 6 insertions(+) diff --git a/docker/settings.py b/docker/settings.py index 894974f..a3f007d 100644 --- a/docker/settings.py +++ b/docker/settings.py @@ -140,6 +140,9 @@ TEMPLATES = [ }, ] +# New in Django 3.2 +DEFAULT_AUTO_FIELD = 'django.db.models.AutoField' + INSTALLED_APPS = ( 'django.contrib.auth', 'django.contrib.contenttypes', diff --git a/settings.py b/settings.py index d03d15c..a69eb53 100644 --- a/settings.py +++ b/settings.py @@ -140,6 +140,9 @@ TEMPLATES = [ }, ] +# New in Django 3.2 +DEFAULT_AUTO_FIELD = 'django.db.models.AutoField' + INSTALLED_APPS = ( 'django.contrib.auth', 'django.contrib.contenttypes', From patchwork Fri Jan 14 05:54:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 2435 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 26224C433FE for ; Fri, 14 Jan 2022 05:55:28 +0000 (UTC) Received: from mail-pj1-f51.google.com (mail-pj1-f51.google.com [209.85.216.51]) by mx.groups.io with SMTP id smtpd.web08.3888.1642139727625739762 for ; Thu, 13 Jan 2022 21:55:27 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=FnX1e8Fd; spf=pass (domain: gmail.com, ip: 209.85.216.51, mailfrom: ticotimo@gmail.com) Received: by mail-pj1-f51.google.com with SMTP id ie23-20020a17090b401700b001b38a5318easo13206698pjb.2 for ; Thu, 13 Jan 2022 21:55:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=GxEA3n9gR9k4Us9chfn3akqUoIlwbWMvn30nnfacuqo=; b=FnX1e8FdSfc1+jPnC5UrcmLZPbgdoeY3YQBzagThOe5cGR44MFD4WCapb3a02ugMKF 0eQHPtJ14qY8q0hhGTjVsDzvh62trBEzHY5tHaRO9SfkrwR/f6A4815m0i0GDXRqg7JW bPzkimdLFNdlP0KCwTdId7124rtVUAYonnTIn11HRO128qHk89+Gg0dK1KknDVGsR7/D siS0Xmzcb0r/RRdAhtc+l/1xzsODvt5mkMFAlNSWvMrkWKwP9POCv6YZN4cMvSw6x3S8 AOXTToqTuClVBLjK7+BrlrZ403xoDX1HI85memphdENFxr2YaT8hwzb80EpimLEDt0Mt bUog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=GxEA3n9gR9k4Us9chfn3akqUoIlwbWMvn30nnfacuqo=; b=gsS1in0qSp6Xigz5eEE7G1PjfBVtfEKZ0Wg8M+GqqHeC1YcVoiBzP9Ey3BPQ6/8Qlp AVD6aImqkex/t9b0EjkPHUcy3VOaRzKaRZTIa8smPMxoeRMydxOE9iUy1dsl0q5kvxnA dFuCUcvkkgA9fbt8WZqItLNf/oLrDS9wPbaU2xZVamA3Vx+6nXyJ2+p5EVF30YcNayuM fWytMdMg4/UGymPN7g/C+JgOm03bGYwOrJ12QDvPU5G0nb81xK/jImAIbOB9v6bo/8+Z T1BvixQpf7JwWm9QuJrl2+W+kjEpo5u4AkZTVZWQDfWv/vzotvivxtCK3V6o1Ea8a35i Pveg== X-Gm-Message-State: AOAM530Xbxac9ElTNnJY8D3FT1v736359t73bDty0BH0eBXKmY9OLwtN ke3rMmu7HkLxLOEihft23jYajWwHTKWGjg== X-Google-Smtp-Source: ABdhPJz4YE9XzSU0B6FGzloyLrtBDcnuDK0cJVKAtPsshEDLxQjFJcsLQYAozPeYbv0Jj6pWCxv6+w== X-Received: by 2002:a17:90a:2f06:: with SMTP id s6mr8833730pjd.230.1642139726891; Thu, 13 Jan 2022 21:55:26 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:bf73:e59:4f56:2dd4]) by smtp.gmail.com with ESMTPSA id d2sm4514714pfu.76.2022.01.13.21.55.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jan 2022 21:55:26 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: yocto@lists.yoctoproject.org Subject: [layerindex][PATCH v2 12/18] docker-compose: fix celery Date: Thu, 13 Jan 2022 21:54:35 -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 ; Fri, 14 Jan 2022 05:55:28 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/55863 In celery 5, the --workdir argument must come before the 'worker' subcommand. Without this, celery cannot load the layerindex module and this causes the celery container to continually restart. Signed-off-by: Tim Orling --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 3e16e95..2dfff41 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -80,7 +80,7 @@ services: #- "EMAIL_USE_TLS=" #- "DEBUG=1" restart: unless-stopped - command: /usr/local/bin/celery -A layerindex.tasks worker --loglevel=info --workdir=/opt/layerindex + command: /usr/local/bin/celery --workdir=/opt/layerindex --app layerindex.tasks worker --loglevel=INFO #layerscertbot: # image: certbot/certbot # volumes: From patchwork Fri Jan 14 05:54:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 2436 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 24EDBC433F5 for ; Fri, 14 Jan 2022 05:55:30 +0000 (UTC) Received: from mail-pj1-f51.google.com (mail-pj1-f51.google.com [209.85.216.51]) by mx.groups.io with SMTP id smtpd.web10.3819.1642139728981156684 for ; Thu, 13 Jan 2022 21:55:29 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=NCYrA9SC; spf=pass (domain: gmail.com, ip: 209.85.216.51, mailfrom: ticotimo@gmail.com) Received: by mail-pj1-f51.google.com with SMTP id l16-20020a17090a409000b001b2e9628c9cso13172038pjg.4 for ; Thu, 13 Jan 2022 21:55:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=4eTzM08QA0V2O1QmyTo6bMAHoTfqYNUV3jMqzOoK8cI=; b=NCYrA9SCcGSHA1B1DSZT6oCunoPIY+rgc9OqlKX64UaITtkSrNvP/zEj5UOanJ18ak xvRIMQViOhPI2Bwi+xXYNz2ZkKWBhzIEruhkvCqLmz7h+MD9Sldk0N/KSL1J6QTn1arP tctPjVF3b4Z6lNICms9heOdXgNuR+WANcsopmQgryRliF8pC/VqmQ8GMOTEuMgGMV8xC D5RvB449QJ+A9I45U6nMW5xI6XmY0+Eazs0hu3XDfdgVIskAmmkl7K4dFz91+PJWvGQk z/Ey0XAdwEtxq+Q+MYHNBtahGXi29jSIb0VmugUUO+U3kClmZrtRHzS3zf9QFj0KO175 Vw5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4eTzM08QA0V2O1QmyTo6bMAHoTfqYNUV3jMqzOoK8cI=; b=acv/WunnOaG1Blz1UsQhc1nAMpEUHA/ox7KFOajp8VzCD3zjP0eP/PgOgMCmD03D4S m4m+5KCY20LLLP1pAlW/ZGXO+REP7BCmrpgOZqiCCPj0zE4k1WnfOlEwlej8JmXH2QVv QrPHQ1OvtJaNaOlARTG5M6MVLrLMmfrbjqkoPm333/IrHkBh6ftKwrh4v1L0rwcuvOtH p+pJzfIR6FN6/K7SSENGQsFnBURNiCpEH6k6I6ROfsCLL1mV5qc7W14ORBMdxaiW3Gxg tUlNZfbWwajuNGannuOkwul+af9ph8ABgWP03Bq+Il69h7AwZefHIdMgwjyd9B/oiJa0 NUqA== X-Gm-Message-State: AOAM531OuI0YzEOwb5atR3PzxhbJBsNrYwi1QnrY0j51+ZcNti/2Ci9/ sYYeQ7ibyGHInRQWAIBnMWG4L6s001NXkw== X-Google-Smtp-Source: ABdhPJxEMTPXR+3LHygpsh1YzYBqrqHwBoH+2eLk9BlRLhQsQP0hV0Bag3mGDR7+QPXzj5wcDuh07A== X-Received: by 2002:a17:902:daca:b0:14a:505b:87b7 with SMTP id q10-20020a170902daca00b0014a505b87b7mr8291617plx.113.1642139728269; Thu, 13 Jan 2022 21:55:28 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:bf73:e59:4f56:2dd4]) by smtp.gmail.com with ESMTPSA id d2sm4514714pfu.76.2022.01.13.21.55.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jan 2022 21:55:27 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: yocto@lists.yoctoproject.org Subject: [layerindex][PATCH v2 13/18] README.devel: update versions Date: Thu, 13 Jan 2022 21:54:36 -0800 Message-Id: <8f648093c78376238cf572b8c90335984fc8a76b.1642138698.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 ; Fri, 14 Jan 2022 05:55:30 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/55864 This updated code-base should be compatible with Django 3.1 and obviously 3.2 (but not 3.0 or earlier). Django 3.2 requires Python 3.6+. With the upgrade to Celery 5, it is safer to recommend RabbitMQ 3.8.x, since that is what we are using. Signed-off-by: Tim Orling --- README.devel | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.devel b/README.devel index 347dafc..78fbfbb 100644 --- a/README.devel +++ b/README.devel @@ -7,9 +7,9 @@ covered in the main README. In order to run this application standalone, you will need: -* Python 3.5+ -* Django 2.2.x -* RabbitMQ 3.7.x +* Python 3.6+ +* Django 3.2.x (not compatible with 3.0 or older) +* RabbitMQ 3.8.x * For production usage, a web server set up to host Django applications (not needed for local-only testing/development) * A database system supported by Django (SQLite, MariaDB/MySQL, etc.). From patchwork Fri Jan 14 05:54:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 2437 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 26FD7C433EF for ; Fri, 14 Jan 2022 05:55:31 +0000 (UTC) Received: from mail-pj1-f46.google.com (mail-pj1-f46.google.com [209.85.216.46]) by mx.groups.io with SMTP id smtpd.web12.3798.1642139730491168964 for ; Thu, 13 Jan 2022 21:55:30 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=N8PkYK0A; spf=pass (domain: gmail.com, ip: 209.85.216.46, mailfrom: ticotimo@gmail.com) Received: by mail-pj1-f46.google.com with SMTP id 59-20020a17090a09c100b001b34a13745eso20974445pjo.5 for ; Thu, 13 Jan 2022 21:55:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=JHSjul8CgXkD/ZIAoGGCqRWRqt7mrGxQ0jkoODuhCoM=; b=N8PkYK0AW6653n/efYgz36nUWpn+4QLLnJ6pxiM+VzdtRFhbhvFom6PHiFlWcxQq/k tLVTLsfvizoHwfzJo5Q1OP2p/IFp/7AQl4+FtQpNGIoiY+vccJy6TFPh9yvJJGJHqWVm 6iJ+S4QYIz8+LrzD/zpr1ybkzb8SxniCAcQW4QlMPco3rDyXGeuGtC+v7BjS5dVN4CFu CQlLDG43rNszyhPZNEBlMOEc5CvzPfIOpLeWgWkwP4plwRiZ47060y0DjX4l0IOvJBRW uU8X0FtPuisZprLjsJN1k/BcBVW2yFcpBGH5AVoDDPzKzkwS0TRq0G6S9YR6ZgiO+OAU y2Jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=JHSjul8CgXkD/ZIAoGGCqRWRqt7mrGxQ0jkoODuhCoM=; b=WFPXaj2VO82ycziu1/3MOL4fh6ll0tNEiM6I19D8gwp2jMTIv+8elyrR094FS+4dog m94g9DTi5E9qG/C6zKTDwBSGmi9YWZngSSJi5k2uPPisWFcxz2/Wcwyc72rOaHIc9Y0C S12waVkEImxTE9B/zcTAE8hQkeX66imCtVXbKTCKnk2gaa8SUY070OUM6iroFX6sjcKP dBh5I6qePja2G4rKDQaJAAO2Hz8mww+O/Uc3ciIGVFqGuK8SzH4feGTkEvXG5QyGzH1W vUi9gZ/i2ra/GMpvHE+JKsjBJuistvOVei1auEbnahPWneZ0b2+AlionbHgkM9T5os9c kCDg== X-Gm-Message-State: AOAM532jxC3G2iDVPNRh8tH9PmPW/Xz9Pp9rl84QiZPIxZ/XY71H2lmV YOD4/XEDv87ynC1lcwt+g7Gd8IIMnM9Dgg== X-Google-Smtp-Source: ABdhPJxxHDdQE84cofOlQT60MiRxRr0vhJi29uW79OtWZRAZXWFDrVYW0/2IDN2H6SImY7bkN+ZqMQ== X-Received: by 2002:a17:903:248:b0:149:c231:3e24 with SMTP id j8-20020a170903024800b00149c2313e24mr7582569plh.99.1642139729685; Thu, 13 Jan 2022 21:55:29 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:bf73:e59:4f56:2dd4]) by smtp.gmail.com with ESMTPSA id d2sm4514714pfu.76.2022.01.13.21.55.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jan 2022 21:55:29 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: yocto@lists.yoctoproject.org Subject: [layerindex][PATCH 14/18] rrs/admin.py: drop curry import Date: Thu, 13 Jan 2022 21:54:37 -0800 Message-Id: <743c8f449d6a60564908222945744a3f003bdfee.1642138698.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 ; Fri, 14 Jan 2022 05:55:31 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/55865 Dropped in Django 3.0 [1] Suggested replacements are functools.partial() or functools.partialmethod() [2] [1] https://docs.djangoproject.com/en/4.0/releases/3.0/ [2] https://github.com/django/django/commit/5b1c389603a353625ae1603ba345147356336afb Signed-off-by: Tim Orling --- rrs/admin.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/rrs/admin.py b/rrs/admin.py index 402279f..25e9125 100644 --- a/rrs/admin.py +++ b/rrs/admin.py @@ -6,8 +6,6 @@ # # SPDX-License-Identifier: MIT -from django.utils.functional import curry - from django.contrib import admin from django.contrib.admin import DateFieldListFilter from django import forms From patchwork Fri Jan 14 05:54:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 2438 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 25D96C433FE for ; Fri, 14 Jan 2022 05:55:32 +0000 (UTC) Received: from mail-pg1-f182.google.com (mail-pg1-f182.google.com [209.85.215.182]) by mx.groups.io with SMTP id smtpd.web10.3821.1642139731741422382 for ; Thu, 13 Jan 2022 21:55:31 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=WJlp0Hpo; spf=pass (domain: gmail.com, ip: 209.85.215.182, mailfrom: ticotimo@gmail.com) Received: by mail-pg1-f182.google.com with SMTP id x83so1913948pgx.4 for ; Thu, 13 Jan 2022 21:55:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=aXuDyBvJIkcvhgjvSvf3dkOTb8VfKk6pGfwGSUPe+IE=; b=WJlp0HpoSuW0EdF3ZRnTOYjwTjoULL5QquJ5VLR2Xv/WDTSxv+trsE7Ph85TLhS51G 2p/8iGC1XACso6Q/VxVhvl8lMFqNeEtgY/fSDggYf6ecF2Tmqq0aMuURT6JZJURKFg4T oslh1veDuMhIbKKyKqqaNrF3jc11H1Ted4ZAlQSkX4W5ORHNKZPxxpPIXfRLaLQe1hf5 6zgXMb83z5CwSVwORLynS2fzARyYAb3fW7JDsB6yjUhKisA3fsUDsi/nbtDWHLF+GWf8 5CNjdsthhwDMJ5kOKsvt5VGTgHbXJqOgkng2KbCb3oMGZkCClkibmZ0vru0yMLMvAgec iI2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=aXuDyBvJIkcvhgjvSvf3dkOTb8VfKk6pGfwGSUPe+IE=; b=0ObvT0ZbiD5A7CYCzOuAPrbzmHO8T0U78ed/ADEZSnTQCFKoIKPlU/Xn8hbG118uyr exmS6gH12C2D6ff75JpJkmqcY2GPpyt0WyU63F/3c+2pTLKEL6HZpzeoaJ4/xtUQe90m 6ZrhELs/mYbZe6kTeBVI3pr6RtvKyWsr7+rMgrVRttvetV+b+c3wkonjKVjuWd0j7pxO BWRpO9z8B2TOErHiFDAD/bPl/yeoPJ/Ro+CGr+XuTBDpVOKCJiy5Doj+moZrC6xu4Rpg q7/90YNrZ2SRDfz/vzeHfdynBO4eN1racRboA9bwqLXuBdKqE9+7JwHks2osAb3IgJr3 wQxA== X-Gm-Message-State: AOAM531HL3OlzHGAvcFvLLas6ZMigI7L8nQ1qAADoqwM54Bto48NAypG nqLcyp1NuDcJltYX+6jnA/MavmFevrjKKA== X-Google-Smtp-Source: ABdhPJzNB768JQd/Ehu2DWceQPYztPHLRm9msUk6S4jgGRxu6EHhoyJv+pQyq3BQa2aCg1TYF1pZtA== X-Received: by 2002:a63:9f0a:: with SMTP id g10mr6668687pge.387.1642139731033; Thu, 13 Jan 2022 21:55:31 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:bf73:e59:4f56:2dd4]) by smtp.gmail.com with ESMTPSA id d2sm4514714pfu.76.2022.01.13.21.55.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jan 2022 21:55:30 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: yocto@lists.yoctoproject.org Subject: [layerindex][PATCH 15/18] Dockerfile: fix warnings Date: Thu, 13 Jan 2022 21:54:38 -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 ; Fri, 14 Jan 2022 05:55:32 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/55866 * Define LANGUAGE * Set DEBIAN_FRONTEND=noninteractive before apt call Signed-off-by: Tim Orling --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f6623fa..25ab5ea 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,7 @@ FROM debian:buster LABEL maintainer="Michael Halstead " ENV PYTHONUNBUFFERED=1 \ + LANGUAGE=en_US \ LANG=en_US.UTF-8 \ LC_ALL=en_US.UTF-8 \ LC_CTYPE=en_US.UTF-8 @@ -15,7 +16,7 @@ ENV PYTHONUNBUFFERED=1 \ # NOTE: we don't purge gcc below as we have some places in the OE metadata that look for it COPY requirements.txt / -RUN apt-get update \ +RUN DEBIAN_FRONTEND=noninteractive apt-get update \ && apt-get install -y --no-install-recommends \ autoconf \ g++ \ From patchwork Fri Jan 14 05:54:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 2439 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 3B643C433F5 for ; Fri, 14 Jan 2022 05:55:34 +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.web09.3766.1642139733161849694 for ; Thu, 13 Jan 2022 21:55:33 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=HMsGBXwe; spf=pass (domain: gmail.com, ip: 209.85.210.182, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f182.google.com with SMTP id x83so1872943pfc.0 for ; Thu, 13 Jan 2022 21:55:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=aNOixQBx/gFjbMuFSwdbb+V5jBUDeP6L8SMJx/ruToM=; b=HMsGBXweYq063nLe3/ich5TQDEnR0Tex6LwI0J8fgBYc38Rt2hazZ10LlQyHrg3oFR i5RZNRSNq9EzFlHaVd9iJqpfRukCiw/3cxTyPt744MOt9fvIyrqWd+P9eFho8fmG/7Es +oF1fX5bojZTIXsRNczlBIOH0o3ZeP1nY+j7qnhRx/g0SaSoqSZx4kVIBxQpqs4/emQM qIEYOY65Q2uWxzWVQhfU7H4O6guI56ofPIUTAI6wYEZ4Mp8rfF7Ku3GkanPM0cIWzUbJ ZQ76Q4HjmFML5T8U0Gi/yjoyzcXTgjI7dPdb2ac+uRRTXe8p0Fl38SSHXXO1O7ND1F4B vMmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=aNOixQBx/gFjbMuFSwdbb+V5jBUDeP6L8SMJx/ruToM=; b=OqHjH+DjpPMJY3Ut5uPyHK71ke+0v2jecoUqi7vywTzwRoS73Y5d93//n+/bhpgVAn 6MiA/R2XreUjGaLqlWREb7JBgU18/L4byW6n6/xaUSR1+FKWgm3MLFunYc9V8DK5soSR 3O9l/hr+J7l36Xgntz7/R4jLzHEikXMwnBDSaOpqCchkN+UQdH2Xrq1jSqb9EHWK2EWC LdfKDQStzkeThIeMxxFZvI2cZ7oS+XLLEExv9Y8H8L0Zlc70vovgbgbbAmmlZCBvP1Wk N3SIsJ5AmylBVk8zgTXgOGCNce2U6vbeFq3KSyxKkxpHO6hrdI3fCa1CPNRMl39GdCw5 e0Eg== X-Gm-Message-State: AOAM530ldanV/q7XGe9qMpN/Dj7tGfMsSwa0PhIN15pkAEVlFY/Sj7Go tomIPXPBRGUTKrBvrp4onLSi//1c2rtyBA== X-Google-Smtp-Source: ABdhPJynGAd9dElN+r8CpGrCpQMY5Q4V50v8vVfKUhaFmK9QmeaUq+s01jqG0HwjTaYyJTttQzh0wA== X-Received: by 2002:a63:8bca:: with SMTP id j193mr6767520pge.227.1642139732441; Thu, 13 Jan 2022 21:55:32 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:bf73:e59:4f56:2dd4]) by smtp.gmail.com with ESMTPSA id d2sm4514714pfu.76.2022.01.13.21.55.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jan 2022 21:55:32 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: yocto@lists.yoctoproject.org Subject: [layerindex][PATCH 16/18] rrs: add 0030_alter_recipeupgrade_maintainer.py miagration Date: Thu, 13 Jan 2022 21:54:39 -0800 Message-Id: <722f1f3a376f79719cf1512b57cc7ffeb9c16918.1642138698.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 ; Fri, 14 Jan 2022 05:55:34 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/55867 Signed-off-by: Tim Orling --- .../0030_alter_recipeupgrade_maintainer.py | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 rrs/migrations/0030_alter_recipeupgrade_maintainer.py diff --git a/rrs/migrations/0030_alter_recipeupgrade_maintainer.py b/rrs/migrations/0030_alter_recipeupgrade_maintainer.py new file mode 100644 index 0000000..7044739 --- /dev/null +++ b/rrs/migrations/0030_alter_recipeupgrade_maintainer.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# Generated by Django 3.2.11 on 2022-01-13 22:16 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('rrs', '0029_rrs_license_group'), + ] + + operations = [ + migrations.AlterField( + model_name='recipeupgrade', + name='maintainer', + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='rrs.maintainer'), + ), + ] From patchwork Fri Jan 14 05:54: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: 2440 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 27FDFC433EF for ; Fri, 14 Jan 2022 05:55:35 +0000 (UTC) Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) by mx.groups.io with SMTP id smtpd.web12.3801.1642139734503902779 for ; Thu, 13 Jan 2022 21:55:34 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=P00eurTw; spf=pass (domain: gmail.com, ip: 209.85.210.178, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f178.google.com with SMTP id f144so1106470pfa.6 for ; Thu, 13 Jan 2022 21:55:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=62uby/nTwHNf39kdebkM9n81gnstarjjo5tmZ5cvBM0=; b=P00eurTwbELGCQ4iE20j8RuXMJoU8aL+EW+rldObZ6lu8PFcGtINEw5ROVSktu/SHO 4/zAatxUytFGtdwdcr2EK5c2ZdMpnnfJ0hmh7pTvJnbebN2o54KUjLLbJq2ywtc2cGA7 VUtXfeXOeShFjCSkhRmFeCNLIBCd/KKXmhi6OPLwC8bc14ZJHT03Khvv9zXP0ag3nFNe O2J7u7nA6/cnRMCxb15/vWZabeJRPARUI1aUCXtu3eEAngeVGtZubsry13HsVJLvoDDm gTHqWy1XTWMPKQyyh3orm/rP1tFRM+X0bUZ0XaNRj4YK8tdx0B3Xa4/ekdURjZRSrQZm lAqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=62uby/nTwHNf39kdebkM9n81gnstarjjo5tmZ5cvBM0=; b=ptBMMktqleQpQrFbyFmd4jop6plhCbCDoBsPI9Vi+d8MB5HmPN82DLy2dYaYK4BSdc Pp2mEAqthKYdPWXnblBJ5jothtVt9ziZ96nQwfH1Iq4X0Xpm0FXvNeAkxRz9XYbDefsy ZhhbkqBMiSU55B4JNSxPeruUEff2/34xrzXbtG+mznJE8EhMraWJPh3/xBB6IPQ8H+l/ 5w7dyxrtKfD1HtjrN6oZoJ0rfmk4lUZKMVCCyPqWuZcWqJD7oPApBsQ485zU9ZtQDSyS IEe5BGJYd7XoNt7N4oZrrZTXibLiNawaii/xvZzETYXFjxxMUxEFUIIYE7oYM+s/y0XC YbKQ== X-Gm-Message-State: AOAM530jk4Iho+mhxTs17dyypNyL4fvG8cAmxGuhbpmsclzhftZ6ZMGs 7dxtVLhzjVC95N45mIKJYmUrx6KCDYVpqA== X-Google-Smtp-Source: ABdhPJz+T3gujlVZSbgVD634eP/pzsMS3W/iVgAdLUOQ8W39msqygQcgx2aZatHimmrPOXQlFIceoQ== X-Received: by 2002:a62:64cf:0:b0:4bf:2e95:373a with SMTP id y198-20020a6264cf000000b004bf2e95373amr7422647pfb.41.1642139733852; Thu, 13 Jan 2022 21:55:33 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:bf73:e59:4f56:2dd4]) by smtp.gmail.com with ESMTPSA id d2sm4514714pfu.76.2022.01.13.21.55.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jan 2022 21:55:33 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: yocto@lists.yoctoproject.org Subject: [layerindex][PATCH 17/18] Dockerfile: add back python2 dependencies Date: Thu, 13 Jan 2022 21:54:40 -0800 Message-Id: <88b13592c39d76ccb1a26034189fc9e2a240ecaf.1642138698.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 ; Fri, 14 Jan 2022 05:55:35 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/55868 We have some layers and especially older releases that still support python2. Add python2 dependencies back to the container so that the older releases still function. Signed-off-by: Tim Orling --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index 25ab5ea..4b2870a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,6 +22,11 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update \ g++ \ gcc \ make \ + python-pip \ + python-mysqldb \ + python-dev \ + python-pil \ + python-wheel \ python3-pip \ python3-mysqldb \ python3-dev \ From patchwork Fri Jan 14 05:54:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 2441 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 2972DC433EF for ; Fri, 14 Jan 2022 05:55:37 +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.web10.3824.1642139736081689180 for ; Thu, 13 Jan 2022 21:55:36 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=CnSGrVlO; spf=pass (domain: gmail.com, ip: 209.85.215.172, mailfrom: ticotimo@gmail.com) Received: by mail-pg1-f172.google.com with SMTP id x20so1914553pgk.1 for ; Thu, 13 Jan 2022 21:55:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=99hIEu4BSDUZZkx6XHj09NFiN7PfjLpdd6nvuiWukVM=; b=CnSGrVlOhZNbbEQlnHx1WRRPYsQ+NMpPorHWwGVW/Oo1dzWNed6mrpuuAhdRjvYKgn FMizKUkZECTMrxZvl99HdngWCsJSEFEQVX8gvA19uOU2ACATGsLrn2w4VCQmJqdoE5Iv 9A6urJpLwX8wNgMQM6W3hmoqIlAdUXYIlqOV34H60r/PDp5TvjOvUiw/koUel2ew7dY8 qP+RJQRRET/hEEw81XrGJQdtdMKpBYYPWNf2mb6E68iy7ixP/qOk4PjIuti+BcniNJqj REALcMocrEzggUUX10ANWRVz6db/zuz4ofpfzzSTwubw7d18BOLpLk2UUn+ZqGNoMOb/ BQrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=99hIEu4BSDUZZkx6XHj09NFiN7PfjLpdd6nvuiWukVM=; b=rQScFcPpLW1wD/TJ/vHZuZWH8yEPpci7sfw6w6zRy6ni6zANQvn1I9qAacf21fZNjx 9Zc3XuH/5dUMDEDg6OBbN/TKcoso6Nba+OriidO38Vy3zhIg+0PcJHXSretYw7vDRmvA YQPpA3mBF1soh9VcD59OOtolWnOJ4gqu+ji6bgfGg1plfzU8rtMXk9M9EVX9Jq3vXO1m 3rzyv2ZpsmjybSkQtD8j2Hhsi8yRyx1d8siaZ/+3ZBgsravf2YU1XxJU6U2bHc7bDPxA M3eknAll0BXa1KUtQ7xsMfTslTcAqR4dQrsyolWoIKuSHboZh1qfGIS4IIkMd0fvpz31 6mog== X-Gm-Message-State: AOAM533l9RLgDh0skz0oxAafyYjaYCi0ewUTmBdsqPJziziPojp1kVyg V814PqR1Mj8kBbAUiLFjSKerDH/HXrU9Zg== X-Google-Smtp-Source: ABdhPJyEQYXicKD7gMlV63TluzO0YZZmUcB3yn/7Og9O20lAI3O3XehMm1tBeU7T/DHzrwGvE2h8zA== X-Received: by 2002:a65:6241:: with SMTP id q1mr6771406pgv.98.1642139735229; Thu, 13 Jan 2022 21:55:35 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:bf73:e59:4f56:2dd4]) by smtp.gmail.com with ESMTPSA id d2sm4514714pfu.76.2022.01.13.21.55.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jan 2022 21:55:34 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: yocto@lists.yoctoproject.org Subject: [layerindex][PATCH 18/18] requirements.txt: bump all to latest Date: Thu, 13 Jan 2022 21:54:41 -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 ; Fri, 14 Jan 2022 05:55:37 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/55869 Run pip-upgrade and update all to latest Signed-off-by: Tim Orling --- requirements.txt | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/requirements.txt b/requirements.txt index 41a0b1e..77b1aa9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,27 +1,27 @@ -amqp==5.0.6 -beautifulsoup4==4.9.3 +amqp==5.0.9 +beautifulsoup4==4.10.0 billiard==3.6.4.0 -celery==5.1.2 +celery==5.2.3 confusable-homoglyphs==3.2.0 Django>=3.2,<3.3 -django-appconf==1.0.4 -django-axes==5.20.0 +django-appconf==1.0.5 +django-axes==5.31.0 django-bootstrap-pagination==1.7.1 -django-cors-headers==3.7.0 -django-ipware==3.0.2 +django-cors-headers==3.11.0 +django-ipware==4.0.2 django-ranged-response==0.2.0 django-registration==3.2 -django-reversion==4.0.0 -django-reversion-compare==0.14.0 +django-reversion==4.0.1 +django-reversion-compare==0.14.1 django-simple-captcha==0.5.14 -djangorestframework==3.12.4 -gitdb==4.0.7 -GitPython==3.1.18 -kombu==5.1.0 -mysqlclient==2.0.3 -Pillow==8.3.1 -pytz==2021.1 +djangorestframework==3.13.1 +gitdb==4.0.9 +GitPython==3.1.26 +kombu==5.2.3 +mysqlclient==2.1.0 +Pillow==9.0.0 +pytz==2021.3 six==1.16.0 -smmap==4.0.0 -soupsieve==2.2.1 +smmap==5.0.0 +soupsieve==2.3.1 vine==5.0.0