Thread: .gitignore additions
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
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
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
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
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
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
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’seditor 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
<p>On Jan 23, 2013 8:59 AM, "Andrew Dunstan" <<a href="mailto:andrew@dunslane.net">andrew@dunslane.net</a>> wrote:<br/> ><br /> ><br /> > On 01/23/2013 08:47 AM, Phil Sorber wrote:<br /> >><br /> >> On Wed, Jan23, 2013 at 1:32 AM, David Fetter <<a href="mailto:david@fetter.org">david@fetter.org</a>> wrote:<br /> >>><br/> >>> On Wed, Jan 23, 2013 at 01:05:12PM +0800, Craig Ringer wrote:<br /> >>>><br />>>>> Hi all<br /> >>>><br /> >>>> Would a committer be willing to pop some entriesin .gitignore for<br /> >>>> Windows native build outputs?<br /> >>>><br /> >>>>*.sln<br /> >>>> *.vcproj<br /> >>>> *.vcxproj<br /> >>>><br /> >>>>It'd make life easier when testing Windows changes.<br /> >>><br /> >>> While they're atit, it'd be nice to have tags from ctags (via our<br /> >>> tools or otherwise) get ignored globally, along withcscope.out , as<br /> >>> follows:<br /> >>><br /> >>> tags<br /> >>> /cscope.out<br/> >>><br /> >> +1 on cscope.out!<br /> >><br /> ><br /> > There doesn't seem anythingpostgres-specific about these. Pretty much everything we list is a byproduct of a standard build, not some othertool. "man gitignore" says<br /> ><br /> > Patterns which a user wants git to ignore in all situations (e.g.,<br/> > backup or temporary files generated by the user’s editor of choice)<br /> > generally go into afile specified by core.excludesfile in the<br /> > user’s ~/.gitconfig.<br /> ><p>That's a good point. Will dothat instead.<p>><br /> > I would think tags files and cscope.out probably come into that category, although I don'thave terribly strong feelings about it.<br /> ><br /> > cheers<br /> ><br /> > andrew<br /> ><br />
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
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