.gitignore additions

Поиск
Список
Период
Сортировка
Искать

.gitignore additions

От:
Craig Ringer <craig@2ndQuadrant.com>
Дата:
Hi all

Would a committer be willing to pop some entries in .gitignore for
Windows native build outputs?

*.sln
*.vcproj
*.vcxproj

It'd make life easier when testing Windows changes.


-- Craig Ringer                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services



Re: .gitignore additions

От:
David Fetter <david@fetter.org>
Дата:
On Wed, Jan 23, 2013 at 01:05:12PM +0800, Craig Ringer wrote:
> Hi all
> 
> Would a committer be willing to pop some entries in .gitignore for
> Windows native build outputs?
> 
> *.sln
> *.vcproj
> *.vcxproj
> 
> It'd make life easier when testing Windows changes.

While they're at it, it'd be nice to have tags from ctags (via our
tools or otherwise) get ignored globally, along with cscope.out , as
follows:

tags
/cscope.out

Cheers,
David.
-- 
David Fetter  http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate


Re: .gitignore additions

От:
Andrew Dunstan <andrew@dunslane.net>
Дата:

On 01/23/2013 12:05 AM, Craig Ringer wrote:
> Hi all
>
> Would a committer be willing to pop some entries in .gitignore for
> Windows native build outputs?
>
> *.sln

We already exclude pgsql.sln - what others are built? None that I can see.

> *.vcproj
> *.vcxproj

These all go in the top dir, no? So I think these could be anchored 
patterns.

cheers

andrew


Re: .gitignore additions

От:
Andrew Dunstan <andrew@dunslane.net>
Дата:

On 01/23/2013 03:15 AM, Andrew Dunstan wrote:
>
> On 01/23/2013 12:05 AM, Craig Ringer wrote:
>> Hi all
>>
>> Would a committer be willing to pop some entries in .gitignore for
>> Windows native build outputs?
>>
>> *.sln
>
> We already exclude pgsql.sln - what others are built? None that I can 
> see.
>
>> *.vcproj
>> *.vcxproj

Actually, I see we already have the first pattern. So I've added the second.

cheers

andrew




Re: .gitignore additions

От:
Craig Ringer <craig@2ndQuadrant.com>
Дата:
On 01/23/2013 04:47 PM, Andrew Dunstan wrote:

>>
>>> *.vcproj
>>> *.vcxproj
>
> Actually, I see we already have the first pattern. So I've added the
> second.
>
Great, thanks.

Anchoring them is probably slightly safer, but I can't really imagine
that ever being an issue for a pattern like *.vcxproj.

-- Craig Ringer                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services



Re: .gitignore additions

От:
Phil Sorber <phil@omniti.com>
Дата:
On Wed, Jan 23, 2013 at 1:32 AM, David Fetter  wrote:
> On Wed, Jan 23, 2013 at 01:05:12PM +0800, Craig Ringer wrote:
>> Hi all
>>
>> Would a committer be willing to pop some entries in .gitignore for
>> Windows native build outputs?
>>
>> *.sln
>> *.vcproj
>> *.vcxproj
>>
>> It'd make life easier when testing Windows changes.
>
> While they're at it, it'd be nice to have tags from ctags (via our
> tools or otherwise) get ignored globally, along with cscope.out , as
> follows:
>
> tags
> /cscope.out
>

+1 on cscope.out!

> Cheers,
> David.
> --
> David Fetter  http://fetter.org/
> Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
> Skype: davidfetter      XMPP: david.fetter@gmail.com
> iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics
>
> Remember to vote!
> Consider donating to Postgres: http://www.postgresql.org/about/donate
>
>
> --
> Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers


Re: .gitignore additions

От:
Andrew Dunstan <andrew@dunslane.net>
Дата:

