From patchwork Fri Oct 6 02:44:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 31751 X-Patchwork-Delegate: ticotimo@gmail.com 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 870CEE92FD7 for ; Fri, 6 Oct 2023 02:44:44 +0000 (UTC) Received: from mail-oi1-f171.google.com (mail-oi1-f171.google.com [209.85.167.171]) by mx.groups.io with SMTP id smtpd.web11.4782.1696560277382904406 for ; Thu, 05 Oct 2023 19:44:37 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=KzwrBmrH; spf=pass (domain: gmail.com, ip: 209.85.167.171, mailfrom: ticotimo@gmail.com) Received: by mail-oi1-f171.google.com with SMTP id 5614622812f47-3af8b498d31so1180051b6e.1 for ; Thu, 05 Oct 2023 19:44:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696560276; x=1697165076; darn=lists.yoctoproject.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=E0gSIXw1uUxM1bJcbEDAsdpEVE6E8+zUVZAs2yov0Sk=; b=KzwrBmrHd/dnFD+18NjtSUcZgxkt2qpR3r8BbBXSxslQwPhpn6YQ6f6Xfp6LwVKaEP dZmY+1zHnKRbv9ehstCJO1lFVPLhkqkD7m3sD+yH8ao+N7HdTEX7HpB8gyh+oqB+t7OZ UaiCq0Utu19OeyibrZo+QlrN/MakB/9pBpE8td7oRUCYJa//cACGjEtV4C9oDhB9vQ1o sYcTE4/pL1ic86Us+inG73xgEWmZskRs2qC7uxurdgJ3lzAceRQooZDj1rwFMZW7gLAo ZWAuhQEOMYxzJCi+aHYxdC3w5je01A45OpgzrBUEYig292x457je5S8fCeUVRzDgC50B 7FrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696560276; x=1697165076; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=E0gSIXw1uUxM1bJcbEDAsdpEVE6E8+zUVZAs2yov0Sk=; b=rLLk7xAn13elzGU92il/Fs4QlQLz47mLJSI/RUQUPwN2wG/7b+oAJWNz/8QuEPHfga mYRjOajoqGra/2B9rohhqu0tOR78RhNHH9RekCgxu8tTmgau2RZlgQjOI7rD257hoceg vIs7sjCj6XUor+ZjyG+8E3NTr66abrghgrYQzJdVz/REqi1oF362NSb3pnUjXVKRWgYE Bjn5chUAa2QxFhyaNzVZvypmQrPtaaowiMJQLRGZfWSUo9W1fQrlYMzKz3SjH/npV61c ZWmZK8ZuqvB9X+SH1SAHpHBmQK2Tlpm0AdxTrEqC+Dd0W9jptMeFMC5w69FHJAZj9Jeh UA+A== X-Gm-Message-State: AOJu0YwOttizHIJaWIGt+bzI+l9N1m4fz4u6RwBSQIDegHM5pkC29n7U K7sZywywVVbuuaIObDObiGd2JoXWPSw= X-Google-Smtp-Source: AGHT+IHFT2JFuPp96y9AXNIeTq1ua/tBKpJIYwXEiIIpcaye1DiSG7/0VPQoFn1NjwbbNUrvRkgHCA== X-Received: by 2002:a05:6808:f8b:b0:3ae:1446:d48b with SMTP id o11-20020a0568080f8b00b003ae1446d48bmr8407828oiw.3.1696560276307; Thu, 05 Oct 2023 19:44:36 -0700 (PDT) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca00:cea0:4ca0:e9cf:d643:bafd]) by smtp.gmail.com with ESMTPSA id fe21-20020a056a002f1500b00690d7da743dsm293303pfb.161.2023.10.05.19.44.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 19:44:35 -0700 (PDT) From: Tim Orling X-Google-Original-From: Tim Orling To: yocto@lists.yoctoproject.org Cc: "dependabot [bot]" , Tim Orling Subject: [layerindex-web 1/3] build(deps): bump pillow from 9.3.0 to 10.0.1 Date: Thu, 5 Oct 2023 19:44:00 -0700 Message-Id: <20231006024422.38381-1-tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 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, 06 Oct 2023 02:44:44 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/61255 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Bumps [pillow](https://github.com/python-pillow/Pillow) from 9.3.0 to 10.0.1. - [Release notes](https://github.com/python-pillow/Pillow/releases) - [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst) - [Commits](https://github.com/python-pillow/Pillow/compare/9.3.0...10.0.1) --- updated-dependencies: - dependency-name: pillow dependency-type: direct:production ... Signed-off-by: dependabot[bot] Signed-off-by: Tim Orling --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 5bc4659..5cc07a4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -19,7 +19,7 @@ gitdb==4.0.9 GitPython==3.1.37 kombu==5.2.3 mysqlclient==2.1.0 -Pillow==9.3.0 +Pillow==10.0.1 pytz==2021.3 six==1.16.0 smmap==5.0.0 From patchwork Fri Oct 6 02:44:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 31752 X-Patchwork-Delegate: ticotimo@gmail.com 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 6ADD1E92FD4 for ; Fri, 6 Oct 2023 02:44:54 +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.web11.4785.1696560285966240578 for ; Thu, 05 Oct 2023 19:44:46 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=O4PQ1BZ7; spf=pass (domain: gmail.com, ip: 209.85.210.170, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f170.google.com with SMTP id d2e1a72fcca58-690bd59322dso1413790b3a.3 for ; Thu, 05 Oct 2023 19:44:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696560285; x=1697165085; darn=lists.yoctoproject.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=YRO6kpPWXHHhKJm+zkXoUNReE5BINGr244Q5GT6t364=; b=O4PQ1BZ7xTexDQzZgGPzC0jgaivZs5UCINtJHtnmHO2Ky6bMySPGTTIrJk7xoMHARu FWmK7rBCdUEhgQOxE0kamsJvYwzWFmE9QH6pO46/bwBAM0eJCI9gFj5jlxmF9xBLwGgE 0U4DG4lBjq/Xgdo5MLCRmBQQznXpryYu72dlHYDUcSML8e1E382AfDta9AfJ0spPp5G+ lWQ9Owd9ZKY0hPyo0YwDd6GVaHtXIceAOd4y8UkcW2ej8yrQClCLTr1y+LjHCbzipBqA M/DyF7RK49ApwFr3hw4VlImTZOo4XUnkJDhaw4rG3tv3PsLsJSAJWazcbuLx0xqsjfsN 9dHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696560285; x=1697165085; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YRO6kpPWXHHhKJm+zkXoUNReE5BINGr244Q5GT6t364=; b=EgtoImm/CMSK6mXqtL1rU1EKISgzuElqhLU82thfuI1KZqUujwfCw80hXIW8ODMFkR Ej63X5EHBee0LryP5rogVUCoAgTFgGm/Yi1+MpN+HSY5ciZNDwivKAZuD9rsIAHVgjAJ 5gENn18oS3hAo+qv5tW6HGVCYHXKtrmRpVOCvX1i1oP70zZYczlpEeduKkQmNztKv6Un EqhE0WHwhjpXKxIK0VjJrLGpUlnxDWbgfJBoAs5Ca9BEr4bNgOHkoMr0cUWUbxsSpGc+ +qiqxeLTUzCkTULRuHSmlO9KbUq7lSeuhGD1rO87jzm+cvBgjZoWR3LjTM/eXePZqR47 Az7A== X-Gm-Message-State: AOJu0YzZdYjAOImhIIoh9i7i7zDZFgj4wGGlaZyHuum6CMA+7ZlbQHrD 6u6zunznaqsX2OMneaSAPqpu+BFnQNs= X-Google-Smtp-Source: AGHT+IGay3pQMr0NigwKU7A7s7kUVIeV3XpvluHRyP+JcpRh6W8vdU3ZX7u0TRR9gV3zrnXn+WPlgg== X-Received: by 2002:a05:6a00:2191:b0:68a:4261:ab7f with SMTP id h17-20020a056a00219100b0068a4261ab7fmr7790705pfi.31.1696560285138; Thu, 05 Oct 2023 19:44:45 -0700 (PDT) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca00:cea0:4ca0:e9cf:d643:bafd]) by smtp.gmail.com with ESMTPSA id fe21-20020a056a002f1500b00690d7da743dsm293303pfb.161.2023.10.05.19.44.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 19:44:44 -0700 (PDT) From: Tim Orling X-Google-Original-From: Tim Orling To: yocto@lists.yoctoproject.org Cc: Tim Orling Subject: [layerindex-web 2/3] dockersetup.py: databasefile zstd compression Date: Thu, 5 Oct 2023 19:44:01 -0700 Message-Id: <20231006024422.38381-2-tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231006024422.38381-1-tim.orling@konsulko.com> References: <20231006024422.38381-1-tim.orling@konsulko.com> 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, 06 Oct 2023 02:44:54 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/61256 zstd compression and decompression are significantly faster than gzip. zstd is also "splittable" and is streaming/real-time friendly. Signed-off-by: Tim Orling --- dockersetup.py | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/dockersetup.py b/dockersetup.py index 6a0ab67..d6e8f33 100755 --- a/dockersetup.py +++ b/dockersetup.py @@ -4,6 +4,8 @@ # # Copyright (C) 2018 Intel Corporation # Author: Amber Elliot +# Copyright (C) 2023 Konsulko Group +# Author: Tim Orling # # Licensed under the MIT license, see COPYING.MIT for details # @@ -52,7 +54,7 @@ def get_args(): parser.add_argument('-s', '--https-proxy', type=str, help='https proxy in the format http://', default=default_https_proxy, required=False) parser.add_argument('-S', '--socks-proxy', type=str, help='socks proxy in the format socks://myproxy:port>', default=default_socks_proxy, required=False) parser.add_argument('-N', '--no-proxy', type=str, help='Comma-separated list of hosts that should not be connected to via the proxy', default=default_no_proxy, required=False) - parser.add_argument('-d', '--databasefile', type=str, help='Location of your database file to import. Must be a .sql or .sql.gz file.', required=False) + parser.add_argument('-d', '--databasefile', type=str, help='Location of your database file to import. Must be a .sql, .sql.gz or .sql.zstd file.', required=False) parser.add_argument('-e', '--email-host', type=str, help='Email host for sending messages (optionally with :port if not 25)', required=False) parser.add_argument('--email-user', type=str, help='User name to use when connecting to email host', required=False) parser.add_argument('--email-password', type=str, help='Password to use when connecting to email host', required=False) @@ -804,9 +806,15 @@ while True: if not args.update: # Import the user's supplied data if args.databasefile: - return_code = subprocess.call("gunzip -t %s > /dev/null 2>&1" % quote(args.databasefile), shell=True) - if return_code == 0: - catcmd = 'zcat' + filename, file_extension = os.path.splitext(args.databasefile) + if file_extension == ".zstd": + return_code = subprocess.call("zstd -t %s > /dev/null 2>&1" % quote(args.databasefile), shell=True) + if return_code == 0: + catcmd = 'zstdcat' + elif file_extension == ".gz": + return_code = subprocess.call("gunzip -t %s > /dev/null 2>&1" % quote(args.databasefile), shell=True) + if return_code == 0: + catcmd = 'zcat' else: catcmd = 'cat' env = os.environ.copy() From patchwork Fri Oct 6 02:44:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 31753 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 6CBEAE92FDA for ; Fri, 6 Oct 2023 02:44:54 +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.web10.4758.1696560293582594317 for ; Thu, 05 Oct 2023 19:44:53 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=dh9hokAl; spf=pass (domain: gmail.com, ip: 209.85.210.170, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f170.google.com with SMTP id d2e1a72fcca58-690b7cb71aeso1329917b3a.0 for ; Thu, 05 Oct 2023 19:44:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696560293; x=1697165093; darn=lists.yoctoproject.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=5bHtOJWbRaRtQ8GReWI6LlP9r26jxK+MQMrqNbuMVBM=; b=dh9hokAlV4ybYIE7FbUDmSkKoJJVWLi0s34q2M54jyX3+xZVLfDRByiTG2Cbooziac S8MquaZV0UJuW3JI1ux+adz44JAMflW40L0n+uAXNJC0hiV6APsKRggky261eGvy4nPc X2W98AtQcoy4Rnm6S0NqmPHIkNOPzinDtFVLHSyczvAmhrxmM/uZ1PVfKNgXwv0mVGqG UkBL1E4WQNehIlUpT6BuzK+NAZfEee3HI88Nev7Hd9bDAxLH7eZ4AWEp8+Xo0n2M9Eu+ QQwbO6UrdL1rrvhhq4fcBFMFRKM+q4n5HKa2QEZacfzi6sa8bi52i/CUYrAdUvj6ujYg 5+MQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696560293; x=1697165093; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5bHtOJWbRaRtQ8GReWI6LlP9r26jxK+MQMrqNbuMVBM=; b=WNYtPyZISQmEwMmTmbvayrpOS3VTvuNUi92Bhdps0wJhAKytKprlIxbZ3HvS4wG1DQ Qppz/lkpnkkqalQtZdOq1k4cj+80wZtc3eJH2SkdnxDpGo5dhx2wYFChBls2YoMYiIpQ uSpwbXiqgl/kSiv81SujUppeVW/z1ws4ehiAEgdBQpkFStfHIPdLmQdpmric+tPnhOH+ 5Ww3e7J/zuDnantljrZwHfXXWOr5rOHM5qaWLelowqrvTOZINPhc7RqqKg6vPgVxFlAc cAKFv0cAa00rVMU0gejQZV+oNQX36C0lmuJk9jp/oJzKlh/801whEgFkLsRF6nPVLJVj WLww== X-Gm-Message-State: AOJu0YxiBpDFrBOWV/L7KPTR3VD2NVpwYXijosg0cxcGD4uMwCDLrC1P tFS7L0wZlOGV6LPwOtmiFv2ty0f3HWg= X-Google-Smtp-Source: AGHT+IHFO/jKs7LyehB7fTlGsFlT2iAXxIrjH98MRQ/YfzgNgsC0Y0yiTQleuAYqxCKD6uSxcLqqRw== X-Received: by 2002:a05:6a20:1606:b0:140:61f8:53f6 with SMTP id l6-20020a056a20160600b0014061f853f6mr6026967pzj.29.1696560292782; Thu, 05 Oct 2023 19:44:52 -0700 (PDT) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca00:cea0:4ca0:e9cf:d643:bafd]) by smtp.gmail.com with ESMTPSA id fe21-20020a056a002f1500b00690d7da743dsm293303pfb.161.2023.10.05.19.44.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 19:44:52 -0700 (PDT) From: Tim Orling X-Google-Original-From: Tim Orling To: yocto@lists.yoctoproject.org Cc: Tim Orling Subject: [layerindex-web 3/3] requirements: bump django-simple-captcha to 0.5.20 Date: Thu, 5 Oct 2023 19:44:02 -0700 Message-Id: <20231006024422.38381-3-tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231006024422.38381-1-tim.orling@konsulko.com> References: <20231006024422.38381-1-tim.orling@konsulko.com> 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, 06 Oct 2023 02:44:54 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/61257 https://raw.githubusercontent.com/mbi/django-simple-captcha/master/CHANGES Version 0.5.20 -------------- * Still support Django 3.2 (#222, thanks @petrklus) Version 0.5.19 -------------- * SECURITY ISSUE: reset the random seed after an image was generated (#221, thanks @ibuler) Version 0.5.18 -------------- * Fix some typos in documentation (#210, thanks @stweil) * Test against Django 4.2 * Stopped testing Django < 3.2 * BaseCaptchaTextInput should set autocomplete=off on the hashkey HiddenInput (#201, thanks @eerotal) * Test against Django 4.2a * Fix some deprecation warnings in Pillow 9.2+ * Removed old unused conditional imports * Format code with pre-commit and black Version 0.5.17 -------------- * English translation created from Spanish ones (#209, thanks @tpazderka) Version 0.5.16 -------------- * Adds a migration missing from 0.5.15 (#208, thanks @atodorov) Version 0.5.15 -------------- * Updated test matrix, drop tests against Python3.6, test against Python3.9 * Remove dependency on six * Test against Django 4.0a1 * Test with Python 3.10 (Django 3.2 and Django 4.0) * Remove warning for django 3.2 (#206, thanks @MiStErLu) Signed-off-by: Tim Orling --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 5cc07a4..18835b7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -13,7 +13,7 @@ django-ranged-response==0.2.0 django-registration==3.2 django-reversion==4.0.1 django-reversion-compare==0.14.1 -django-simple-captcha==0.5.14 +django-simple-captcha==0.5.20 djangorestframework==3.13.1 gitdb==4.0.9 GitPython==3.1.37