Message ID | 20180619042104.15664-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 177AE4E930D0 for <patchwork@archlinux.org>; Tue, 19 Jun 2018 04:21:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on apollo X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=MAILING_LIST_MULTI=-1, 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>; Tue, 19 Jun 2018 04:21:22 +0000 (UTC) Received: from orion.archlinux.org (localhost [127.0.0.1]) by orion.archlinux.org (Postfix) with ESMTP id 07896B407F31B; Tue, 19 Jun 2018 04:21:18 +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; Tue, 19 Jun 2018 04:21:17 +0000 (UTC) Received: from luna.archlinux.org (luna.archlinux.org [127.0.0.1]) by luna.archlinux.org (Postfix) with ESMTP id 034382C6C9; Tue, 19 Jun 2018 04:21:16 +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 29B922C5D2 for <arch-projects@lists.archlinux.org>; Tue, 19 Jun 2018 04:21:12 +0000 (UTC) Received: from orion.archlinux.org (orion.archlinux.org [IPv6:2a01:4f8:160:6087::1]) by luna.archlinux.org (Postfix) with ESMTPS for <arch-projects@lists.archlinux.org>; Tue, 19 Jun 2018 04:21:12 +0000 (UTC) Received: from orion.archlinux.org (localhost [127.0.0.1]) by orion.archlinux.org (Postfix) with ESMTP id D19DCB407F309 for <arch-projects@archlinux.org>; Tue, 19 Jun 2018 04:21:07 +0000 (UTC) Received: from mav.lukeshu.com (mav.lukeshu.com [IPv6:2001:19f0:5c00:8069:5400:ff:fe26:6a86]) (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>; Tue, 19 Jun 2018 04:21:07 +0000 (UTC) Received: from build64-par (unknown [IPv6:2601:803:202:9275:da50:e6ff:fe00:4a5b]) by mav.lukeshu.com (Postfix) with ESMTPSA id 1AAD180502; Tue, 19 Jun 2018 00:21:04 -0400 (EDT) From: Luke Shumaker <lukeshu@lukeshu.com> To: arch-projects@archlinux.org Date: Tue, 19 Jun 2018 00:20:59 -0400 Message-Id: <20180619042104.15664-1-lukeshu@lukeshu.com> X-Mailer: git-send-email 2.17.1 Subject: [arch-projects] [dbscripts] [PATCH 0/5] Be less tightly coupled with SVN 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> This patchset is intended to clean up dbscripts' interaction with SVN. Besides (IMO) improved code clarity, this should make it easier for those who wish to replace SVN with something else. There are two major themes here: 1. Avoid asking SVN for information; to the extent possible, get all information directly from the pacman repos. 2. Isolate SVN-interfacing code in to functions; making it clear what interfaces the PKGBUILD tracking needs to provide. This does not touch the test suite, which is still firmly SVN-dependent. I've cc'd Florian Pritz because of his related work on migrating to git. https://wiki.archlinux.org/index.php/User:Bluewind/dbscripts-rewrite Luke Shumaker (5): db-move, db-remove: Don't parse PKGBUILD files db-move: Clarify the flow of the preflight check testing2x: Discover correct repos based on the DBEXT files, not SVN Centralize all SVN access into 'abs_*' functions in a new 'db-abs' file db-move, db-abs: Simplify the abs_move_* functions cron-jobs/sourceballs | 4 +- db-abs | 114 ++++++++++++++++++++++++++++++++++++++++++ db-functions | 61 +++++++++++++++------- db-move | 95 +++++++++-------------------------- db-remove | 18 ++----- testing2x | 40 +++++++-------- 6 files changed, 204 insertions(+), 128 deletions(-) create mode 100644 db-abs