On 01/23/2013 08:47 AM, Phil Sorber wrote:
> On Wed, Jan 23, 2013 at 1:32 AM, David Fetter  wrote:
>> On Wed, Jan 23, 2013 at 01:05:12PM +0800, Craig Ringer wrote:
>>> Hi all
>>>
>>> Would a committer be willing to pop some entries in .gitignore for
>>> Windows native build outputs?
>>>
>>> *.sln
>>> *.vcproj
>>> *.vcxproj
>>>
>>> It'd make life easier when testing Windows changes.
>> While they're at it, it'd be nice to have tags from ctags (via our
>> tools or otherwise) get ignored globally, along with cscope.out , as
>> follows:
>>
>> tags
>> /cscope.out
>>
> +1 on cscope.out!
>

There doesn't seem anything postgres-specific about these. Pretty much 
everything we list is a byproduct of a standard build, not some other 
tool. "man gitignore" says
   Patterns which a user wants git to ignore in all situations (e.g.,   backup or temporary files generated by the user’s editor of choice)   generally go into a file specified by core.excludesfile in the   user’s ~/.gitconfig.


I would think tags files and cscope.out probably come into that 
category, although I don't have terribly strong feelings about it.

cheers

andrew



Re: .gitignore additions

От:
Phil Sorber <phil@omniti.com>
Дата:

On Jan 23, 2013 8:59 AM, "Andrew Dunstan" <andrew@dunslane.net> wrote:
>
>
> On 01/23/2013 08:47 AM, Phil Sorber wrote:
>>
>> On Wed, Jan 23, 2013 at 1:32 AM, David Fetter <david@fetter.org> wrote:
>>>
>>> On Wed, Jan 23, 2013 at 01:05:12PM +0800, Craig Ringer wrote:
>>>>
>>>> Hi all
>>>>
>>>> Would a committer be willing to pop some entries in .gitignore for
>>>> Windows native build outputs?
>>>>
>>>> *.sln
>>>> *.vcproj
>>>> *.vcxproj
>>>>
>>>> It'd make life easier when testing Windows changes.
>>>
>>> While they're at it, it'd be nice to have tags from ctags (via our
>>> tools or otherwise) get ignored globally, along with cscope.out , as
>>> follows:
>>>
>>> tags
>>> /cscope.out
>>>
>> +1 on cscope.out!
>>
>
> There doesn't seem anything postgres-specific about these. Pretty much everything we list is a byproduct of a standard build, not some other tool. "man gitignore" says
>
>    Patterns which a user wants git to ignore in all situations (e.g.,
>    backup or temporary files generated by the user’s editor of choice)
>    generally go into a file specified by core.excludesfile in the
>    user’s ~/.gitconfig.
>

That's a good point. Will do that instead.

>
> I would think tags files and cscope.out probably come into that category, although I don't have terribly strong feelings about it.
>
> cheers
>
> andrew
>

Re: .gitignore additions

От:
Dimitri Fontaine <dimitri@2ndQuadrant.fr>
Дата:
Andrew Dunstan  writes:
>>> tags
>>> /cscope.out
>>>
>> +1 on cscope.out!
>
> There doesn't seem anything postgres-specific about these. Pretty much
> everything we list is a byproduct of a standard build, not some other tool.
> "man gitignore" says

You can use .git/info/exclude for a personal per project setup, too.

Regards,
-- 
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support


Re: .gitignore additions

От:
David Fetter <david@fetter.org>
Дата:
On Fri, Jan 25, 2013 at 01:08:09AM +0100, Dimitri Fontaine wrote:
> Andrew Dunstan  writes:
> >>> tags
> >>> /cscope.out
> >>>
> >> +1 on cscope.out!
> >
> > There doesn't seem anything postgres-specific about these. Pretty much
> > everything we list is a byproduct of a standard build, not some other tool.
> > "man gitignore" says
> 
> You can use .git/info/exclude for a personal per project setup, too.

Added to http://wiki.postgresql.org/wiki/Working_with_Git

Cheers,
David.
-- 
David Fetter  http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate


FAQ