From mboxrd@z Thu Jan 1 00:00:00 1970 From: Valters Jansons To: 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> In-Reply-To: <20210416130612.15959-1-valter.jansons@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4932958352200104227==" List-Id: --===============4932958352200104227== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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/REA= DME.package-tests.rst Signed-off-by: Valters Jansons --- 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 +/*/ *.debhelper +*.log *.substvars +!/patches/ +!/source/ +!/tests/ --=20 2.31.1 --===============4932958352200104227==--