From patchwork Mon Oct 21 05:44:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Axtens X-Patchwork-Id: 1180333 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) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46xQZR4fRfz9sNw for ; Mon, 21 Oct 2019 16:44:47 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=axtens.net Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=axtens.net header.i=@axtens.net header.b="LskeRrA4"; 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 46xQZR0lCszDqbp for ; Mon, 21 Oct 2019 16:44:47 +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=axtens.net (client-ip=2607:f8b0:4864:20::443; helo=mail-pf1-x443.google.com; envelope-from=dja@axtens.net; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=axtens.net Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=axtens.net header.i=@axtens.net header.b="LskeRrA4"; dkim-atps=neutral Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) (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 46xQZL3CY3zDqMw for ; Mon, 21 Oct 2019 16:44:41 +1100 (AEDT) Received: by mail-pf1-x443.google.com with SMTP id a2so7678502pfo.10 for ; Sun, 20 Oct 2019 22:44:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axtens.net; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=vU0c8YrIqigTiRNOAcVwfXiqXHpjnLdNJU6tI7qFvPo=; b=LskeRrA4RTOY3qXtqrb7LgMgLEyrlxAsv41sLt4MCMAuHwA/pdiq5QGwI2sUMMKG8n QVFniFEbZAICQEWE6RPsxD2MHeHDBKWF5JPosi5a+dbtpbP5W7M3bV1ABdzuMZKXQKJy B2RxattPtixm8zhZxqC4dZzkrnlOamNZSybHM= 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:mime-version :content-transfer-encoding; bh=vU0c8YrIqigTiRNOAcVwfXiqXHpjnLdNJU6tI7qFvPo=; b=IRA3sy87FEOX+m+mRyX77evX9vZ7+oJKYklTZqwY9Vwei0dT7dnlmezNxueb1UDLH3 PO5XAAq+kg+FGSQ4PKmuroLfbSZypbixQxSYMRSwbcYcXlxGb4KBV0orJAbjKQOJvpTV b6X0bEQsGzLuURTx8RnxWsHUCN47C6SLN2vklVnhtr29DbppKRkwlcm+5LBfTvdB+jm0 MYy7rliJdy6HQbGX33qOmVoTdzrCSg5IN7pmhTXbWW7TKNuAcEMN0yOnhS6J7hgazQVf gJGDGH84YHoEuTBJ/K8XuPH7GrbiBoLBlubfLcBOl+yuciBupRbW8yhHlt6mDUHjvTFp iV4g== X-Gm-Message-State: APjAAAXo599iIG9a4yzLNLq+aKA2fuPUnpGYtoJhDm6WPF2tIwPJ0vvx 0ouMD2JIjtWiS/HkzCVvBk5ctvLizqU= X-Google-Smtp-Source: APXvYqyDZft1zZ9AmjvELWi3Xp93sw6S99IKfQ8VTkgUwGYSaAzFeWxLKdL8/uvKSBUECw3aEe/sbw== X-Received: by 2002:a63:5a03:: with SMTP id o3mr23407820pgb.381.1571636677886; Sun, 20 Oct 2019 22:44:37 -0700 (PDT) Received: from localhost ([122.99.82.10]) by smtp.gmail.com with ESMTPSA id p189sm14917743pfp.163.2019.10.20.22.44.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Oct 2019 22:44:36 -0700 (PDT) From: Daniel Axtens To: patchwork@lists.ozlabs.org Subject: [PATCH] parser: extend SERIES_DELAY_INTERVAL Date: Mon, 21 Oct 2019 16:44:31 +1100 Message-Id: <20191021054431.28584-1-dja@axtens.net> X-Mailer: git-send-email 2.20.1 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: , Errors-To: patchwork-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Patchwork" There was a series on linuxppc today that was spread over ~13 mins, so the last two patches were put into a new series. Extend the time window to 20 mins, and attempt to document it. Signed-off-by: Daniel Axtens Reviewed-by: Andrew Donnellan --- patchwork/parser.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git patchwork/parser.py patchwork/parser.py index be1e51652dd3..c794f093c412 100644 --- patchwork/parser.py +++ patchwork/parser.py @@ -35,7 +35,12 @@ _hunk_re = re.compile(r'^\@\@ -\d+(?:,(\d+))? \+\d+(?:,(\d+))? \@\@') _filename_re = re.compile(r'^(---|\+\+\+) (\S+)') list_id_headers = ['List-ID', 'X-Mailing-List', 'X-list'] -SERIES_DELAY_INTERVAL = 10 +# How many minutes must pass since the first email of a series before we +# say that subsequent mails are definitely not part of that same series? +# +# Only used when there are not proper references to determine the series +# (such as when the mail is not threaded) +SERIES_DELAY_INTERVAL = 20 # @see https://git-scm.com/docs/git-diff#_generating_patches_with_p EXTENDED_HEADER_LINES = (