.gitignore additions

Started by Craig Ringeralmost 13 years ago10 messages
#1Craig 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

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#2David Fetter
david@fetter.org
In reply to: Craig Ringer (#1)
Re: .gitignore additions

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 <david@fetter.org> 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

#3Andrew Dunstan
andrew@dunslane.net
In reply to: Craig Ringer (#1)
Re: .gitignore additions

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

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#4Andrew Dunstan
andrew@dunslane.net
In reply to: Andrew Dunstan (#3)
Re: .gitignore additions

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

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#5Craig Ringer
craig@2ndQuadrant.com
In reply to: Andrew Dunstan (#4)
Re: .gitignore additions

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

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#6Phil Sorber
phil@omniti.com
In reply to: David Fetter (#2)
Re: .gitignore additions

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!

Cheers,
David.
--
David Fetter <david@fetter.org> 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

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#7Andrew Dunstan
andrew@dunslane.net
In reply to: Phil Sorber (#6)
Re: .gitignore additions

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.

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

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#8Phil Sorber
phil@omniti.com
In reply to: Andrew Dunstan (#7)
Re: .gitignore additions

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.

Show quoted text

cheers

andrew

#9Dimitri Fontaine
dimitri@2ndQuadrant.fr
In reply to: Andrew Dunstan (#7)
Re: .gitignore additions

Andrew Dunstan <andrew@dunslane.net> 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

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#10David Fetter
david@fetter.org
In reply to: Dimitri Fontaine (#9)
Re: .gitignore additions

On Fri, Jan 25, 2013 at 01:08:09AM +0100, Dimitri Fontaine wrote:

Andrew Dunstan <andrew@dunslane.net> 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 <david@fetter.org> 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