Re: Ignore Visual Studio's Temp Files While Working with PG on Windows

From: Josef Šimánek <josef(dot)simanek(at)gmail(dot)com>
To: Yasir <yasir(dot)hussain(dot)shah(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Ignore Visual Studio's Temp Files While Working with PG on Windows
Date: 2024-05-18 21:31:07
Message-ID: CAFp7QwonNFfA8GLA0=zSJLePX5k46taHNmsT_Mozb6wD3+2zsA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

so 18. 5. 2024 v 23:29 odesílatel Yasir <yasir(dot)hussain(dot)shah(at)gmail(dot)com> napsal:
>
>
>
> On Sun, May 19, 2024 at 2:23 AM Josef Šimánek <josef(dot)simanek(at)gmail(dot)com> wrote:
>>
>> so 18. 5. 2024 v 23:16 odesílatel Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> napsal:
>> >
>> > =?UTF-8?B?Sm9zZWYgxaBpbcOhbmVr?= <josef(dot)simanek(at)gmail(dot)com> writes:
>> > > But this is different. If I understand it well, just by following
>> > > https://www.postgresql.org/docs/16/install-windows-full.html you'll
>> > > get those files no matter what is your specific environment (or
>> > > specific set of tools).
>> >
>> > Hm? Visual Studio seems like quite a specific tool from here.
>>
>> I initially thought the .vs folder is created just by compiling
>> PostgreSQL using build.bat (like without opening Visual Studio at
>> all). But I'm not 100% sure, I'll take a look and report back.
>
>
> .vs folder is not created just by compiling PG. It is created if you open any of .sln, .vcproj or .vcxproj files.
> I have verified it.

Yes, I can confirm. Just running build.bat doesn't create .vs. I'm
sorry for confusion and I do agree ignoring ".vs" directory is a local
environment thing and doesn't belong to Postgres .gitignore.

>>
>>
>> > I did some googling around the question of project .gitignore
>> > files ignoring .vs/, and was amused to come across this:
>> >
>> > https://github.com/github/gitignore/blob/main/VisualStudio.gitignore
>> >
>> > which seems like a mighty fine example of where we *don't*
>> > want to go.
>>
>> That's clearly a nightmare to maintain. But in this case it should be
>> all hidden within one .vs folder.
>>
>> > regards, tom lane

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2024-05-18 21:35:04 Re: Ignore Visual Studio's Temp Files While Working with PG on Windows
Previous Message Yasir 2024-05-18 21:29:28 Re: Ignore Visual Studio's Temp Files While Working with PG on Windows

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2024-05-18 21:31:49 Re: Why is citext/regress failing on hamerkop?
Previous Message Yasir 2024-05-18 21:29:28 Re: Ignore Visual Studio's Temp Files While Working with PG on Windows