Re: [HACKERS] Add .gitignore files to CVS?

2010-01-14 Thread Chris Browne
bada...@gmail.com (Alex Hunsaker) writes: > On Fri, Jan 8, 2010 at 02:03, Magnus Hagander wrote: >> You can always create your own branch with just the .gitignore files >> and merge that into whatever you're working on :) > > The only thing annoying about that is if you generate diffs ala git > di

Re: [HACKERS] Add .gitignore files to CVS?

2010-01-12 Thread Kevin Grittner
I wrote: > git status | grep '^#[^ ]' | sed -e 's/#\t//' \ > -e '/^[^\/][^\/]*$/ s/^/\//' >> .gitignore I guess that part can be simplified to: git status | grep '^#[^ ]' | sed -e 's/#\t/\//' >> .gitignore -Kevin -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To mak

Re: [HACKERS] Add .gitignore files to CVS?

2010-01-12 Thread Kevin Grittner
Robert Haas wrote: > What I'm interested in is being able to run 'git status' on a tree > in which I've run a build without getting a lot of extra output, > and that will require ignoring all the build products. If you prefer to keep it all in one directory tree, something like the following w

Re: [HACKERS] Add .gitignore files to CVS?

2010-01-11 Thread Aidan Van Dyk
* Magnus Hagander [100109 13:05]: > On Sat, Jan 9, 2010 at 18:33, Aidan Van Dyk wrote: > > * Magnus Hagander [100109 12:03]: > > > >> If that's the only remaining obstacle, I'm willing to work up some > >> test scripts around that. But I'm not going to do that if it's going > >> to fall over on

Re: [HACKERS] Add .gitignore files to CVS?

2010-01-10 Thread Dimitri Fontaine
Hi, Another occasion to show ignorance, I couldn't resist! Tom Lane writes: > What you're > talking about would require a great deal more maintenance effort, and > I don't see the point compared to using a VPATH build. I've discovered VPATH builds pretty recently, in the context of packaging e

Re: [HACKERS] Add .gitignore files to CVS?

2010-01-09 Thread Greg Smith
Peter Eisentraut wrote: Probably someone to actually track the open items that are mentioned every time this discussion happens. http://wiki.postgresql.org/wiki/Switching_PostgreSQL_from_CVS_to_Git now has what I believe the state of the world to be in this area. -- Greg Smith2ndQuadr

Re: [HACKERS] Add .gitignore files to CVS?

2010-01-09 Thread Robert Haas
On Sat, Jan 9, 2010 at 6:20 PM, Tom Lane wrote: > Robert Haas writes: >> ... What I'm interested in is being >> able to run 'git status' on a tree in which I've run a build without >> getting a lot of extra output, and that will require ignoring all the >> build products. > > I'm fairly hesitant

Re: [HACKERS] Add .gitignore files to CVS?

2010-01-09 Thread Tom Lane
Robert Haas writes: > ... What I'm interested in is being > able to run 'git status' on a tree in which I've run a build without > getting a lot of extra output, and that will require ignoring all the > build products. I'm fairly hesitant to set up ignore files that list *all* the build products

Re: [HACKERS] Add .gitignore files to CVS?

2010-01-09 Thread Robert Haas
On Sat, Jan 9, 2010 at 5:53 PM, Peter Eisentraut wrote: > On lör, 2010-01-09 at 17:12 -0500, Robert Haas wrote: >> Oh.  Never mind.  That doesn't seem useful enough to be worth spending >> time on.  What I want is to ignore all of the build products, so that >> when I do 'git status' in my working

Re: [HACKERS] Add .gitignore files to CVS?

2010-01-09 Thread Peter Eisentraut
On lör, 2010-01-09 at 17:12 -0500, Robert Haas wrote: > Oh. Never mind. That doesn't seem useful enough to be worth spending > time on. What I want is to ignore all of the build products, so that > when I do 'git status' in my working tree, I only see the the files > I've actually added/changed.

Re: [HACKERS] Add .gitignore files to CVS?

2010-01-09 Thread Robert Haas
On Sat, Jan 9, 2010 at 5:44 PM, Tom Lane wrote: > Robert Haas writes: >> On Sat, Jan 9, 2010 at 5:18 PM, Andrew Dunstan wrote: >>> Robert Haas wrote: What I want is to ignore all of the build products > >>> Use a vpath build, and you'll keep those artifacts out of your source tree. > >> I s

Re: [HACKERS] Add .gitignore files to CVS?

2010-01-09 Thread Peter Eisentraut
On lör, 2010-01-09 at 17:19 -0500, Robert Haas wrote: > >> Oh. Never mind. That doesn't seem useful enough to be worth spending > >> time on. What I want is to ignore all of the build products, so that > >> when I do 'git status' in my working tree, I only see the the files > >> I've actually ad

