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

Поиск
Список
Период
Сортировка
От Yasir
Тема Re: Ignore Visual Studio's Temp Files While Working with PG on Windows
Дата
Msg-id CAA9OW9ciW9rb-sekTS6jg6tJ9v7ryjQA=T3=2XDE6BY4=kDV2Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Ignore Visual Studio's Temp Files While Working with PG on Windows  (Josef Šimánek <josef.simanek@gmail.com>)
Список pgsql-hackers


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

Anyway if those are not files specific to your setup (like editor
ones), but files which every PG hacker on Windows will generate as
well (which is this case IMHO), it will make sense to add it into
project's gitignore.
 
.vs directory and temp files within it are created once you open any of the .sln, .vcproj or .vcxproj files (created with build command when PWD is postgres/src/tools/msvc) in visual studio. It's a common practice that developers use visual studio on codebase as it's mostly the default c/c++ files/projects editor. 
So, it would be a common case for most of the developers with Windows platform to add it in project's .gitignore. 


> Looking forward to the PG guru's guidance!
>
> Regards...
>
> Yasir Hussain
> Principal Software Engineer
> Bitnine Global Inc.
>

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Alexander Lakhin
Дата:
Сообщение: Re: Streaming read-ready sequential scan code
Следующее
От: Yasir
Дата:
Сообщение: Re: Ignore Visual Studio's Temp Files While Working with PG on Windows