From patchwork Mon Oct 26 01:04:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1387381 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 4CKGvH65tCz9sTD for ; Mon, 26 Oct 2020 12:09:15 +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=Y0j96wk1; 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 4CKGvH48jtzDqCl for ; Mon, 26 Oct 2020 12:09:15 +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::d42; helo=mail-io1-xd42.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=Y0j96wk1; dkim-atps=neutral Received: from mail-io1-xd42.google.com (mail-io1-xd42.google.com [IPv6:2607:f8b0:4864:20::d42]) (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 4CKGpY571mzDqDD for ; Mon, 26 Oct 2020 12:05:09 +1100 (AEDT) Received: by mail-io1-xd42.google.com with SMTP id y20so8383550iod.5 for ; Sun, 25 Oct 2020 18:05:09 -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=1AWzYHnRvLLdMquyHL+fEUSyaN4HQ0DUOrb4gzDUEZg=; b=Y0j96wk18w9Z6nNgz0xCEn0jbTJUA/wlxCM+10AgvJVsBUlVSnoLOas9tzzrOZQvZv Z0S0E9qF4GWwQEFL0VsCstaIjVGa2rUZ2qK6ocEjVWEf5GVDSYlrGUtd1pKt27D6r9ij O4nsQU9+ghiVEOJ0fIhbS4KuVBhCS0zA5FZXU= 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=1AWzYHnRvLLdMquyHL+fEUSyaN4HQ0DUOrb4gzDUEZg=; b=hQ5OfuCfPOoAO5FYZHACFSPAge92ya5Xd8agbFh6Kke9vwVZAhjfgQIeU4u6vp+TLc CM/Nfjnz7rEh613+cFO7ZuQMVVQR6nyweNMj+EVcPcoiwD6ZRPkXNdJl3Amimm5m5hFR l/0bUGtCIDcEjNXInWbZULMg6+JDZvrnNuzXDgtGe4Atu52j3TdOk7hHtBn/OZnBkMzg LiGGyg6u9ZZ9wLy2FbOjq2gkgfzyh3KL/86UYqACyZa7n0y7buK5E2OUOZ01hhu8NtdR JzEb7nem2kJv1M7d1oKUC7BD8CvOnCDQ18eX9N5ZdlAOc3q5cIrGZKrJ2WLBOzxldWty aGIg== X-Gm-Message-State: AOAM531p+ze4hbDfnsCRrf82jP0LTzkrquK1Z9qnIPMkf7KdyuWqrevc SqvwdjDuBwb/SkIh+us5SZ+0og== X-Google-Smtp-Source: ABdhPJwrwc1UKUgaOJXs/HI+c7chH+h8K/IuDf80YRZiC8EmvlfVH1BGNUvxzXlvN+6wgi6Y48NpNg== X-Received: by 2002:a05:6602:160b:: with SMTP id x11mr8631308iow.170.1603674307136; Sun, 25 Oct 2020 18:05:07 -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 a6sm5231162ili.11.2020.10.25.18.05.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Oct 2020 18:05:06 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Subject: [PATCH v2 07/30] patman: Allow linking a series with patchwork Date: Sun, 25 Oct 2020 19:04:19 -0600 Message-Id: <20201026010442.1606893-8-sjg@chromium.org> X-Mailer: git-send-email 2.29.0.rc2.309.g374f81d7ae-goog In-Reply-To: <20201026010442.1606893-1-sjg@chromium.org> References: <20201026010442.1606893-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-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 --- (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.