Re: [HACKERS] Add .gitignore files to CVS?

2010-01-09 Thread Tom Lane
Robert Haas writes: > On Sat, Jan 9, 2010 at 5:18 PM, Andrew Dunstan wrote: >> Robert Haas wrote: >>> What I want is to ignore all of the build products >> Use a vpath build, and you'll keep those artifacts out of your source tree. > I suppose that's one answer, but of what use is it to ignore

Re: [HACKERS] Add .gitignore files to CVS?

2010-01-09 Thread Robert Haas
On Sat, Jan 9, 2010 at 5:18 PM, Andrew Dunstan wrote: > Robert Haas wrote: >> On Sat, Jan 9, 2010 at 12:00 PM, Tom Lane wrote: >>> Peter Eisentraut writes: On fre, 2010-01-08 at 12:04 -0300, Alvaro Herrera wrote: > Do .gitignore files have the same format as .cvsignore? The format

Re: [HACKERS] Add .gitignore files to CVS?

2010-01-09 Thread Andrew Dunstan
Robert Haas wrote: On Sat, Jan 9, 2010 at 12:00 PM, Tom Lane wrote: Peter Eisentraut writes: On fre, 2010-01-08 at 12:04 -0300, Alvaro Herrera wrote: Do .gitignore files have the same format as .cvsignore? The format is the same, but while cvsignore files currently

Re: [HACKERS] Add .gitignore files to CVS?

2010-01-09 Thread Robert Haas
On Sat, Jan 9, 2010 at 12:00 PM, Tom Lane wrote: > Peter Eisentraut writes: >> On fre, 2010-01-08 at 12:04 -0300, Alvaro Herrera wrote: >>> Do .gitignore files have the same format as .cvsignore? > >> The format is the same, but while cvsignore files currently list a few >> dozen files, the propo

Re: [HACKERS] Add .gitignore files to CVS?

2010-01-09 Thread Roger Leigh
On Sat, Jan 09, 2010 at 12:47:00PM +0100, Magnus Hagander wrote: > On Sat, Jan 9, 2010 at 05:54, Alvaro Herrera > wrote: > > Tom Lane escribió: > >> David Fetter writes: > >> > On Fri, Jan 08, 2010 at 10:35:24PM -0500, Tom Lane wrote: > >> >> Probably eventually we'll be on git and this will be

Re: [HACKERS] Add .gitignore files to CVS?

