Message ID | 20180314015205.20781-1-lukeshu@lukeshu.com |
---|---|
Headers | show
Return-Path: <arch-projects-bounces@archlinux.org> Delivered-To: patchwork@archlinux.org Received: from apollo.archlinux.org (localhost [127.0.0.1]) by apollo.archlinux.org (Postfix) with ESMTP id 5EDD726EBC1B for <patchwork@archlinux.org>; Wed, 14 Mar 2018 01:52:39 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on apollo.archlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED=-2.3 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-BL-Results: <dns:70.91.198.88.list.dnswl.org> [127.0.9.2] Received: from orion.archlinux.org (orion.archlinux.org [88.198.91.70]) by apollo.archlinux.org (Postfix) with ESMTPS for <patchwork@archlinux.org>; Wed, 14 Mar 2018 01:52:39 +0000 (UTC) Received: from orion.archlinux.org (localhost [127.0.0.1]) by orion.archlinux.org (Postfix) with ESMTP id EA612967281A4; Wed, 14 Mar 2018 01:52:33 +0000 (UTC) Received: from luna.archlinux.org (luna.archlinux.org [5.9.250.164]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by orion.archlinux.org (Postfix) with ESMTPS; Wed, 14 Mar 2018 01:52:24 +0000 (UTC) Received: from luna.archlinux.org (luna.archlinux.org [127.0.0.1]) by luna.archlinux.org (Postfix) with ESMTP id 2B35E2E731; Wed, 14 Mar 2018 01:52:14 +0000 (UTC) Authentication-Results: luna.archlinux.org; dkim=none Received: from luna.archlinux.org (luna.archlinux.org [127.0.0.1]) by luna.archlinux.org (Postfix) with ESMTP id 6246D2CFA8 for <arch-projects@lists.archlinux.org>; Wed, 14 Mar 2018 01:52:11 +0000 (UTC) Received: from orion.archlinux.org (orion.archlinux.org [88.198.91.70]) by luna.archlinux.org (Postfix) with ESMTPS for <arch-projects@lists.archlinux.org>; Wed, 14 Mar 2018 01:52:11 +0000 (UTC) Received: from orion.archlinux.org (localhost [127.0.0.1]) by orion.archlinux.org (Postfix) with ESMTP id DE55396728112 for <arch-projects@archlinux.org>; Wed, 14 Mar 2018 01:52:06 +0000 (UTC) Received: from mav.lukeshu.com (mav.lukeshu.com [104.207.138.63]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by orion.archlinux.org (Postfix) with ESMTPS for <arch-projects@archlinux.org>; Wed, 14 Mar 2018 01:52:06 +0000 (UTC) Received: from build64-par (unknown [IPv6:2601:803:202:9275:da50:e6ff:fe00:4a5b]) by mav.lukeshu.com (Postfix) with ESMTPSA id A5B2E80502 for <arch-projects@archlinux.org>; Tue, 13 Mar 2018 21:52:05 -0400 (EDT) From: Luke Shumaker <lukeshu@lukeshu.com> To: arch-projects@archlinux.org Date: Tue, 13 Mar 2018 21:51:57 -0400 Message-Id: <20180314015205.20781-1-lukeshu@lukeshu.com> X-Mailer: git-send-email 2.16.1 Subject: [arch-projects] [dbscripts] [PATCH 0/8] Backports from Parabola X-BeenThere: arch-projects@archlinux.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Arch Linux projects development discussion <arch-projects.archlinux.org> List-Unsubscribe: <https://lists.archlinux.org/options/arch-projects>, <mailto:arch-projects-request@archlinux.org?subject=unsubscribe> List-Archive: <https://lists.archlinux.org/pipermail/arch-projects/> List-Post: <mailto:arch-projects@archlinux.org> List-Help: <mailto:arch-projects-request@archlinux.org?subject=help> List-Subscribe: <https://lists.archlinux.org/listinfo/arch-projects>, <mailto:arch-projects-request@archlinux.org?subject=subscribe> Reply-To: Arch Linux projects development discussion <arch-projects@archlinux.org> Errors-To: arch-projects-bounces@archlinux.org Sender: "arch-projects" <arch-projects-bounces@archlinux.org> |
From: Luke Shumaker <lukeshu@parabola.nu> These are commits from Parabola's dbscripts that I think are upstreamable. No real theme to them, but because some of them are wide-sweeping (eg. clean up quoting), they are a good base layer to apply before backporting other changes. I've done my best to look over them, but at least one weird thing did happen while rebasing them, so it's possible I missed something that rebased weird. Some of this duplicates (non-backported) changes in the last patchset I submitted. BTW, now that dbscripts is on GitHub, is that the preferred way of submitting these? Or is this mailing list still best? Luke Shumaker (8): Fix quoting around variables, especially arrays. Use printf-formatters instead of string interpolation on msg, error, etc. Export TMPDIR, and use mktemp -t instead of making it part of the template Use `grep &>/dev/null` instead of `grep -q` when operating on piped stdin. Add "#!/hint/bash" to the beginning of several files. Consistently use "$(dirname "$(readlink -e "$0")")" Normalize to tab indent. devlist-mailer: Make LIST and FROM configurable config | 11 ++- config.local.svn-community | 2 + config.local.svn-packages | 2 + cron-jobs/check_archlinux/parse_pkgbuilds.sh | 64 ++++++++--------- cron-jobs/devlist-mailer | 13 ++-- cron-jobs/ftpdir-cleanup | 42 +++++------ cron-jobs/integrity-check | 8 +-- cron-jobs/sourceballs | 50 +++++++------- cron-jobs/update-web-db | 20 +++--- db-functions | 100 +++++++++++++-------------- db-move | 60 ++++++++-------- db-remove | 24 +++---- db-repo-add | 24 +++---- db-repo-remove | 24 +++---- db-update | 38 +++++----- test/cases/db-update.bats | 2 +- test/lib/common.bash | 6 +- testing2x | 36 +++++----- 18 files changed, 267 insertions(+), 259 deletions(-)