From nobody Fri Apr 26 17:50:53 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.124; envelope-from=patchew-devel-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=patchew-devel-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1638293471; cv=none; d=zohomail.com; s=zohoarc; b=TemqHaG6DjYtyutLHjkW0iITN2Do2TBraCpLEKLaoOfPlQNtmJLlTNrxYHlb/JAM4/+HI6KzYiT64AAtrLJbbZqijClCFPsUSaya5HQCgvKMGFJYjFpyXBtc8WPqlnyl7vgHOeDvQ9ypC0Ed4E3+VgpQRlarPgwhWx8LPDMb9Vc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1638293471; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=y6nnuCsiseY6+sGaXZmWiySVnfJn9g5VvOGnucnWp6o=; b=h3gNHhKsf/afajvGrz1F+Bl2SI0rt1ZHzxb0muzogpQQjA0T2G1CF5P9bOfB6RYcG4y8sMbpotWPC043YnWEkenZAIIUPD264BuECkeZgsmgYX3zLPmuWgo7Di1ORNmd2pvBlVMXyAtk0p5M4Oj1E9J5pHj56/TcGqa7xjECJUw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=patchew-devel-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 1638293471435609.7057602939179; Tue, 30 Nov 2021 09:31:11 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-131-v8ePyBX0PmSsAxNRBxv0gQ-1; Tue, 30 Nov 2021 12:31:07 -0500 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id DD01C85C717; Tue, 30 Nov 2021 17:30:22 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 82F4C27C50; Tue, 30 Nov 2021 17:30:21 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 2C3494BB7B; Tue, 30 Nov 2021 17:30:21 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 1AUHUKrq009097 for ; Tue, 30 Nov 2021 12:30:20 -0500 Received: by smtp.corp.redhat.com (Postfix) id EFDD6404727A; Tue, 30 Nov 2021 17:30:19 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast05.extmail.prod.ext.rdu2.redhat.com [10.11.55.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id CE8514047279 for ; Tue, 30 Nov 2021 17:30:19 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-2.mimecast.com [205.139.110.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id B43F580158D for ; Tue, 30 Nov 2021 17:30:19 +0000 (UTC) Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-464-rD06HMtSNPOzm9RAcdwodQ-1; Tue, 30 Nov 2021 12:30:16 -0500 Received: by mail-wm1-f72.google.com with SMTP id n41-20020a05600c502900b003335ab97f41so13306080wmr.3 for ; Tue, 30 Nov 2021 09:30:16 -0800 (PST) Received: from localhost (net-188-218-25-126.cust.vodafonedsl.it. [188.218.25.126]) by smtp.gmail.com with ESMTPSA id c10sm2238334wrb.81.2021.11.30.09.30.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Nov 2021 09:30:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1638293470; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=y6nnuCsiseY6+sGaXZmWiySVnfJn9g5VvOGnucnWp6o=; b=N+tvwvfK/D6AbNjqeqdwGLG37OlqQ1FsDQ+aAixbE8lm9+n0f4sA7luyCE53jDJyAZ88xc WoYlTR2vuXOmMC6WuW7QJSPYrLNxuLW/rEqsBGHDhgZiXVsHbkfeRdc9Gj8JIZvze5oIrx EDiH8zQXhjuL4UPuWAGYsEMGCJcr/Hk= X-MC-Unique: v8ePyBX0PmSsAxNRBxv0gQ-1 X-MC-Unique: rD06HMtSNPOzm9RAcdwodQ-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=BTg7I8DxSwkBPilUbOI9U1xtWWS2ygcNfMuxanQgBoA=; b=e5JVJu2FaQ5IDQIPf9nlnSsx+cwuN6bQeK/hwJF0TDPCzDvCnDfsR4LbeUWaFZ+X94 RaxzNlfnQRmr91Og6SDPJ85SuhPFZnPnHAIp/0xzcUV9B32XhlKPsSC+gYWY8aoaMDgV J/LhGXVifRt34UTDP9U15V9UYjESVQdHZ+nBz7VSLq1oLv++FBILAycxjK2UUWJJovir R2K+amFLeIz1Ebs8wB8cDY0c4Ve1iS9iCdSikd/M//INjbNoXAFJqu4EkHN5fWsp+Rud CfP6QAr0kYPUb2mhH/8OZoPNN+RS51lv8mn/DGjOnnyfadlru6iKveArS9JNZetJ1C4r r4WQ== X-Gm-Message-State: AOAM532ZnD1mcdd0Wcpthzwtzao8UD4jcD48/reSlT6TWZ00nJBAmgXk X0ZQRMOqDiE3WTugN6vqsOKvmFsbdkH3TZYp+M0Lymv9uP2GPwMvJsi5qKFP0Xu2PKMwXVT6H4S toNlG7KUGhgYAmHG5IVGSC/85C15NmqJXOhg9GqZaoYnPAzEOKIBv39KvuBdo/y0M6AuqHXgSBQ == X-Received: by 2002:adf:9bdb:: with SMTP id e27mr302027wrc.417.1638293414843; Tue, 30 Nov 2021 09:30:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJymGno4K/bynaM7g0i82l9tReA4Hx9ju6e0dN268SAcokDEveqKtt7zCumgricTzif9IGYsWQ== X-Received: by 2002:adf:9bdb:: with SMTP id e27mr302003wrc.417.1638293414624; Tue, 30 Nov 2021 09:30:14 -0800 (PST) Date: Tue, 30 Nov 2021 18:30:13 +0100 From: Davide Caratti To: patchew-devel@redhat.com Message-ID: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.11.54.2 X-loop: patchew-devel@redhat.com Cc: matthieu.baerts@tessares.net Subject: [Patchew-devel] skip_ci and github X-BeenThere: patchew-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Patchew development and discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: patchew-devel-bounces@redhat.com Errors-To: patchew-devel-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=patchew-devel-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1638293473398100001 Content-Type: text/plain; charset="utf-8" hello, Matthieu observed that the MPTCP importer is force-pushing a new tag each time a reply is sent to a patch. This is because github does not support push options (unlike gitlab), so 'skip_ci' is ignored. we tested this workaround: -- >8 -- diff --git a/patchew-cli b/patchew-cli index 9472554..4a7adb9 100755 --- a/patchew-cli +++ b/patchew-cli @@ -977,7 +977,7 @@ class ApplyCommand(SubCommand): print("No series need apply") return 3 logf =3D tempfile.NamedTemporaryFile(mode=3D"w+", encoding=3D"utf-= 8") - push_repo =3D toapply.get("git.push_to") + push_repo =3D None if 'ci.skip' in str(toapply.get('git.push_optio= ns')) else toapply.get("git.push_to") public_repo =3D toapply.get("git.public_repo") wd =3D tempfile.mkdtemp(dir=3D"/var/tmp") try: -- >8 -- do you know of any patchew user that has github and solved this differently? thank you in advance! --=20 davide _______________________________________________ Patchew-devel mailing list Patchew-devel@redhat.com https://listman.redhat.com/mailman/listinfo/patchew-devel