From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.1 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=altlinux.org; s=dkim; h=Subject:Content-Transfer-Encoding:Content-Type: MIME-Version:Message-Id:Date:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=7ZKmTNGgLTw086WuJ0q2uxp730KMCdEdzFECvVahDJY=; b=ZrMAbG9l9dCxKW2qSKiN8N6LHL VbwmDeOJNgaooGM3xqD/84gm0lhm7oHxGyVVYWQWnE9ilJ4GmjbVrjMaX7QxDbstGRj990gX5RW0R G4DIvTLtxpoLT6YKlHFiYxSuWPGS9+zhDfXi0O4Q618SfRUxljufMKuW3TFIL0Pb1vPnuX2yEcrT1 q+ywopW3gnHY5kZQFlxf8ioiH+ytIV0ZnyLxGEnJqCliWNGZ9ugeDYbVF7kySNRiJO9X0m8Tx6tor m46WVu1RGmhueT/K/LL+vNXJURzjekNMT7SKQYIyYEdFmPKyO2DmsU6IRg4Q/o5l0ciKVSvK02i4G XWInBLIA==; From: "Vladimir D. Seleznev" To: devel@lists.altlinux.org Date: Tue, 10 Nov 2020 06:16:07 +0300 Message-Id: <20201110031608.2185196-1-vseleznv@altlinux.org> X-Mailer: git-send-email 2.25.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 46.39.229.97 X-SA-Exim-Mail-From: vseleznv@altlinux.org X-SA-Exim-Version: 4.2.1 X-SA-Exim-Scanned: Yes (on mail.cs.msu.ru) Cc: legion@altlinux.org Subject: [devel] Introduce gear-rules nodiff directive X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Nov 2020 03:16:28 -0000 Archived-At: List-Archive: List-Post: Hi, devel@! По мотивам недавних обсуждений в рассылке [1] и бегрепорту [2] решил предложить немного другое решение: вместо предлагаемой дополнительной опции exclude= использовать директиву nodiff, в котором перечислены шаблоны путей, которые следует исключить при генерации патча. Пример того, как при этом может выглядеть .gear/rules: tar: v@version@:. diff: v@version@:. . nodiff: .gear/** *.spec [1] https://lists.altlinux.org/pipermail/devel/2020-November/212375.html [2] https://bugzilla.altlinux.org/show_bug.cgi?id=31851