From patchwork Fri Oct 30 03:46:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1390740 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CMpGd70Qwz9sPB for ; Fri, 30 Oct 2020 14:49:45 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=LAsy1pAS; dkim-atps=neutral Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 4CMpGd5yvtzDqcW for ; Fri, 30 Oct 2020 14:49:45 +1100 (AEDT) X-Original-To: patchwork@lists.ozlabs.org Delivered-To: patchwork@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=chromium.org (client-ip=2607:f8b0:4864:20::144; helo=mail-il1-x144.google.com; envelope-from=sjg@chromium.org; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=LAsy1pAS; dkim-atps=neutral Received: from mail-il1-x144.google.com (mail-il1-x144.google.com [IPv6:2607:f8b0:4864:20::144]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4CMpCL2NbnzDqtS for ; Fri, 30 Oct 2020 14:46:53 +1100 (AEDT) Received: by mail-il1-x144.google.com with SMTP id x7so5354116ili.5 for ; Thu, 29 Oct 2020 20:46:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ciSgZw7G4HdKBSC4EZnoIjWFUkaISkXC/sV7CUTzO30=; b=LAsy1pASW5hoLZF44IGdzdA0f/AnedUYji30l0KHk2BtDVoN8VCU7/hxk/O7Fdcfbn A26PXrViUbFmDJkbz6uW4yQQyu3WZEOqtgRbl+dOR3U/89UNzVY9KV4dxqf4hBgO0Ek0 bOcXVkqBuB0JTc+1vIOC42lowRZJatduVaZB8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ciSgZw7G4HdKBSC4EZnoIjWFUkaISkXC/sV7CUTzO30=; b=MRyl58Ll8ZmpayNUli8w0KGOlhBmyuCaZXzJJv9RnKpe7k7ZY6LQz1x+0LZFfdVQ4e hoRVAjM+Vxmh3qjptB80NPrG3YFbIBtwhsl+5aFAHPriQQ1zeMktRPtiwFFLUrOuu1Fr MZmAgUFhiyhxT0/g3bwdWaf16tB1JJgYZ1wg4oWPxgFQXRSxmGJH39YiDeiJqK1GtdLC CBQJjaaaZmNU/L3zOX5OGz5azeWWeoU4RvxJfszu3mp34K4jaz8+wBv60yrHDh/GDe85 8x6PebgQNHdbt3BuxUhUOmHzu4nomqLfkHZlBpTl7Jjpm86Ro/eBgkfPdkIXQ0tWZlGQ hfnw== X-Gm-Message-State: AOAM530nUFYjSyfB2JxqPN0X3mO0wlhKC+aa0y9Q+UzE0QBLwfM/D/2L KYMmcDNyaag3Z1SEF0EYi03EkQ== X-Google-Smtp-Source: ABdhPJyAW+n+LVPXP4vvbFLVSAnRXm8/DACAfczAgHGxwmDZ8+RQTAAPty0Xu6AXwXqCG67fJrUxgQ== X-Received: by 2002:a05:6e02:c0c:: with SMTP id d12mr463893ile.246.1604029611330; Thu, 29 Oct 2020 20:46:51 -0700 (PDT) Received: from localhost.localdomain (c-73-14-175-90.hsd1.co.comcast.net. [73.14.175.90]) by smtp.gmail.com with ESMTPSA id n28sm4858693ila.52.2020.10.29.20.46.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 20:46:50 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Subject: [PATCH v3 07/29] patman: Allow linking a series with patchwork Date: Thu, 29 Oct 2020 21:46:16 -0600 Message-Id: <20201030034638.2858999-8-sjg@chromium.org> X-Mailer: git-send-email 2.29.1.341.ge80a0c044ae-goog In-Reply-To: <20201030034638.2858999-1-sjg@chromium.org> References: <20201030034638.2858999-1-sjg@chromium.org> MIME-Version: 1.0 X-BeenThere: patchwork@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Patchwork development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: patchwork@lists.ozlabs.org, Simon Glass , Tom Rini Errors-To: patchwork-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Patchwork" Add a new Series-links tag to tell patman how to find the series in patchwork. Each item is the series ID optionally preceded by the series version that the link refers to. An empty version indicates this is the latest series. For example: Series-links: 209816 1:203302 Documentation is added in a later patch. Signed-off-by: Simon Glass Signed-off-by: Simon Glass --- (no changes since v1) tools/patman/README | 15 +++++++++++++++ tools/patman/func_test.py | 1 + tools/patman/series.py | 2 +- 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/tools/patman/README b/tools/patman/README index 7ede1068ee1..6664027ed7d 100644 --- a/tools/patman/README +++ b/tools/patman/README @@ -187,6 +187,21 @@ Series-name: name patman does not yet use it, but it is convenient to put the branch name here to help you keep track of multiple upstreaming efforts. +Series-links: [id | version:id]... + Set the ID of the series in patchwork. You can set this after you send + out the series and look in patchwork for the resulting series. The + URL you want is the one for the series itself, not any particular patch. + E.g. for http://patchwork.ozlabs.org/project/uboot/list/?series=187331 + the series ID is 187331. This property can have a list of series IDs, + one for each version of the series, e.g. + + Series-links: 1:187331 2:188434 189372 + + Patman always uses the one without a version, since it assumes this is + the latest one. When this tag is provided, patman can compare your local + branch against patchwork to see what new reviews your series has + collected ('patman status'). + Cover-letter: This is the patch set title blah blah diff --git a/tools/patman/func_test.py b/tools/patman/func_test.py index b3c3e5796ad..ea3c84632c0 100644 --- a/tools/patman/func_test.py +++ b/tools/patman/func_test.py @@ -417,6 +417,7 @@ Series for my board This series implements support for my glorious board. END +Series-links: 183237 ''', 'serial.c', '''The code for the serial driver is here''') self.make_commit_with_file('bootm: Make it boot', ''' diff --git a/tools/patman/series.py b/tools/patman/series.py index 9f885c89873..393a44241bd 100644 --- a/tools/patman/series.py +++ b/tools/patman/series.py @@ -16,7 +16,7 @@ from patman import tools # Series-xxx tags that we understand valid_series = ['to', 'cc', 'version', 'changes', 'prefix', 'notes', 'name', - 'cover_cc', 'process_log'] + 'cover_cc', 'process_log', 'links'] class Series(dict): """Holds information about a patch series, including all tags.