From patchwork Mon Oct 26 01:04:36 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1387407 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 4CKH4s0BM4z9sT6 for ; Mon, 26 Oct 2020 12:17:33 +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=EGrsG73J; 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 4CKH4r6BLTzDqHP for ; Mon, 26 Oct 2020 12:17:32 +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::141; helo=mail-il1-x141.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=EGrsG73J; dkim-atps=neutral Received: from mail-il1-x141.google.com (mail-il1-x141.google.com [IPv6:2607:f8b0:4864:20::141]) (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 4CKGpt14nBzDqGY for ; Mon, 26 Oct 2020 12:05:25 +1100 (AEDT) Received: by mail-il1-x141.google.com with SMTP id y17so6763780ilg.4 for ; Sun, 25 Oct 2020 18:05:25 -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=8sgfmPocRlL6E71LMJMhPd1+DaUWASX2FEb7IJ6IDwk=; b=EGrsG73J9VS8DxnJlvhPydzyx2T3Ln8DcdP+Bemar4VFqQcX/ypttnb8HHOrO6vc2V BUlYEI1ZdKNMEL++Zlqzvjve99zGA7zV003z+3LZnUQApOq4PLrQy9tBdM1Y0Luwwqng In9bPmCWxyEgQuR9//wjqZGAzDR7q6SBDDKBk= 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=8sgfmPocRlL6E71LMJMhPd1+DaUWASX2FEb7IJ6IDwk=; b=qkFDYslVIEK634KIKjDzrdxWFCjyLjfU7pi/i0ODoyY1VWgoKEtKVxPHgyDNCNThdy tjvB5u97CMcqAkH6iX4c5xUomAWwrjTi39bBPC/aujlPqGk8ISr0s0ci4pvW7QniuBOE LISYTkCmIdKBYofI0jE3xcrTw+aGqLuAjxAbXG5f/xLghgng72NBUakJehzOJPUYN9TO 1dQXPI15eEaC0WOhVQBsxwcZ6QtBE3C8/d8QJ+UbubxdQPgO8v+XLvEm0BnxmPlzj8sj Q1M0zzschmNt14YEYP5fDG86b719M4q7t/a6A5JqtK5pTLVt113h7x4CqAxHGmzsVMYQ UQWQ== X-Gm-Message-State: AOAM530NKkwn6+TNs1jOb4ecEz7ABI7Ry07/IReuaJuhF2sJXB+jN8mP mxaHBYHXJOe98wHLqbDawH1tMQ== X-Google-Smtp-Source: ABdhPJzlzxcDJc5PpKWEQFGzOg9KrWpE8ieh2LWInfRTJcdnSnZpMG+Fe3FSz8LBzsti5UnkGxIAhQ== X-Received: by 2002:a92:6410:: with SMTP id y16mr8763083ilb.126.1603674323048; Sun, 25 Oct 2020 18:05:23 -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.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Oct 2020 18:05:22 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Subject: [PATCH v2 24/30] patman: Allow showing a Commit as a string Date: Sun, 25 Oct 2020 19:04:36 -0600 Message-Id: <20201026010442.1606893-25-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" Use the subject of the Commit object when printing it out. Signed-off-by: Simon Glass --- (no changes since v1) tools/patman/commit.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/patman/commit.py b/tools/patman/commit.py index e49bf87dfc8..5bf2b940299 100644 --- a/tools/patman/commit.py +++ b/tools/patman/commit.py @@ -41,6 +41,9 @@ class Commit: self.rtags = collections.defaultdict(set) self.warn = [] + def __str__(self): + return self.subject + def AddChange(self, version, info): """Add a new change line to the change list for a version.