From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by sourceware.org (Postfix) with ESMTP id D1D6D3857C4F for ; Fri, 12 Feb 2021 13:04:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org D1D6D3857C4F Received: from mail-qt1-f199.google.com (mail-qt1-f199.google.com [209.85.160.199]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-197-PllH7uBBPJ-z2flmLnEiZw-1; Fri, 12 Feb 2021 08:04:37 -0500 X-MC-Unique: PllH7uBBPJ-z2flmLnEiZw-1 Received: by mail-qt1-f199.google.com with SMTP id r18so6815424qta.19 for ; Fri, 12 Feb 2021 05:04:37 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=oC2mrSb7yWU/j0x8XOIdbfkcF3OLVO0ydVBOjEySuew=; b=ulGBZuxnYPiKGfSTktQv5gFz2kvfaqlI7g9PVXYb9eBZNfU+nwlieJieocIogt9gZ6 nNSItQiLsDm+b3M9w3JgLR8DtIw0oW0UEHb08YLBAn6mxU+6eb1iHjjlp5v5ngOLPTGw p+JI+Yy2r/YkUipUxi5ADMETVOoWyV5s7GALz6ixegpk7f+LBGQiAwZVLlG850P/cxgn MXAjZ4Sa9OikQMLr8BuqiGfWNxchglGD5IRoGWLq1QpIWU7mqwjyH+PypGeoDbUAVXEe 27tagxGsbK2f+WaVdW8nhBMMmDiCb/XZuEWtlKSEmOAjfw9xEFa1Ei/eEAMUiNpA7rWw nqyg== X-Gm-Message-State: AOAM531czeF7jq6IS1oG6/eRrdCYnsBn9GN/FftorFfeDI4p6rjnRO8G oMJg46cL/CduQoXk6dJ3CSKgufbNyD3Gs5q+0/lj5Rejz83UrqmOzZV/JYT7jeEDSNwpoHjNbYP w3i1vJwvovT4QNFi4WtVJ X-Received: by 2002:ac8:6f04:: with SMTP id g4mr2327790qtv.20.1613135077462; Fri, 12 Feb 2021 05:04:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJyyOUso9IA1DaYxA39getcEFpjbW0TqSZRsqy0Mt1ETEoOUq+FhbwEk1l3NRgMwCCZmNO2Mtw== X-Received: by 2002:ac8:6f04:: with SMTP id g4mr2327770qtv.20.1613135077282; Fri, 12 Feb 2021 05:04:37 -0800 (PST) Received: from [192.168.1.16] (198-84-214-74.cpe.teksavvy.com. [198.84.214.74]) by smtp.gmail.com with ESMTPSA id 6sm6241232qkv.24.2021.02.12.05.04.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 12 Feb 2021 05:04:36 -0800 (PST) Subject: Re: [RFC] Updating patchwork patches on commit To: Siddhesh Poyarekar , Girish Joshi , Girish Joshi via Libc-alpha Cc: Andreas Schwab , Joseph Myers References: <42a05535-8d94-037d-acdb-0f5949f6ea3f@gotplt.org> <87tuswekbd.fsf@igel.home> <1c406b7d-891d-193d-c370-cd00d3e9259f@gotplt.org> <802634ad-8244-74e7-b33b-38b2fe5531d9@gotplt.org> <9163662f-4f00-bb6f-6451-a8fd9951613d@gotplt.org> <39b10e24-a6b3-e6d7-adc3-2c8271ec1e1b@gotplt.org> From: Carlos O'Donell Organization: Red Hat Message-ID: <2c0d74a5-6355-14fe-cc00-3bd02793c926@redhat.com> Date: Fri, 12 Feb 2021 08:04:34 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: <39b10e24-a6b3-e6d7-adc3-2c8271ec1e1b@gotplt.org> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.8 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2021 13:04:42 -0000 On 2/12/21 4:02 AM, Siddhesh Poyarekar wrote: > On 2/4/21 9:17 PM, Girish Joshi wrote: >>> Once this is done, this script can be invoked after a regular interval >>> of time to check if the new patches can be applied. >> We can do this now. >> >> There are a couple of functions that need refactoring. >> But for now it does the job. >> Could you please review it? > > The script is now done and I have gone through the outputs.  Some notes: > > 1. git-pw runs are leaving /tmp/git-pw* directories, you need to clean them up > > 2. The script must ignore patches that are not in the New state. Currently it seems to be going through everything. > > 3. The output in pw-results seemed to mostly be old patches from 2014 or so by default.  Perhaps it's hitting the limit for the server in 2014 because it's not filtering correctly on patch state? > > If the output does not correspond with what you're seeing, then please send the commandline you'd like me to run to get the output you're seeing.  The primary goal with this script set is to identify patches in 2019/2020 that are out of date and no longer apply so that we can mark them accordingly. FYI. The kernel has a patchwork-bot here: https://git.kernel.org/pub/scm/linux/kernel/git/mricon/korg-helpers.git/tree/git-patchwork-bot.py In case they were doing something interesting that we're not. Their bot knows how to mark superseded based on vN markup. It uses sqlite3 local db to track processing state. -- Cheers, Carlos.