Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s8Rhv-00Chg4-3Q for pgsql-hackers@arkaria.postgresql.org; Sat, 18 May 2024 21:35:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1s8Rhv-00AFPs-2t for pgsql-hackers@arkaria.postgresql.org; Sat, 18 May 2024 21:35:11 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s8Rhu-00AFPk-Nr for pgsql-hackers@lists.postgresql.org; Sat, 18 May 2024 21:35:10 +0000 Received: from mail-qt1-x82e.google.com ([2607:f8b0:4864:20::82e]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1s8Rhq-000w1L-Ot for pgsql-hackers@lists.postgresql.org; Sat, 18 May 2024 21:35:09 +0000 Received: by mail-qt1-x82e.google.com with SMTP id d75a77b69052e-43de92e234dso17038591cf.1 for ; Sat, 18 May 2024 14:35:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dunslane-net.20230601.gappssmtp.com; s=20230601; t=1716068106; x=1716672906; darn=lists.postgresql.org; h=in-reply-to:autocrypt:content-language:from:references:cc:to :subject:user-agent:mime-version:date:message-id:from:to:cc:subject :date:message-id:reply-to; bh=iiHAcvt2VpGIxa1TyxQkvDnVmuopZurUrpwLuOrblyA=; b=pDmzqqC56cwCYLtdmZ9xEUaG6x8X+zRmsdM3kG+sLJQWqh5/uuOo5xnY5kzeSjbzhi 7sKes54oYcMAoGy3FDaI9Eafkq+zpzgFw+KvJcNcLVoB6CnyuIyS9VypAEWOhiOsKQFc 9DSI/pQ2YC4LmbRbfugjlR13LIfsjH9d9bc5UjknssGyCNCVkyQ74DehKShGReg8oojv wSGOcJV5Q4v4MrEakVQpiIl3ngeR8hsB5YXsrUaBMo9oehk5LRMdIYMrzIiC4gVdUvks bzv9VkjINEsvV9v3l5Kq6eL62QmgY4yJEB1/UIQc3b+sfNnE7l0WkPaifapYlSUfrHG4 wpxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716068106; x=1716672906; h=in-reply-to:autocrypt:content-language:from:references:cc:to :subject:user-agent:mime-version:date:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=iiHAcvt2VpGIxa1TyxQkvDnVmuopZurUrpwLuOrblyA=; b=eau4z3qsooEOBmHyRKqudcYsdC0uEs2RkfH+/EYSXuNgnu/3eTaMcEzmqZfTRt+3QC yayEXRxMcJ4t8mYo2j8SCLOhk336vkllXPNR3JDRCMxGS+kT5W0ZY51W0BZwlBqF6e9q KLjWVPr0ANKHWlbcuDSOjmhweKpIKKZamnoHfrYjfFdpZj8hQXeEDzWnYFFyYwKGKijw sFG7p1H0SQE4dAGThq9a9NCxNr3x/M1EWBMaUtcmD9kYIEWZSntu5um14scNhHZiJl8C I4Hn6lM20vb3Xok1/2GXWExZ0M61k3K/3SD4+lX8rnz8sKjszmPXG+3iOAstWzl5A4nM lnAA== X-Forwarded-Encrypted: i=1; AJvYcCW4BBe+EuyfrNkRpIkEcmLymYkOo9S0Xb+4Cf54YHMrnkeFVkCmJK0cAT6f4ZY7Qh4tKdo/XqBniIBzKM0FUy7T1uTnlOjg1uY/KM1pKz90EsFS X-Gm-Message-State: AOJu0YxtHH7y4ZpfRCYvheIIECn+uomy+luz5Xcis6d3ZkDuAYpDbWwf vmCn/jw+Tw/7P2mVzWYTYLIIV9Kx1lvff19CnixoQGEFx7oL5xeAs68fYIdDMfI= X-Google-Smtp-Source: AGHT+IFbAU9AF6kRJ7c1U273+AZxcEKlSVjqNaNyRvaqesGoWITCtVoddU+/i4Ux3cpt9l/OZmlm2g== X-Received: by 2002:ac8:7d55:0:b0:43a:c0c7:a218 with SMTP id d75a77b69052e-43f7a2dae2amr51850331cf.33.1716068105634; Sat, 18 May 2024 14:35:05 -0700 (PDT) Received: from ?IPV6:2605:a601:9180:9800::2bb? ([2605:a601:9180:9800::2bb]) by smtp.googlemail.com with ESMTPSA id d75a77b69052e-43e15fe0f65sm87555081cf.37.2024.05.18.14.35.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 18 May 2024 14:35:05 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------Y7NDn606NNChnPGO0VsyvaND" Message-ID: Date: Sat, 18 May 2024 17:35:04 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Ignore Visual Studio's Temp Files While Working with PG on Windows To: Yasir Cc: =?UTF-8?B?Sm9zZWYgxaBpbcOhbmVr?= , PostgreSQL Hackers References: <2fcdd1cd-0d51-471a-b887-ed8cac2db70d@dunslane.net> From: Andrew Dunstan Content-Language: en-US Autocrypt: addr=andrew@dunslane.net; keydata= xsBNBE7KWFkBCAClridxur2AIc7eW2AR7izbfp3EnNefie2HbLF0izW5Ik5UjX2HBXBx4syI gY6b0ugohXrr274+baoAlvSbq6cAoQuEVrk5IZFzt20b1Xkx65FwGSEj526yiKLocqkJceSq Xr9xcA5SGY+FZv441chh5SU92v4q6z+6LPpoHOh97ptAVXZYNTtU0LevyvD5lja0TzbvJm6C eFXitJfnm1pLEr0DGJCR/iUOl/N62Kh4855zZC7NHIjQHPOvV5Stz/l5ilDhvGVk+xkXFPys SjZoUr1rXhYLpiyi5sR0X9FHXT0KnGuz1F5ERO7ZTLSSQ6fJwPj6gOk9K+vvoKvoeql5ABEB AAHNJEFuZHJldyBEdW5zdGFuIDxhbmRyZXdAZHVuc2xhbmUubmV0PsLAmwQTAQgARQIbAwIX gAIZAQUL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aVOqlIdbA6m+POIBCXZdHOFc0 WoDTgxHRzC1jgQNidyd6tKqcsVJs0dzF0oKTmFFmUAqTdJO12LBuNA1rlqrR3EtpYk8B/wtS 5dIMD7Q8hwQpL+4C6GNpb6ZKnPkLi47pDOLhz2qBrqN+rqUEsT3YnExYpzj5yOBi+FlmV1Hw 49QYe1sn2ZPs In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------Y7NDn606NNChnPGO0VsyvaND Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 2024-05-18 Sa 16:54, Yasir wrote: > > > On Sun, May 19, 2024 at 1:45 AM Andrew Dunstan > wrote: > > > On 2024-05-18 Sa 15:43, Yasir wrote: >> >> >> On Sat, May 18, 2024 at 7:27 PM Josef Šimánek >> wrote: >> >> pá 17. 5. 2024 v 8:09 odesílatel Yasir >> napsal: >> > >> > Hi Hackers, >> > >> > I have been playing with PG on the Windows platform >> recently. An annoying thing I faced is that a lot of Visual >> Studio's temp files kept appearing in git changed files. >> Therefore, I am submitting this very trivial patch to ignore >> these temp files. >> >> see >> https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files#configuring-ignored-files-for-all-repositories-on-your-computer >> for various strategies >> >> >> We can add it to "~/.config/git/ignore" as it will ignore >> globally on windows which we don't want. Also we don't have >> ".git/info/exclude" in PG project's so the best place left is >> projects's .gitignore. That's what was patched. > > > > eh? git creates .git/info/exclude in every git repository AFAIK. > And it's referred to here: > > > > Yes, git creates .git/info/exclude but point is, it is not in PG > maintained codebase repo. So, no point adding to it. > > BTW, Tom and Peter said it's not going to be added anyway! > > You've completely missed my point, which is that *you* should be adding it to that file, as an alternative to using a (locally) global gitignore file. I agree with Tom and Peter. cheers andrew -- Andrew Dunstan EDB:https://www.enterprisedb.com --------------Y7NDn606NNChnPGO0VsyvaND Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit


On 2024-05-18 Sa 16:54, Yasir wrote:


On Sun, May 19, 2024 at 1:45 AM Andrew Dunstan <andrew@dunslane.net> wrote:


On 2024-05-18 Sa 15:43, Yasir wrote:


On Sat, May 18, 2024 at 7:27 PM Josef Šimánek <josef.simanek@gmail.com> wrote:
pá 17. 5. 2024 v 8:09 odesílatel Yasir <yasir.hussain.shah@gmail.com> napsal:
>
> Hi Hackers,
>
> I have been playing with PG on the Windows platform recently. An annoying thing I faced is that a lot of Visual Studio's temp files kept appearing in git changed files. Therefore, I am submitting this very trivial patch to ignore these temp files.

see https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files#configuring-ignored-files-for-all-repositories-on-your-computer
for various strategies


We can add it to "~/.config/git/ignore" as it will ignore globally on windows which we don't want. Also we don't have ".git/info/exclude" in PG project's so the best place left is projects's .gitignore. That's what was patched. 
 



eh? git creates .git/info/exclude in every git repository AFAIK. And it's referred to here: <https://git-scm.com/docs/gitignore>


Yes, git creates .git/info/exclude but point is, it is not in PG maintained codebase repo. So, no point adding to it. 

BTW, Tom and Peter said it's not going to be added anyway!
 



You've completely missed my point, which is that *you* should be adding it to that file, as an alternative to using a (locally) global gitignore file.

I agree with Tom and Peter.


cheers


andrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com
--------------Y7NDn606NNChnPGO0VsyvaND--