From patchwork Mon Jul 6 03:41:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1323298 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (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 4B0WgH1TdNz9sDX for ; Mon, 6 Jul 2020 13:45:31 +1000 (AEST) 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=O8E0gaG2; 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 4B0WgH12ngzDqg4 for ; Mon, 6 Jul 2020 13:45:31 +1000 (AEST) 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::143; helo=mail-il1-x143.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=O8E0gaG2; dkim-atps=neutral Received: from mail-il1-x143.google.com (mail-il1-x143.google.com [IPv6:2607:f8b0:4864:20::143]) (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 4B0Wbf2bN6zDqN1 for ; Mon, 6 Jul 2020 13:42:22 +1000 (AEST) Received: by mail-il1-x143.google.com with SMTP id t18so11793815ilh.2 for ; Sun, 05 Jul 2020 20:42:22 -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=t0e9YGaUSr3GiD86QUbMgD1HnJrFYPLjoitmQiM6xn0=; b=O8E0gaG2gWX8gFCSVdTSO2hACKQ5/jBp845pcJ/cOqTm4stUDGD+XR848nfntJatKC GpzgG9AFfGcHVIWwlu48oY6cwaDw1Rd96LpLZRO9APLXoesE/SvZW+GRi1H7Gj9RAaGU EKJMG3xm99GKxlqVbfiYci3VRFP/u2U1qgM/0= 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=t0e9YGaUSr3GiD86QUbMgD1HnJrFYPLjoitmQiM6xn0=; b=jRa1PobIU+LizCOIcOOHezyfVsGZAprF6iVRnlVczwW/MfmwYysKCFfTwe6IAyvDf7 vLOwnELfQUNvkA/1eNCBPoxhaHV53Rbgi7VDrYI500v/tVZSEe4YsMgP1mmCWF5vD7HM 1XKYytFQcs7AlM+HVXrMrI5Sia2wlyKkqgJifOZuFHY0VjQxOLvQdabE2woEFf7nMLvn +dkNDPWA8hVxvecnEO4CRec4uIlhbCPkvDoK6Cv/jM1OzPiWdKK2sActnKmVNKjAt6IX 0DWqF3Fpq+fHQh/JfiK8dDrzTb3zSaRurSUNxaIxsmu0hV/SoUEca5z9WBhcGcTPjSrv yu/Q== X-Gm-Message-State: AOAM531bQ1Pd2P5Kx0NtWLyd63HgQyvAs6ktN9Aah/ogO/KxOWkZve6L 2WgvlZ7q9BqNOpKNVAKdanGq1G8EMXxLIg== X-Google-Smtp-Source: ABdhPJy9veQh6iq2ZeDwZtAwQCaWNg4ThASutodJLqxdYjySbHznkMEu8aIChPYIg7RW7o79ckX6hw== X-Received: by 2002:a92:8585:: with SMTP id f127mr28114607ilh.207.1594006940409; Sun, 05 Jul 2020 20:42:20 -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 r15sm1664958ilh.86.2020.07.05.20.42.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jul 2020 20:42:20 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Subject: [RFC PATCH 11/16] patman: Allow linking a series with patchwork Date: Sun, 5 Jul 2020 21:41:58 -0600 Message-Id: <20200706034203.2171077-12-sjg@chromium.org> X-Mailer: git-send-email 2.27.0.212.ge8ba1cc988-goog In-Reply-To: <20200706034203.2171077-1-sjg@chromium.org> References: <20200706034203.2171077-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: Tom Rini , Simon Glass , patchwork@lists.ozlabs.org Errors-To: patchwork-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Patchwork" Add a new Series-link tag to tell patman how to find the series in patchwork. Signed-off-by: Simon Glass --- tools/patman/README | 8 ++++++++ tools/patman/func_test.py | 1 + tools/patman/series.py | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/tools/patman/README b/tools/patman/README index 52b2cf70bd..7291e47d0c 100644 --- a/tools/patman/README +++ b/tools/patman/README @@ -187,6 +187,14 @@ 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-link: url + Set the URL 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. http://patchwork.ozlabs.org/project/uboot/list/?series=187331 + When this is set, patman can compare your local branch against patchwork + to see what new reviews your series has collected. + 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 810af9c604..5eb777054a 100644 --- a/tools/patman/func_test.py +++ b/tools/patman/func_test.py @@ -392,6 +392,7 @@ Series for my board This series implements support for my glorious board. END +Series-link: http://patchwork.ozlabs.org/project/uboot/list/?series=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 9f885c8987..edb1141fa8 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', 'link'] class Series(dict): """Holds information about a patch series, including all tags.