2010-01-09 Thread Tom Lane
Magnus Hagander writes: > On Sat, Jan 9, 2010 at 18:33, Aidan Van Dyk wrote: >> It's already been done.  It was not a lot of work (just processor time). >> It's even already been posted to -hackers, including what the >> differences were (i.e. which $Tags$ differed, and where, and where the >> CV

Re: [HACKERS] Add .gitignore files to CVS?

2010-01-09 Thread Magnus Hagander
On Sat, Jan 9, 2010 at 18:33, Aidan Van Dyk wrote: > * Magnus Hagander [100109 12:03]: > >> If that's the only remaining obstacle, I'm willing to work up some >> test scripts around that. But I'm not going to do that if it's going >> to fall over on something else as well, because it'll be a nont

Re: [HACKERS] Add .gitignore files to CVS?

2010-01-09 Thread Aidan Van Dyk
* Magnus Hagander [100109 12:03]: > If that's the only remaining obstacle, I'm willing to work up some > test scripts around that. But I'm not going to do that if it's going > to fall over on something else as well, because it'll be a nontrivial > amount of work to test ir properly :-) It's alre

Re: [HACKERS] Add .gitignore files to CVS?

2010-01-09 Thread Peter Eisentraut
On lör, 2010-01-09 at 12:00 -0500, Tom Lane wrote: > Peter Eisentraut writes: > > On fre, 2010-01-08 at 12:04 -0300, Alvaro Herrera wrote: > >> Do .gitignore files have the same format as .cvsignore? > > > The format is the same, but while cvsignore files currently list a few > > dozen files, the

Re: [HACKERS] Add .gitignore files to CVS?

2010-01-09 Thread Magnus Hagander
On Sat, Jan 9, 2010 at 17:32, Tom Lane wrote: > Magnus Hagander writes: >> If/when we are moving the main repository, we should use the first >> one. Yes, this will invalidate all current git clones out there, but >> that's a one-time cost. Will there be issues? Possibly. But we're >> *never* goi

Re: [HACKERS] Add .gitignore files to CVS?

2010-01-09 Thread Tom Lane
Peter Eisentraut writes: > On fre, 2010-01-08 at 12:04 -0300, Alvaro Herrera wrote: >> Do .gitignore files have the same format as .cvsignore? > The format is the same, but while cvsignore files currently list a few > dozen files, the proposed gitignore would list all files that are ever > build

Re: [HACKERS] Add .gitignore files to CVS?

2010-01-09 Thread Tom Lane
Magnus Hagander writes: > If/when we are moving the main repository, we should use the first > one. Yes, this will invalidate all current git clones out there, but > that's a one-time cost. Will there be issues? Possibly. But we're > *never* going to get something that's *guaranteed* 100% safe, no

Re: [HACKERS] Add .gitignore files to CVS?

2010-01-09 Thread David Fetter
On Sat, Jan 09, 2010 at 12:47:00PM +0100, Magnus Hagander wrote: > But we're *never* going to get something that's *guaranteed* 100% > safe, You can end the sentence right there. *Everything* has a strictly positive probability of catastrophic failure. > not when going from something like CVS...

Re: [HACKERS] Add .gitignore files to CVS?

2010-01-09 Thread Peter Eisentraut
On fre, 2010-01-08 at 20:03 -0800, David Fetter wrote: > On Fri, Jan 08, 2010 at 10:35:24PM -0500, Tom Lane wrote: > > Probably eventually we'll be on git and this will be moot, but that > > doesn't seem to be ready to happen. > > What still needs to happen on this? Clearly this would be a post-8

Re: [HACKERS] Add .gitignore files to CVS?

2010-01-09 Thread Peter Eisentraut
On fre, 2010-01-08 at 12:04 -0300, Alvaro Herrera wrote: > Do .gitignore files have the same format as .cvsignore? If that's the > case then it's simply a matter of a "find /source -name .cvsignore > -exec > cp {} .gitignore \;" or similar, isn't it? Doesn't sound like > something > anybody shoul

Re: [HACKERS] Add .gitignore files to CVS?

2010-01-09 Thread Magnus Hagander
On Sat, Jan 9, 2010 at 05:54, Alvaro Herrera wrote: > Tom Lane escribió: >> David Fetter writes: >> > On Fri, Jan 08, 2010 at 10:35:24PM -0500, Tom Lane wrote: >> >> Probably eventually we'll be on git and this will be moot, but that >> >> doesn't seem to be ready to happen. >> >> > What still ne

Re: [HACKERS] Add .gitignore files to CVS?

2010-01-08 Thread Alvaro Herrera
Tom Lane escribió: > David Fetter writes: > > On Fri, Jan 08, 2010 at 10:35:24PM -0500, Tom Lane wrote: > >> Probably eventually we'll be on git and this will be moot, but that > >> doesn't seem to be ready to happen. > > > What still needs to happen on this? Clearly this would be a post-8.5 > >

Re: [HACKERS] Add .gitignore files to CVS?

2010-01-08 Thread Tom Lane
David Fetter writes: > On Fri, Jan 08, 2010 at 10:35:24PM -0500, Tom Lane wrote: >> Probably eventually we'll be on git and this will be moot, but that >> doesn't seem to be ready to happen. > What still needs to happen on this? Clearly this would be a post-8.5 > (or whatever the new release num

Re: [HACKERS] Add .gitignore files to CVS?

2010-01-08 Thread David Fetter
On Fri, Jan 08, 2010 at 10:35:24PM -0500, Tom Lane wrote: > Probably eventually we'll be on git and this will be moot, but that > doesn't seem to be ready to happen. What still needs to happen on this? Clearly this would be a post-8.5 (or whatever the new release number is) thing, but apart from

Re: [HACKERS] Add .gitignore files to CVS?

2010-01-08 Thread Tom Lane
Robert Haas writes: > Tom's stated position was that the only way this was going to happen > is if it regularly annoyed someone with access to the core repository. > I am, and I do. Yeah. I don't see the harm in it if Robert (or some other git user) will contract to maintain them. I know that

Re: [HACKERS] Add .gitignore files to CVS?

2010-01-08 Thread Robert Haas
On Fri, Jan 8, 2010 at 9:21 PM, Euler Taveira de Oliveira wrote: > Robert Haas escreveu: >> I would be willing to maintain .gitignore files, under the agreement >> that if I should fail or cease to do so, and no one else wants to take >> over, then they all get removed.   Would that be acceptable?

Re: [HACKERS] Add .gitignore files to CVS?

2010-01-08 Thread Euler Taveira de Oliveira
Robert Haas escreveu: > I would be willing to maintain .gitignore files, under the agreement > that if I should fail or cease to do so, and no one else wants to take > over, then they all get removed. Would that be acceptable? > -1. I tend to agree with Tom and Peter. Why don't you use vpath bui

Re: [HACKERS] Add .gitignore files to CVS?

2010-01-08 Thread Robert Haas
On Thu, Jan 7, 2010 at 5:45 PM, Tom Lane wrote: > Peter Eisentraut writes: >> On tor, 2010-01-07 at 22:16 +, Tim Bunce wrote: >>> Is there any reason not to add .gitignore files into the repository? > >> I already find the .cvsignore files to be useless and an annoyance to >> keep up to date

Re: [HACKERS] Add .gitignore files to CVS?

2010-01-08 Thread Andres Freund
On Friday 08 January 2010 17:38:15 Alex Hunsaker wrote: > On Fri, Jan 8, 2010 at 02:03, Magnus Hagander wrote: > > You can always create your own branch with just the .gitignore files > > and merge that into whatever you're working on :) > > The only thing annoying about that is if you generate d

Re: [HACKERS] Add .gitignore files to CVS?

2010-01-08 Thread Alex Hunsaker
On Fri, Jan 8, 2010 at 02:03, Magnus Hagander wrote: > You can always create your own branch with just the .gitignore files > and merge that into whatever you're working on :) The only thing annoying about that is if you generate diffs ala git diff origin/master.. you get your .gitignore in it.

Re: [HACKERS] Add .gitignore files to CVS?

2010-01-08 Thread Alvaro Herrera
Magnus Hagander escribió: > On Fri, Jan 8, 2010 at 00:44, Alex Hunsaker wrote: > > On Thu, Jan 7, 2010 at 15:16, Tim Bunce wrote: > >> Is there any reason not to add .gitignore files into the repository? > >> They'll make no difference to those who don't use git, but be very > >> helpful to, and

Re: [HACKERS] Add .gitignore files to CVS?

2010-01-08 Thread Magnus Hagander
On Fri, Jan 8, 2010 at 00:44, Alex Hunsaker wrote: > On Thu, Jan 7, 2010 at 15:16, Tim Bunce wrote: >> Is there any reason not to add .gitignore files into the repository? >> They'll make no difference to those who don't use git, but be very >> helpful to, and maintained by, those who do. > > Sin

Re: [HACKERS] Add .gitignore files to CVS?

2010-01-08 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Jan 07, 2010 at 04:44:49PM -0700, Alex Hunsaker wrote: > On Thu, Jan 7, 2010 at 15:16, Tim Bunce wrote: > > Is there any reason not to add .gitignore files into the repository? > > They'll make no difference to those who don't use git, but be

Re: [HACKERS] Add .gitignore files to CVS?

2010-01-07 Thread Alex Hunsaker
On Thu, Jan 7, 2010 at 15:16, Tim Bunce wrote: > Is there any reason not to add .gitignore files into the repository? > They'll make no difference to those who don't use git, but be very > helpful to, and maintained by, those who do. Since it seems we don't want them in CVS, maybe just add it to

Re: [HACKERS] Add .gitignore files to CVS?

2010-01-07 Thread Tim Bunce
On Thu, Jan 07, 2010 at 05:45:08PM -0500, Tom Lane wrote: > Peter Eisentraut writes: > > On tor, 2010-01-07 at 22:16 +, Tim Bunce wrote: > >> Is there any reason not to add .gitignore files into the repository? > > > I already find the .cvsignore files to be useless and an annoyance to > > ke

Re: [HACKERS] Add .gitignore files to CVS?

2010-01-07 Thread Tom Lane
Peter Eisentraut writes: > On tor, 2010-01-07 at 22:16 +, Tim Bunce wrote: >> Is there any reason not to add .gitignore files into the repository? > I already find the .cvsignore files to be useless and an annoyance to > keep up to date (well, I basically ignore them and someone else cleans >

Re: [HACKERS] Add .gitignore files to CVS?

2010-01-07 Thread Andres Freund
On Thursday 07 January 2010 23:32:27 Peter Eisentraut wrote: > On tor, 2010-01-07 at 22:16 +, Tim Bunce wrote: > > I've a .git/info/exclude file I pulled from a link on the dev wiki. > > > > Some of the changes I'm making create new files that ought to be added > > to the excluded files. I can

Re: [HACKERS] Add .gitignore files to CVS?

2010-01-07 Thread Peter Eisentraut
On tor, 2010-01-07 at 22:16 +, Tim Bunce wrote: > I've a .git/info/exclude file I pulled from a link on the dev wiki. > > Some of the changes I'm making create new files that ought to be added > to the excluded files. I can easily add them to my .git/info/exclude > file but it's much more work

[HACKERS] Add .gitignore files to CVS?

2010-01-07 Thread Tim Bunce
I've a .git/info/exclude file I pulled from a link on the dev wiki. Some of the changes I'm making create new files that ought to be added to the excluded files. I can easily add them to my .git/info/exclude file but it's much more work for me and others to spread those changes. Is there any reas