Message ID | 20210416130612.15959-2-valter.jansons@gmail.com |
---|---|
State | Accepted |
Commit | 73dfec8399cccfa4e561dd64be89dc5355df7c05 |
Headers |
Return-Path: <location-bounces@lists.ipfire.org> Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4FMGgz5SFyz44R5 for <patchwork@web04.haj.ipfire.org>; Fri, 16 Apr 2021 13:06:55 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4FMGgy6LK6z1YQ; Fri, 16 Apr 2021 13:06:54 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4FMGgy4V2Kz2yXC; Fri, 16 Apr 2021 13:06:54 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4FMGgx2NyXz2xKk for <location@lists.ipfire.org>; Fri, 16 Apr 2021 13:06:53 +0000 (UTC) Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4FMGgw27H3z1TW for <location@lists.ipfire.org>; Fri, 16 Apr 2021 13:06:52 +0000 (UTC) Received: by mail-wr1-x435.google.com with SMTP id g9so10619392wrx.0 for <location@lists.ipfire.org>; Fri, 16 Apr 2021 06:06:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=7+1xag3GsEQ6gxzeSt0Y5T1wn50nTnwQwDbeSJ5xUwo=; b=mhJ6Wg39DomyJeGcKpbU6QujtgY4x1/daEbRq/Ahhk87rPEkwlGwefn64DZcA2rT4t Tn5cEoE+tzrSRZFG3GYyODcFpqw6gavQMXGYj6QlalM6BWEI+sXEXxlJt6JqjZ338yVh Eo+vNKQ7cfMIvtOwn80SNHJ4pn1YQHmNlyFYgCUHpqDZC6V6wWSlNRGqaj8ztLEBf/tz L00AjuDuOiWSK4rs136mttRzJKRWPZbRS/Th12W/ayl5ELcC3fcTJdvsK3szL+YyR4mo mzZksS4YBAtq5g61BAnt9BjkK8ZdCkq6sbNe4JKdXpWCyJuE0az7r50hfdTY+M2cm93i ChrA== 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=7+1xag3GsEQ6gxzeSt0Y5T1wn50nTnwQwDbeSJ5xUwo=; b=kuLbQHlzO+8zRRBOlcD1ozPYK8XuhdYcJ2q83ZgMT8fRd+3pHkx5S4rIHOVp6VMQAF p/qnqojqfV3ruKu/4K3Q4Hu6FsuSRgVSq/RsU5gOVltBsIJNdDkJ8DngrUJjEeCM0yLe rdzDUNBxdB6RS+pHH9M+WEGU/GoAl2zso2ks0us+QS9L5jcW5N5BCgwlrZjTZNsbnLpR qm63qRSvVIAnQhkiyYO5eobGu4izz+KO3MLROyBOPEr1gLbiXYuF1bPQIYEhNgqyuPZf hFXVyRwsJ9nQ04F4Po/kWoXukTamzOu1dVCH7QHkt/sLCOK1dpaPbt4F+eI1CjX7mQpP BvVA== X-Gm-Message-State: AOAM532xylzMmKsFuNvOBnYOCSaGdSlv3GWJpV7tu7eRmPSlp6Kz7yk6 q8/qiriFuqg+Z0sTbYCvlfLdcz7PdCZbgg== X-Google-Smtp-Source: ABdhPJzMIVzgOooURgCh8A3xihVVn3Z8dMIYMCLd8Q79zKxvUNScmTcVEYGGKrnhBaRqDP0ath+JAw== X-Received: by 2002:adf:ead2:: with SMTP id o18mr9077206wrn.101.1618578410174; Fri, 16 Apr 2021 06:06:50 -0700 (PDT) Received: from DESKTOP-30GCCHK.localdomain ([80.232.183.114]) by smtp.gmail.com with ESMTPSA id b187sm8592958wmh.17.2021.04.16.06.06.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 06:06:49 -0700 (PDT) From: Valters Jansons <valter.jansons@gmail.com> To: IPFire Location Mailing List <location@lists.ipfire.org> Subject: [PATCH 1/8] debian: Add all temporary files to Gitignore Date: Fri, 16 Apr 2021 16:06:05 +0300 Message-Id: <20210416130612.15959-2-valter.jansons@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210416130612.15959-1-valter.jansons@gmail.com> References: <20210416130612.15959-1-valter.jansons@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=lists.ipfire.org; s=202003rsa; t=1618578412; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=7+1xag3GsEQ6gxzeSt0Y5T1wn50nTnwQwDbeSJ5xUwo=; b=jkwPCjm3GbOk/gbOFLmK7Px1EOX1Aqen2dpDlwQFRE8fahzXuxhkNa22Wng+80+GPi+azd CN2n1gdQd0uEW7LS1Qu12QPSIqf0BI8/oAhoGJN58qT3tr7Vq6V4/SxGQJnTadziWnWE9f Mp691Nr58MYtz8zFfdd2kCb0qurw5g7WOLUG3V6lrwpl8h/CjggDo4wDdcn6r86npSQtz0 KlOWxKd/dqXAF6y0JXFx5wUWeyZ4lmsOd0nre+vFn0J1F4XH5QsfGNh7d3FjjFhJEubsgS GKmPXi0Ig2iA74XZrDy8Jjfe3EkwEu07MIVxk1kiBbTM316UopDiaJLegKQFyw== ARC-Authentication-Results: i=1; mail01.ipfire.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=mhJ6Wg39; spf=pass (mail01.ipfire.org: domain of valterjansons@gmail.com designates 2a00:1450:4864:20::435 as permitted sender) smtp.mailfrom=valterjansons@gmail.com ARC-Seal: i=1; s=202003rsa; d=lists.ipfire.org; t=1618578412; a=rsa-sha256; cv=none; b=O8YNG+zcTRNyZf6FQFQjeOQ3XJcVjx8cmtAdlOhbmDnMWxAhXpAAlmlBKEccnJn015P7jH 1hUNIv0nrqEGmzqIMcpJ3m2UwkId2Ic8uOTFEM9GQezqt6AOSN6yu4A3lnA9O9MKl4jaSZ A54HRg/h9RgkK/aQBLkUOGVaFxz2zNKgylayUgt1ZX1HMDUxTktZEsnszQ7PhUwX/M3ZV7 7TLwUBbB3Qg+1Tx/SPguvcpEripj6anhYrnMCukns+jmWYCxMGC2VnWPZ/66mtxcDbnBJr UQzMHESTa5IW3E2knNQcS6RWy6y1KsGJFycGfhwYqztp8rJdx05h750O9YE8Tw== X-Rspamd-Server: mail01.haj.ipfire.org X-Spamd-Result: default: False [-1.80 / 11.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_MISSING_CHARSET(2.50)[]; IP_REPUTATION_HAM(-0.80)[asn: 15169(-0.21), country: US(-0.01), ip: 2a00:1450:4864:20::(-0.18)]; BROKEN_CONTENT_TYPE(1.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; ARC_SIGNED(0.00)[lists.ipfire.org:s=202003rsa:i=1]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; BAYES_HAM(-3.00)[99.99%]; FROM_HAS_DN(0.00)[]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[location@lists.ipfire.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::435:from]; NEURAL_HAM(-1.00)[-1.000]; FREEMAIL_CC(0.00)[gmail.com]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4FMGgw27H3z1TW Authentication-Results: mail01.ipfire.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=mhJ6Wg39; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mail01.ipfire.org: domain of valterjansons@gmail.com designates 2a00:1450:4864:20::435 as permitted sender) smtp.mailfrom=valterjansons@gmail.com X-BeenThere: location@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <location.lists.ipfire.org> List-Unsubscribe: <https://lists.ipfire.org/mailman/options/location>, <mailto:location-request@lists.ipfire.org?subject=unsubscribe> List-Archive: <http://lists.ipfire.org/pipermail/location/> List-Post: <mailto:location@lists.ipfire.org> List-Help: <mailto:location-request@lists.ipfire.org?subject=help> List-Subscribe: <https://lists.ipfire.org/mailman/listinfo/location>, <mailto:location-request@lists.ipfire.org?subject=subscribe> Errors-To: location-bounces@lists.ipfire.org Sender: "Location" <location-bounces@lists.ipfire.org> |
Series |
debian: Mitigate bulk of Lintian issues
|
|
Commit Message
Valters Jansons
April 16, 2021, 1:06 p.m. UTC
New packages have been added since the inception of the .gitignore and
as a result during build we see directories such as location-importer/
and files such as location-importer.debhelper.log.
This commit ensures all temporary subdirectories, and additional
generic build artifact files, are ignored by Git.
The subdirectory exceptions to this rule are:
- d/patches/ which may be used by Quilt
considering the source format is '3.0 (quilt)',
- d/source/ for the format file,
- d/tests/ which may be used by autopkgtest
to specify what test suites exist for the source.
See: https://salsa.debian.org/ci-team/autopkgtest/-/raw/debian/5.16/doc/README.package-tests.rst
Signed-off-by: Valters Jansons <valter.jansons@gmail.com>
---
debian/.gitignore | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
Comments
Hello, > On 16 Apr 2021, at 14:06, Valters Jansons <valter.jansons@gmail.com> wrote: > > New packages have been added since the inception of the .gitignore and > as a result during build we see directories such as location-importer/ > and files such as location-importer.debhelper.log. > > This commit ensures all temporary subdirectories, and additional > generic build artifact files, are ignored by Git. > > The subdirectory exceptions to this rule are: > > - d/patches/ which may be used by Quilt > considering the source format is '3.0 (quilt)', > > - d/source/ for the format file, > > - d/tests/ which may be used by autopkgtest > to specify what test suites exist for the source. > See: https://salsa.debian.org/ci-team/autopkgtest/-/raw/debian/5.16/doc/README.package-tests.rst > > Signed-off-by: Valters Jansons <valter.jansons@gmail.com> > --- > debian/.gitignore | 9 +++++---- > 1 file changed, 5 insertions(+), 4 deletions(-) > > diff --git a/debian/.gitignore b/debian/.gitignore > index 0faf920..8190b92 100644 > --- a/debian/.gitignore > +++ b/debian/.gitignore > @@ -2,9 +2,10 @@ > /autoreconf.* > /debhelper-build-stamp > /files > -/libloc/ > -/libloc-dev/ > -/libloc-perl/ > -/tmp > +/*/ What is /*/ for? Why would we ignore any directory that is created in the root directory. It feels like a bit much to me. -Michael > *.debhelper > +*.log > *.substvars > +!/patches/ > +!/source/ > +!/tests/ > -- > 2.31.1 >
On Mon, Apr 19, 2021 at 4:10 PM Michael Tremer <michael.tremer@ipfire.org> wrote: > What is /*/ for? Why would we ignore any directory that is created in the root directory. > > It feels like a bit much to me. As this is debian/.gitignore, then as a result all directories created in debian/ get ignored. From gitignore(5): "These patterns match relative to the location of the .gitignore file." The added exceptions to that are debian/patches/, debian/source/ and debian/tests/ as described in the commit message. This ensures that if a new package is added, it doesn't need to be manually added to the Gitignore. Similarly, if a package is removed, then it doesn't need to be removed from the Gitignore either. --Valters
diff --git a/debian/.gitignore b/debian/.gitignore index 0faf920..8190b92 100644 --- a/debian/.gitignore +++ b/debian/.gitignore @@ -2,9 +2,10 @@ /autoreconf.* /debhelper-build-stamp /files -/libloc/ -/libloc-dev/ -/libloc-perl/ -/tmp +/*/ *.debhelper +*.log *.substvars +!/patches/ +!/source/ +!/tests/